From: Matthias Clasen Date: Tue, 24 Jan 2006 15:25:11 +0000 (+0000) Subject: Use UTF-16LE as target encoding on all little-endian systems. (#143380, X-Git-Tag: GLIB_2_9_5~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3c62ff454a5022eb7610b2b98f59366289183890;p=platform%2Fupstream%2Fglib.git Use UTF-16LE as target encoding on all little-endian systems. (#143380, 2006-01-24 Matthias Clasen * tests/unicode-encoding.c: Use UTF-16LE as target encoding on all little-endian systems. (#143380, Marc Moorcroft) --- diff --git a/ChangeLog b/ChangeLog index 479202b..c6c5cff 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-01-24 Matthias Clasen + + * tests/unicode-encoding.c: Use UTF-16LE as target encoding + on all little-endian systems. (#143380, Marc Moorcroft) + 2006-01-23 Matthias Clasen * configure.in: Change the shared libary extension for hpux-ia64 diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 479202b..c6c5cff 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2006-01-24 Matthias Clasen + + * tests/unicode-encoding.c: Use UTF-16LE as target encoding + on all little-endian systems. (#143380, Marc Moorcroft) + 2006-01-23 Matthias Clasen * configure.in: Change the shared libary extension for hpux-ia64 diff --git a/ChangeLog.pre-2-12 b/ChangeLog.pre-2-12 index 479202b..c6c5cff 100644 --- a/ChangeLog.pre-2-12 +++ b/ChangeLog.pre-2-12 @@ -1,3 +1,8 @@ +2006-01-24 Matthias Clasen + + * tests/unicode-encoding.c: Use UTF-16LE as target encoding + on all little-endian systems. (#143380, Marc Moorcroft) + 2006-01-23 Matthias Clasen * configure.in: Change the shared libary extension for hpux-ia64 diff --git a/tests/unicode-encoding.c b/tests/unicode-encoding.c index ac3a314..09b3392 100644 --- a/tests/unicode-encoding.c +++ b/tests/unicode-encoding.c @@ -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"