[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [Qref-dev]qref.sf.net Simple Chinese add



Faris Xiao <atzlinux@gmail.com> schrieb am 19.07.05 12:30:32:
> 
> Ming Hua wrote:
> 
> In the present,the index.php file just only get the firse two alphabet
> of the lang.
> The zh_CN and zh_TW get the same "zh" .
> So,the file index.php need to  more modified to distinguish them.

You're right.
 
> Please update the http://qref.sf.net again.

Done.
 
> >I think the English page is broken now.  The English page uses
> >iso-8859-1 encoding, and all the Chinese charactors are displayed as
> >garbage (I believe they are GB encoding).  Both Japanese and Russkij
> >(Russian?) uses HTML entities like &#26085; so I suppose Chinese should
> >use similar things.
> >  
> >
> I don't familiar with the &#26085; too,I don't use html and php for a
> long time.
> 
> >I know nothing about php or HTML entities though, so I probably can't
> >fix this myself.

I'm not sure but a hex dump (od -x) of a utf-16 encoded file should output the
entities (or at least the numbers). You can test it in HTML or you can use the
GNOME gucharmap program for this.

Jens
_________________________________________________________________________
Mit der Gruppen-SMS von WEB.DE FreeMail können Sie eine SMS an alle 
Freunde gleichzeitig schicken: http://freemail.web.de/features/?mc=021179





Reply to: