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:
> setlocale(LC_ALL,"zh_TW");
> echo htmlentities("chinese text", ENT_COMPAT, null);
> ?>
Actually, I think I meant:
echo htmlentities("chinese
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 (assum