summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--iconv/gconv_builtin.h14
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)