Solved

How do I change the default encoding to utf8MB4 for PHP server running Cpanel

Posted on 2016-08-18
5
73 Views
Last Modified: 2016-08-18
How and where do I change the default encoding to utf8MB4 for PHP server running Cpanel?
0
Comment
Question by:lawrence_dev
  • 2
  • 2
5 Comments
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 250 total points
ID: 41761609
I don't believe you can.  The only place I have seen that is in newer versions of MySQL.  Here is a bunch of info about the problems:  https://www.toptal.com/php/a-utf-8-primer-for-php-and-mysql
0
 
LVL 108

Assisted Solution

by:Ray Paseur
Ray Paseur earned 250 total points
ID: 41761622
utf8mb4 is a designation associated with MySQL.  My research yielded some information about this issue, which is encapsulated here.  I apologize in advance for the quality of this article in the E-E site.  E-E has had some problems getting this right.  You might want to use the links to the iconoun  site instead.
https://www.experts-exchange.com/articles/11880/Unicode-and-Character-Collisions.html

TL;DR: There are lots of things  to consider when you make the inevitable move from single-byte encoding to UTF-8.
0
 

Author Comment

by:lawrence_dev
ID: 41761675
Issue not solved, but I will award points
0
 

Author Comment

by:lawrence_dev
ID: 41761680
Thanks
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 41761690
Then what is the actual issue?
0

Featured Post

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Creating and Managing Databases with phpMyAdmin in cPanel.
These days socially coordinated efforts have turned into a critical requirement for enterprises.
The viewer will learn how to dynamically set the form action using jQuery.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now