Re: [PATCH] for UTF-16 output (was Re: [xml] UTF16 output broken in 2.5.8 (WIN32)?)



On Sat, Jul 19, 2003 at 11:54:53AM +0200, Peter Jacobi wrote:
Content-Description: Mail message body
Hi Daniel,

I've changed the three occurances of fopen (..., "w") in
xmlio.c to fopen (..., "wb"). 

  Okay, applied. BTW I had to fix the filename, any chance of
generating the diffs from a POSIX compliant system ?

The problem of no output all was indeed related to 
character encoding name. Without iconv, libxml2
will accept UTF-16LE or UTF-16BE but not UTF-16.

  okay. Maybe an alias for UTF-16

Interestingly iconv interprets UTF-16 as UTF-16BE, I
would have expected "UTF-16 matching platform
architecture", i.e. UTF-16LE on Intel.

  Well maybe an alias for UTF-16 should be set-up in encoding.c

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



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