Created
November 5, 2014 22:12
-
-
Save woliveiras/0f9a9638fa92269fe119 to your computer and use it in GitHub Desktop.
Charset UTF-8 PHP/MySQL/Apache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
php.ini contents | |
default_charset = "utf-8" | |
my.cnf contents | |
[client] | |
default-character-set=utf8 | |
[mysqld] | |
character-set-server=utf8 | |
default-character-set=utf8 | |
default-collation=utf8_unicode_ci | |
character-set-client = utf8 | |
httpd.conf contents | |
AddDefaultCharset UTF-8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment