Last active
August 29, 2015 14:08
-
-
Save carlaizumibamford/7d24f43a02029a0f9e56 to your computer and use it in GitHub Desktop.
How to change the default charset to UTF-8 on XAMMP (PHP)
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
1. Open "php.ini" in "C:\xampp\php\" directory. | |
2. Enable the following codes by removing ";". | |
;mbstring.language = Japanese | |
;mbstring.internal_encoding = EUC-JP | |
;mbstring.http_input = auto | |
;mbstring.http_output = SJIS | |
;mbstring.encoding_translation = Off | |
;mbstring.detect_order = auto | |
;mbstring.substitute_character = none | |
;mbstring.func_overload = 0 | |
3. Change the following setting. | |
mbstring.internal_encoding = UTF-8 | |
mbstring.http_output = UTF-8 | |
mbstring.encoding_translation = On |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment