From: Steinar H. Gunderson Date: Sat, 19 Feb 2005 02:51:39 +0000 (+0000) Subject: Force little-endian for our UCS-4. X-Git-Url: https://git.sesse.net/?p=ccbs;a=commitdiff_plain;h=009901d5f99c3e786326dc5d9a54cbef510aaa8b Force little-endian for our UCS-4. --- diff --git a/bigscreen/ccbs_bigscreen.cpp b/bigscreen/ccbs_bigscreen.cpp index b6bf216..59d5c37 100644 --- a/bigscreen/ccbs_bigscreen.cpp +++ b/bigscreen/ccbs_bigscreen.cpp @@ -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);