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", ENT_COMPAT, "");

--Wez.


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to