The SDL forums have moved to discourse.libsdl.org.
This is just a read-only archive of the previous forums, to keep old links working.
SDL
Simple Directmedia Layer Forums
SDL_iconv_utf8_ucs2 fails on Ubuntu for me
Alexey Petruchik
Guest
Posted: Sat Jan 24, 2015 6:55 pm
Calling SDL_iconv_utf8_ucs2 fails on Ubuntu for me. It seems that it's caused by using system iconv implementation on Linux systems. SDL_iconv_utf8_ucs2 uses "UCS-2-INTERNAL" as a tocode. Running "iconv -l | grep UCS" on my Ubuntu (14.10) gives such results: