Re: default charset confusion
| From: | Laruence | Date: | Mon, 12 Mar 2012 12:48:22 +0000 |
| Subject: | Re: default charset confusion | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-58872@lists.php.net to get a copy of this message | ||
On Mon, Mar 12, 2012 at 6:21 PM, Yasuo Ohgaki <yohgaki@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
> yohgaki@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/