John Delacour wrote:
At 12:31 am +0800 3/12/04, He Zhiqiang wrote:
Now i encountered another problem, there are a few files contains not
only one charset but also two or more, for example, file1 contains
japanese and chinese, if i use open() to load the data into memory,
ord and length etc.. c
Quoth [EMAIL PROTECTED] (John Delacour):
> At 12:31 am +0800 3/12/04, He Zhiqiang wrote:
>
> >Now i encountered another problem, there are a few files contains
> >not only one charset but also two or more, for example, file1
> >contains japanese and chinese, if i use open() to load the data
Quoth [EMAIL PROTECTED] (He Zhiqiang):
>
> I've a problem to convert a unicode character into it's decimal or
> Hexadecimal value. The following URL:
> http://code.cside.com/3rdpage/us/unicode/converter.html
> can easily convert via Javascript function escape(), but i wonder that is
> there s
At 12:31 am +0800 3/12/04, He Zhiqiang wrote:
Now i encountered another problem, there are a few files contains
not only one charset but also two or more, for example, file1
contains japanese and chinese, if i use open() to load the data
into memory, ord and length etc.. can't correctly work!
HI all:
Thanks masanori's reply and sample code! Before i saw your emai, i did the
job and it's indeed so easy. The only trick is to say "use utf8" and then
ord and length etc. can correctly handle multibytes.
Now i encountered another problem, there are a few files contains not only
one ch
"He Zhiqiang" <[EMAIL PROTECTED]> writes:
> Hi list: I've a problem to convert a unicode character into it's
> decimal or Hexadecimal value. The following URL:
> http://code.cside.com/3rdpage/us/unicode/converter.html
> can easily convert via Javascript function escape(), but i wonder
> that is t
He Zhiqiang wrote:
> can easily convert via Javascript function escape(), but i wonder that
> is there some method or function
> or modules can do the same job?? If i can do it, then in one html page,
> i can display ont only chinese, but
> also japanese, korea etc... This is something like HTML
Hi list:
I've a problem to convert a unicode character into it's decimal or
Hexadecimal value. The following URL:
http://code.cside.com/3rdpage/us/unicode/converter.html
can easily convert via Javascript function escape(), but i wonder that is
there some method or function
or modules can do the