From 009901d5f99c3e786326dc5d9a54cbef510aaa8b Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Sat, 19 Feb 2005 02:51:39 +0000 Subject: [PATCH] Force little-endian for our UCS-4. --- bigscreen/ccbs_bigscreen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.2