Re: [xml] Conversion Unicode to UTF-8
- From: Daniel Veillard <veillard redhat com>
- To: bernd bredow takeid com
- Cc: xml gnome org
- Subject: Re: [xml] Conversion Unicode to UTF-8
- Date: Fri, 3 Feb 2006 06:42:51 -0500
On Wed, Feb 01, 2006 at 02:15:19PM +0100, bernd bredow takeid com wrote:
Hallo,
I have a Windows Unicode project and use libxml2-2.6.20.
How can I convert a wide character string ( wchar_t * or LPCTSTR ) to UTF-8 ?
Has anybody a sample ?
completely depends on your environment. If I remember correctly
wchar_t can be 16bits or 32bits depending on the tool chain. Check your
C libraries docs.
Daniel
--
Daniel Veillard | Red Hat http://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]