[xml] Re: Encoding* of libxml

Date view Thread view Subject view Author view

From: Daniel Veillard (Daniel.Veillard@w3.org)
Date: Wed May 03 2000 - 10:04:54 EDT


On Wed, Apr 26, 2000 at 03:36:46PM +0800, Yuan-Chen Cheng wrote:
> On Wed, Apr 26, 2000 at 09:09:58AM +0200, Daniel Veillard wrote:
> > I have started working on the integration of your patch into the
> > current framework, but I will keep encoding.[ch] a simple file.
> > I also changed the way the ICONV stuff gets integrated into the existing
> > code and structures. It will take a bit of time but I want this to work,
> > especially I want support for japanese encodings through iconv that way.
> >
> > thanks for your code, it's not dropped, integrating it just takes far
> > more time and touch far more code that just the encoding related files.
>
> Thank you for your hard working for open-source/free software.

  The version in CVS now has iconv support enabled by default if found.
It parses without any trouble all the test in japanese subdir of the
OASIS testsuite on my linux box. So I assume it's working properly for
input. I still have troubles with conf/oasis/p02pass1.xml from the
testsuite, I smell it's related to one of the chars from the new Unicode
planes, I will try to debug this later. So thanks for your help, this
was fruitful at the end !
  Currently the output isn't nice though ... all the encodings are
switched to UTF8 and all the output is saved using &#xxxx; charrefs,
it's really ugly .... Maybe this should be done only if one wants
to save to an ASCII or ISOLatin-X encoding, but not for native UTF8.
  Seems I need to add some kind of routine like
    int xmlSavexxx( fd, xmlDocPtr doc, const char *encoding);

 I need to think a bit more about this but this doesn't look that hard
now ...

  thanks again,

Daniel

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


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Wed Aug 02 2000 - 12:30:11 EDT