| Daniel Veillard wrote: Found a windows function called WideCharToMultiByte() that seems to do the job. It can convert to a UTF-8 multibyte string stored in char's. Seems to work ok.On Wed, Jan 26, 2005 at 02:05:31PM +0000, Arthur Yarwood wrote:xml-bounces gnome org wrote on 26/01/2005 12:48:07: Think the problem I had with iconv, is that it can accept wchar_t as an encoding type, but I don't think it was compiled in the version I was using. :( According to MSDN, the wchar_t is an unsigned short (16bits). I think the encoding is system dependant. The above function apparently sort it out. No, I'm not working on embedded stuff. Just some MFC apps, where all the control etc use wchar_t's to handle unicode. Thanks for you help. Arthur. |