Re: default charset confusion

From: Date: Mon, 12 Mar 2012 10:21:20 +0000
Subject: Re: default charset confusion
References: 1 2 3 4 5 6  Groups: php.internals 
Request: Send a blank email to [email protected] to get a copy of this message
Hi,

I think motivation of

       /* Default is now UTF-8 */
       if (charset_hint == NULL)
               return cs_utf_8;

is for better performance and I think it's good for better performance.
Alternative of my suggestion is introduce new php.ini entry as Rusmus
mentioned.

The name may be "default_html_escape_encoding"?

We should document this behavior very well, since it affects all of
non UTF-8 web sites.

Regards,

--
Yasuo Ohgaki
[email protected]


Thread (39 messages)

« previous php.internals (#58866) next »