[PHP-DEV] (#9392) Re: htmlspecial chars htmlentities do not handle double byte charactersets

2001-08-21 Thread Wez Furlong
Alan, I've simplified your patch, but have not committed it yet, because I cannot test it, so I would be grateful if you could test it. We need to use the the charset name, not the locale name; nl_langinfo(CODESET) returns it, so please let me know the results of the following php script

Re: [PHP-DEV] (#9392) Re: htmlspecial chars htmlentities do not handle double byte charactersets

2001-08-21 Thread Wez Furlong
On 21/08/01, Wez Furlong [EMAIL PROTECTED] wrote: If you have nl_langinfo on your system, this php code should work with the chinese characters: ?php setlocale(LC_ALL,zh_TW); echo htmlentities(chinese text, ENT_COMPAT, null); ? Actually, I think I meant: echo htmlentities(chinese text,