Re: [xml] mapping 2-byte Unicode char to UTF-8?
- From: Daniel Veillard <veillard redhat com>
- To: Chris Ryland <cpr emsoftware com>
- Cc: XML List <xml gnome org>
- Subject: Re: [xml] mapping 2-byte Unicode char to UTF-8?
- Date: Thu, 5 Jun 2003 03:43:39 -0400
On Thu, Jun 05, 2003 at 02:30:47AM -0400, Chris Ryland wrote:
Forgive the newbie question, but is there anything exposed in the
libxml2/iconv framework (function, macro) that would take a 2-byte
Unicode binary character value (yes, I realize this isn't
extended-Unicode capable ;-) and turn it into the properly-encoded
UTF-8 character sequence?
Thanks for any hints.
there is UTF16LEToUTF8() and UTF16BEToUTF8() in encoding.c
but they are not public.
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]