On Mon, Mar 12, 2012 at 6:21 PM, Yasuo Ohgaki <yohg...@ohgaki.net> wrote: > 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"? Hi: in consideration of succinctness, I think run_time_encoding is better.
and we should also separate the determine_output_charset and determine_run_time_charset(there is only one determin_charset now) thanks > > We should document this behavior very well, since it affects all of > non UTF-8 web sites. > > Regards, > > -- > Yasuo Ohgaki > yohg...@ohgaki.net > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > -- Laruence Xinchen Hui http://www.laruence.com/ -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php