diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-04-23 22:46:48 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-04-23 22:46:48 +0000 |
commit | ed838925efcb30fab98a0a118c862cc68c3307c2 (patch) | |
tree | 5130b32d25dee998b19ae6868af83800e89171c5 | |
parent | a55e5526e2a32237bc2afc9c1fa45c376c522895 (diff) | |
download | glibc-ed838925efcb30fab98a0a118c862cc68c3307c2.tar.gz glibc-ed838925efcb30fab98a0a118c862cc68c3307c2.tar.xz glibc-ed838925efcb30fab98a0a118c862cc68c3307c2.zip |
Add aliases unicode and unicodebig for Java. Add definitions for unicodelittle implementation.
-rw-r--r-- | iconv/gconv_builtin.h | 14 |
1 files changed, 14 insertions, 0 deletions
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) |