[Tux4kids-tuxtype-dev] Success with GNU iconv for UTF32 to UTF8 conversion

David Bruce davidstuartbruce at gmail.com
Sat Aug 23 01:41:41 UTC 2008


Hi,

>   It looks like my wrapper function "ConvertToUTF8()" in alphabet.c
>>> doesn't work properly.  I found at least one problem in it but it
>>> still isn't fixed.  It is not returning the correct UTF-8 string to be
>>> drawn by print_at(), at least on my machine.
>>>

> Now that we have gettext and libiconv in place, maybe we could use iconv()
> instead and get rid of the Convert* c and h files from Unicode.
>

I changed the function to use iconv() instead, and it works fine.  It
is in svn.  I think we can get rid of the files from Unicode and just
use iconv().

David



More information about the Tux4kids-tuxtype-dev mailing list