From 3c62ff454a5022eb7610b2b98f59366289183890 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 24 Jan 2006 15:25:11 +0000 Subject: [PATCH] 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) --- ChangeLog | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-12 | 5 +++++ tests/unicode-encoding.c | 2 +- 4 files changed, 16 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 479202b0a..c6c5cff84 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 479202b0a..c6c5cff84 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 479202b0a..c6c5cff84 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 ac3a31489..09b339297 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"