From 9c3f0aabd06a4ee2e6f916b0b5b07de7300febf4 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Tue, 27 Mar 2007 15:25:56 +0000 Subject: [PATCH] ICU-5576 Fixes for z/OS X-SVN-Rev: 21320 --- icu4c/source/test/intltest/utxttest.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/icu4c/source/test/intltest/utxttest.cpp b/icu4c/source/test/intltest/utxttest.cpp index e883766755c..3a89694e666 100644 --- a/icu4c/source/test/intltest/utxttest.cpp +++ b/icu4c/source/test/intltest/utxttest.cpp @@ -1366,8 +1366,9 @@ openFragmentedUnicodeString(UText *ut, UnicodeString *s, UErrorCode *status) { // 4. Check that clone contents did not change. // void UTextTest::Ticket5560() { - const char *s1 = "ABCDEF"; - const char *s2 = "123456"; + /* The following two strings are in UTF-8 even on EBCDIC platforms. */ + static const char s1[] = {0x41,0x42,0x43,0x44,0x45,0x46,0}; /* "ABCDEF" */ + static const char s2[] = {0x31,0x32,0x33,0x34,0x35,0x36,0}; /* "123456" */ UErrorCode status = U_ZERO_ERROR; UText ut1 = UTEXT_INITIALIZER;