On Wed, Feb 01, 2006 at 02:15:19PM +0100, [EMAIL PROTECTED] 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/
[EMAIL PROTECTED]  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
_______________________________________________
xml mailing list, project page  http://xmlsoft.org/
[email protected]
http://mail.gnome.org/mailman/listinfo/xml

Reply via email to