Force little-endian for our UCS-4.
authorSteinar H. Gunderson <sesse@samfundet.no>
Sat, 19 Feb 2005 02:51:39 +0000 (02:51 +0000)
committerSteinar H. Gunderson <sesse@samfundet.no>
Sat, 19 Feb 2005 02:51:39 +0000 (02:51 +0000)
bigscreen/ccbs_bigscreen.cpp

index b6bf216..59d5c37 100644 (file)
@@ -227,7 +227,7 @@ int my_draw_text(const widestring &str, unsigned char *buf, int xpos, int ypos,
 
 int main(int argc, char **argv)
 {
-       ucs4_iconv = iconv_open("ucs-4", "utf-8");
+       ucs4_iconv = iconv_open("ucs-4le", "utf-8");   // FIXME: will be broken for big endian!
        
        ptc_open("CCBS bigscreen", 800, 600);