From ed838925efcb30fab98a0a118c862cc68c3307c2 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 23 Apr 1998 22:46:48 +0000 Subject: Add aliases unicode and unicodebig for Java. Add definitions for unicodelittle implementation. --- iconv/gconv_builtin.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'iconv/gconv_builtin.h') diff --git a/iconv/gconv_builtin.h b/iconv/gconv_builtin.h index 3d214ff4f0..7a2560a404 100644 --- a/iconv/gconv_builtin.h +++ b/iconv/gconv_builtin.h @@ -49,6 +49,8 @@ BUILTIN_TRANSFORMATION ("ISO-10646/UTF-?8/", "ISO-10646/UTF", 13, BUILTIN_ALIAS ("UCS2//", "ISO-10646/UCS2/") BUILTIN_ALIAS ("UCS-2//", "ISO-10646/UCS2/") +BUILTIN_ALIAS ("UNICODE//", "ISO-10646/UCS2/") +BUILTIN_ALIAS ("UNICODEBIG//", "ISO-10646/UCS2/") BUILTIN_TRANSFORMATION (NULL, "ISO-10646/UCS2/", 15, "INTERNAL", 1, "=ucs2->INTERNAL", @@ -60,6 +62,18 @@ BUILTIN_TRANSFORMATION (NULL, "INTERNAL", 8, "ISO-10646/UCS2/", __gconv_transform_internal_ucs2, NULL, NULL, 4, 4, 2, 2) + +BUILTIN_TRANSFORMATION (NULL, "UNICODELITTLE//", 15, "INTERNAL", + 1, "=ucs2little->INTERNAL", + __gconv_transform_ucs2little_internal, NULL, NULL, + 2, 2, 4, 4) + +BUILTIN_TRANSFORMATION (NULL, "INTERNAL", 8, "UNICODELITTLE//", + 1, "=INTERNAL->ucs2little", + __gconv_transform_internal_ucs2little, NULL, NULL, + 4, 4, 2, 2) + + BUILTIN_TRANSFORMATION ("(.*)", NULL, 0, "\\1", 1, "=dummy", __gconv_transform_dummy, NULL, NULL, 1, 1, 1, 1) -- cgit v1.2.1