Re: [xml] Character Encoding?

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Wed Nov 15 2000 - 03:38:22 EST


On Wed, Nov 15, 2000 at 03:59:31PM +0800, JohnnyXia@acersoftech.com.cn wrote:
>
>
>
> Hi all,
>
> I am new this mail list, and I have just downloaded the library and read
> some documents
> and codes of it.
>
> Due to my mothertone is Chinese, I care very much about if the lib supports
> gb encoding.
> I peruse the file encoding.c and encoding.h . It seems that gb is currently
> not supported.
> BTW, the source codes I owns is 2.1.1 version.

  Hi Johny,

 first it would be good if you could upgrade to 2.2.8 or something recent.
 second libxml doesn't handle complex encoding directly but uses the
iconv library for this. Iconv is installed by default on recent linux
installations and will compile on other platforms.
  http://clisp.cons.org/~haible/packages-libiconv.html
  ftp://ftp.ilog.fr/pub/Users/haible/gnu/

 third it seems iconv actually support the following encodings:
   GB, GB2312, GB_1988-80

 There is an on-line doc (and also in the recent distributions) about
libxml encoding support:
  http://xmlsoft.org/encoding.html

   I hope this helps,

Daniel

-- 
Daniel.Veillard@w3.org | W3C, INRIA Rhone-Alpes  | libxml Gnome XML toolkit
Tel : +33 476 615 257  | 655, avenue de l'Europe | http://xmlsoft.org/
Fax : +33 476 615 207  | 38330 Montbonnot FRANCE | Rpmfind search site
 http://www.w3.org/People/all#veillard%40w3.org  | http://rpmfind.net/
----
Message from the list xml@rpmfind.net
Archived at : http://xmlsoft.org/messages/
to unsubscribe: echo "unsubscribe xml" | mail  majordomo@rpmfind.net


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Nov 15 2000 - 03:47:11 EST