Solved

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

Posted on 2016-08-18
5
61 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 82

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 82

Expert Comment

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

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

As a database administrator, you may need to audit your table(s) to determine whether the data types are optimal for your real-world data needs.  This Article is intended to be a resource for such a task. Preface The other day, I was involved …
In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

744 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

11 Experts available now in Live!

Get 1:1 Help Now