Skip to content

Commit 833dcf3

Browse files
committed
mbstring use UTF-8
1 parent b4d078f commit 833dcf3

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

php.ini-development

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1725,24 +1725,24 @@ mssql.secure_connection = Off
17251725
; Some encoding cannot work as internal encoding.
17261726
; (e.g. SJIS, BIG5, ISO-2022-*)
17271727
; http://php.net/mbstring.internal-encoding
1728-
;mbstring.internal_encoding = EUC-JP
1728+
;mbstring.internal_encoding = UTF-8
17291729

17301730
; http input encoding.
17311731
; http://php.net/mbstring.http-input
1732-
;mbstring.http_input = auto
1732+
;mbstring.http_input = UTF-8
17331733

17341734
; http output encoding. mb_output_handler must be
17351735
; registered as output buffer to function
17361736
; http://php.net/mbstring.http-output
1737-
;mbstring.http_output = SJIS
1737+
;mbstring.http_output = pass
17381738

17391739
; enable automatic encoding translation according to
17401740
; mbstring.internal_encoding setting. Input chars are
17411741
; converted to internal encoding by setting this to On.
17421742
; Note: Do _not_ use automatic encoding translation for
17431743
; portable libs/applications.
17441744
; http://php.net/mbstring.encoding-translation
1745-
;mbstring.encoding_translation = Off
1745+
;mbstring.encoding_translation = On
17461746

17471747
; automatic encoding detection order.
17481748
; auto means
@@ -1752,7 +1752,7 @@ mssql.secure_connection = Off
17521752
; substitute_character used when character cannot be converted
17531753
; one from another
17541754
; http://php.net/mbstring.substitute-character
1755-
;mbstring.substitute_character = none;
1755+
;mbstring.substitute_character = "?"
17561756

17571757
; overload(replace) single byte functions by mbstring functions.
17581758
; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),

php.ini-production

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1725,24 +1725,24 @@ mssql.secure_connection = Off
17251725
; Some encoding cannot work as internal encoding.
17261726
; (e.g. SJIS, BIG5, ISO-2022-*)
17271727
; http://php.net/mbstring.internal-encoding
1728-
;mbstring.internal_encoding = EUC-JP
1728+
;mbstring.internal_encoding = UTF-8
17291729

17301730
; http input encoding.
17311731
; http://php.net/mbstring.http-input
1732-
;mbstring.http_input = auto
1732+
;mbstring.http_input = UTF-8
17331733

17341734
; http output encoding. mb_output_handler must be
17351735
; registered as output buffer to function
17361736
; http://php.net/mbstring.http-output
1737-
;mbstring.http_output = SJIS
1737+
;mbstring.http_output = pass
17381738

17391739
; enable automatic encoding translation according to
17401740
; mbstring.internal_encoding setting. Input chars are
17411741
; converted to internal encoding by setting this to On.
17421742
; Note: Do _not_ use automatic encoding translation for
17431743
; portable libs/applications.
17441744
; http://php.net/mbstring.encoding-translation
1745-
;mbstring.encoding_translation = Off
1745+
;mbstring.encoding_translation = On
17461746

17471747
; automatic encoding detection order.
17481748
; auto means
@@ -1752,7 +1752,7 @@ mssql.secure_connection = Off
17521752
; substitute_character used when character cannot be converted
17531753
; one from another
17541754
; http://php.net/mbstring.substitute-character
1755-
;mbstring.substitute_character = none;
1755+
;mbstring.substitute_character = "?"
17561756

17571757
; overload(replace) single byte functions by mbstring functions.
17581758
; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),

0 commit comments

Comments
 (0)