From aee4b9cb87a8ac71a8f2a55a2f49fe954cdcaa96 Mon Sep 17 00:00:00 2001 From: George Rhoten Date: Fri, 17 Jun 2005 07:04:03 +0000 Subject: [PATCH] ICU-4416 Make sure that surrogates aren't listed for UTF-16 and UTF-32 X-SVN-Rev: 17940 --- icu4c/source/common/ucnv_u16.c | 6 +++--- icu4c/source/common/ucnv_u32.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/icu4c/source/common/ucnv_u16.c b/icu4c/source/common/ucnv_u16.c index b9d6a8e12df..93123b596cb 100644 --- a/icu4c/source/common/ucnv_u16.c +++ b/icu4c/source/common/ucnv_u16.c @@ -567,7 +567,7 @@ static const UConverterImpl _UTF16BEImpl={ NULL, NULL, NULL, - ucnv_getCompleteUnicodeSet + ucnv_getNonSurrogateUnicodeSet }; static const UConverterStaticData _UTF16BEStaticData={ @@ -1121,7 +1121,7 @@ static const UConverterImpl _UTF16LEImpl={ NULL, NULL, NULL, - ucnv_getCompleteUnicodeSet + ucnv_getNonSurrogateUnicodeSet }; @@ -1343,7 +1343,7 @@ static const UConverterImpl _UTF16Impl = { NULL, NULL, NULL, - ucnv_getCompleteUnicodeSet + ucnv_getNonSurrogateUnicodeSet }; static const UConverterStaticData _UTF16StaticData = { diff --git a/icu4c/source/common/ucnv_u32.c b/icu4c/source/common/ucnv_u32.c index 281a58fe0fb..223f923fdce 100644 --- a/icu4c/source/common/ucnv_u32.c +++ b/icu4c/source/common/ucnv_u32.c @@ -476,7 +476,7 @@ static const UConverterImpl _UTF32BEImpl = { NULL, NULL, NULL, - ucnv_getCompleteUnicodeSet + ucnv_getNonSurrogateUnicodeSet }; /* The 1232 CCSID refers to any version of Unicode with any endianess of UTF-32 */ @@ -969,7 +969,7 @@ static const UConverterImpl _UTF32LEImpl = { NULL, NULL, NULL, - ucnv_getCompleteUnicodeSet + ucnv_getNonSurrogateUnicodeSet }; /* The 1232 CCSID refers to any version of Unicode with any endianess of UTF-32 */ @@ -1216,7 +1216,7 @@ static const UConverterImpl _UTF32Impl = { NULL, NULL, NULL, - ucnv_getCompleteUnicodeSet + ucnv_getNonSurrogateUnicodeSet }; /* The 1236 CCSID refers to any version of Unicode with a BOM sensitive endianess of UTF-32 */