From: Andi Gutmans Date: Fri, 12 Aug 2005 05:30:02 +0000 (+0000) Subject: - Add unicode INI settings X-Git-Tag: PRE_NEW_OCI8_EXTENSION~325 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2233736cf624646c876728b1e0721638dd25a902;p=php - Add unicode INI settings --- diff --git a/php.ini-dist b/php.ini-dist index 596d736af2..3c328cf85f 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -435,6 +435,14 @@ default_mimetype = "text/html" ; Always populate the $HTTP_RAW_POST_DATA variable. ;always_populate_raw_post_data = On +; Unicode settings +unicode_semantics = off +unicode.runtime_encoding = iso-8859-1 +unicode.script_encoding = utf-8 +unicode.output_encoding = utf-8 +unicode.from_error_mode = U_INVALID_SUBSTITUTE +unicode.from_error_subst_char = 3f + ;;;;;;;;;;;;;;;;;;;;;;;;; ; Paths and Directories ; diff --git a/php.ini-recommended b/php.ini-recommended index 5fdf41790b..b0a33eacd9 100644 --- a/php.ini-recommended +++ b/php.ini-recommended @@ -493,6 +493,13 @@ default_mimetype = "text/html" ; Always populate the $HTTP_RAW_POST_DATA variable. ;always_populate_raw_post_data = On +; Unicode settings +unicode_semantics = off +unicode.runtime_encoding = iso-8859-1 +unicode.script_encoding = utf-8 +unicode.output_encoding = utf-8 +unicode.from_error_mode = U_INVALID_SUBSTITUTE +unicode.from_error_subst_char = 3f ;;;;;;;;;;;;;;;;;;;;;;;;; ; Paths and Directories ;