]> git.sesse.net Git - ccbs/commitdiff
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 b6bf216ac3887f5ab71250faedd1ca3b751d00e8..59d5c377bf3b472f2e9db584d619028b3c6c9dfe 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);