As Alan and I mentioned in previous messages, for multi-byte character set,
&(xxx); is not quite equal to <? echo xxx;>, which means Chinese is properly
displayed using the later one but not with &(xxx);
Also, using htmlentities(string) causes the international chars not properly
stored and displayed, but using htmlspecialchars(string) is OK. see PHP
document:
http://www.php.net/manual/function.htmlentities.php for htmlentities:
" Note, that this function currently only escapes ISO-8859-1 (or
ISO-latin-1) charset.
Currently, if you don't know what you are really doing, you should try to
avoid to use this function.
You *cannot* rely on that the input an user sends you from his browser is
ISO-latin-1.
....
So it is *not quite correct* to use this function as a superior replacement
for
things, where HTMLSpecialChars(); is enough, cause you assume, that every
instance uses ISO-latin-1. "
hopes this helps. Thanks.
Jian
----- Original Message -----
From: "David Guerizec" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 29, 2000 9:15 PM
Subject: Re: [midgard] Asgard: What do you think ?
> > Just curious, does the new version support character sets such as
Chinese
> > internally?
>
> I'm sorry, but I don't know chinese ;)
>
> > Current admin site using &(content); to display international text has
> > serious problem.
>
> What kind of problem ? Is it related to the &(xxx); syntax ?
>
> --
> Best Regards,
>
> David Guerizec - Open Source Developer @ AurorA R&D
>
> The Boulder Pledge : "Under no circumstances will I ever purchase anything
> offered to me as the result of an unsolicited e-mail message. Nor will I
> forward chain letters, petitions, mass mailings, or virus warnings to
> large numbers of others. This is my contribution to the survival of the
> online community."
>
>
> --
> This is The Midgard Project's mailing list. For more information,
> please visit the project's web site at http://www.midgard-project.org
>
> To unsubscribe the list, send an empty email message to address
> [EMAIL PROTECTED]
>
>
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]