Use UTF-16LE as target encoding on all little-endian systems. (#143380,
authorMatthias Clasen <mclasen@redhat.com>
Tue, 24 Jan 2006 15:25:11 +0000 (15:25 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 24 Jan 2006 15:25:11 +0000 (15:25 +0000)
2006-01-24  Matthias Clasen  <mclasen@redhat.com>

* tests/unicode-encoding.c: Use UTF-16LE as target encoding
on all little-endian systems.  (#143380, Marc Moorcroft)

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
tests/unicode-encoding.c

index 479202b0ab8988104345a73c283d59c0a99f08df..c6c5cff84941e81b7083104f60c5998970fa42b4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-01-24  Matthias Clasen  <mclasen@redhat.com>
+
+       * tests/unicode-encoding.c: Use UTF-16LE as target encoding
+       on all little-endian systems.  (#143380, Marc Moorcroft)
+
 2006-01-23  Matthias Clasen  <mclasen@redhat.com>
 
        * configure.in: Change the shared libary extension for hpux-ia64
index 479202b0ab8988104345a73c283d59c0a99f08df..c6c5cff84941e81b7083104f60c5998970fa42b4 100644 (file)
@@ -1,3 +1,8 @@
+2006-01-24  Matthias Clasen  <mclasen@redhat.com>
+
+       * tests/unicode-encoding.c: Use UTF-16LE as target encoding
+       on all little-endian systems.  (#143380, Marc Moorcroft)
+
 2006-01-23  Matthias Clasen  <mclasen@redhat.com>
 
        * configure.in: Change the shared libary extension for hpux-ia64
index 479202b0ab8988104345a73c283d59c0a99f08df..c6c5cff84941e81b7083104f60c5998970fa42b4 100644 (file)
@@ -1,3 +1,8 @@
+2006-01-24  Matthias Clasen  <mclasen@redhat.com>
+
+       * tests/unicode-encoding.c: Use UTF-16LE as target encoding
+       on all little-endian systems.  (#143380, Marc Moorcroft)
+
 2006-01-23  Matthias Clasen  <mclasen@redhat.com>
 
        * configure.in: Change the shared libary extension for hpux-ia64
index ac3a314897a9ab89dda8093895859dab84721096..09b33929773a1235494506fba3b14bb3226bbed6 100644 (file)
@@ -195,7 +195,7 @@ process (gint      line,
       gint n_chars;
       gchar *utf8_result;
 
-#ifdef G_PLATFORM_WIN32
+#if G_BYTE_ORDER == G_LITTLE_ENDIAN
 #define TARGET "UTF-16LE"
 #else
 #define TARGET "UTF-16"