5 1 2 IANA Encodings

LANSA Integrator

5.1.2 IANA Encodings

The HTTP protocol content-type charset encoding name and the XML declaration encoding name use the IANA character set names.

Integrator uses the following tables to correctly encode content and to modify the XML declaration encoding to match the selected byte encoding.

For more information, see IANA encoding and Java Supported encoding:

www.iana.org/assignments/character-sets

http://download.oracle.com/javase/1.5.0/docs/guide/intl/encoding.doc.html

The following table contains the Java encoding to IANA encoding mappings.

Java Encoding

IANA encoding

UTF8

utf-8

UTF-8

utf-8

UTF-16BE

utf-16be

UTF-16LE

utf-16le

ASCII

ascii

ISO-8859-1

iso-8859-1

ISO-8859-2

iso-8859-2

ISO-8859-3

iso-8859-3

ISO-8859-4

iso-8859-4

ISO-8859-5

iso-8859-5

ISO-8859-6

iso-8859-6

ISO-8859-7

iso-8859-7

ISO-8859-8

iso-8859-8

ISO-8859-9

iso-8859-9

ISO-8859-13

iso-8859-13

ISO-8859-15

iso-8859-15

ISO8859_1

iso-8859-1

ISO8859_2

iso-8859-2

ISO8859_3

iso-8859-3

ISO8859_4

iso-8859-4

ISO8859_5

iso-8859-5

ISO8859_6

iso-8859-6

ISO8859_7

iso-8859-7

ISO8859_8

iso-8859-8

ISO8859_9

iso-8859-9

ISO8859_13

iso-8859-13

ISO8859_15

iso-8859-15

CP1250

windows-1250

CP1251

windows-1251

CP1252

windows-1252

CP1253

windows-1253

CP1254

windows-1254

CP1255

windows-1255

CP1256

windows-1256

CP1257

windows-1257

MS874

windows-874

MS932

windows-932

MS936

windows-936

MS949

windows-949

MS950

windows-950

CP037

ebcdic-cp-us

CP277

ebcdic-cp-dk

CP278

ebcdic-cp-fi

CP280

ebcdic-cp-it

CP284

ebcdic-cp-es

CP285

ebcdic-cp-gb

CP290

ebcdic-jp-kana

CP297

ebcdic-cp-fr

CP424

ebcdic-cp-he

CP500

ebcdic-cp-ch

CP870

ebcdic-cp-yu

CP871

ebcdic-cp-is

CP918

ebcdic-cp-ar2

CP420

ebcdic-cp-ar1

CP140

ebcdic-us-37+euro

CP141

ebcdic-de-273+euro

CP142

ebcdic-dk-277+euro

CP143

ebcdic-fi-278+euro

CP144

ebcdic-it-280+euro

CP145

ebcdic-es-284+euro

CP146

ebcdic-gb-285+euro

CP147

ebcdic-fr-297+euro

CP148

ebcdic-international-500+euro

CP149

ebcdic-is-871+euro

EUCJIS

euc-jis

EUC_JP

euc-jp

JIS

iso2022-jp

SJIS

Shift_JIS

BIG5

big5

GB2312

gb2312

KOI8-R

koi8-r

KOI8_R

koi8-r

ISO2022KR

euc-kr

CP273

ibm-273

CP437

ibm-437

CP775

ibm-775

CP850

ibm-850

CP852

ibm-852

CP855

ibm-855

CP857

ibm-857

CP860

ibm-860

CP861

ibm-861

CP862

ibm-862

CP863

ibm-863

CP864

ibm-864

CP865

ibm-865

CP866

ibm-866

CP868

ibm-868

CP869

ibm-869

CP1026

ibm-1026

CP1047

ibm-1047

 

The following table contains the IANA encoding to Java encoding mappings.

IANA Encoding

Java encoding

UTF-8

UTF-8

UTF-16BE

UTF-16BE

UTF-16LE

UTF-16LE

ASCII

ISO8859_1

US-ASCII

ISO8859_1

ISO-8859-1

ISO8859_1

ISO-8859-2

ISO8859_2

ISO-8859-3

ISO8859_3

ISO-8859-4

ISO8859_4

ISO-8859-5

ISO8859_5

ISO-8859-6

ISO8859_6

ISO-8859-7

ISO8859_7

ISO-8859-8

ISO8859_8

ISO-8859-9

ISO8859_9

ISO-8859-13

ISO8859_13

ISO-8859-15

ISO8859_15

ISO_8859_1

ISO8859_1

ISO_8859_2

ISO8859_2

ISO_8859_3

ISO8859_3

ISO_8859_4

ISO8859_4

ISO_8859_5

ISO8859_5

ISO_8859_6

ISO8859_6

ISO_8859_7

ISO8859_7

ISO_8859_8

ISO8859_8

ISO_8859_9

ISO8859_9

ISO_8859_13

ISO8859_13

ISO_8859_15

ISO8859_15

WINDOWS-1250

Cp1250

WINDOWS-1251

Cp1251

WINDOWS-1252

Cp1252

WINDOWS-1253

Cp1253

WINDOWS-1254

Cp1254

WINDOWS-1255

Cp1255

WINDOWS-1256

Cp1256

WINDOWS-1257

Cp1257

WINDOWS-874

MS874

WINDOWS-932

MS932

WINDOWS-936

MS936

WINDOWS-949

MS949

WINDOWS-950

MS950

EBCDIC-CP-US

Cp037

EBCDIC-CP-CA

Cp037

EBCDIC-CP-NL

Cp037

EBCDIC-CP-DK

Cp277

EBCDIC-CP-NO

Cp277

EBCDIC-CP-FI

Cp278

EBCDIC-CP-SE

Cp278

EBCDIC-CP-IT

Cp280

EBCDIC-CP-ES

Cp284

EBCDIC-CP-GB

Cp285

EBCDIC-JP-KANA

Cp290

EBCDIC-CP-FR

Cp297

EBCDIC-CP-HE

Cp424

EBCDIC-CP-CH

Cp500

EBCDIC-CP-YU

Cp870

EBCDIC-CP-IS

Cp871

EBCDIC-CP-AR2

Cp918

EBCDIC-CP-AR1

Cp420

EBCDIC-US-37+EURO

Cp1140

EBCDIC-DE-273+EURO

Cp1141

EBCDIC-DK-277+EURO

Cp1142

EBCDIC-NO-277+EURO

Cp1142

EBCDIC-FI-278+EURO

Cp1143

EBCDIC-SE-278+EURO

Cp1143

EBCDIC-IT-280+EURO

Cp1144

EBCDIC-ES-284+EURO

Cp1145

EBCDIC-GB-285+EURO

Cp1146

EBCDIC-FR-297+EURO

Cp1147

EBCDIC-INTERNATIONAL-500+EURO

Cp1148

EBCDIC-IS-871+EURO

Cp1149

EUCJP

EUC_JP

EUC-JP

EUC_JP

ISO2022-JP

ISO2022JP

ISO-2022-JP

ISO2022JP

SHIFT_JIS

SJIS

SHIFT-JIS

SJIS

IBM932

MS932

IBM-932

MS932

X-SJIS

MS932

WINDOWS-31J

MS932

BIG5

Big5

GB2312

GB2312

KOI8-R

KOI8_R

EUC-KR

EUC_KR

ISO-2022-KR

ISO2022KR

CP367

ISO8859_1

IBM367

ISO8859_1

IBM-367

ISO8859_1

CP819

ISO8859_1

IBM819

ISO8859_1

IBM-819

ISO8859_1

CP1047

ISO8859_1

IBM1047

ISO8859_1

IBM-1047

ISO8859_1

IBM-37

Cp037

IBM-273

Cp273

IBM-277

Cp277

IBM-278

Cp278

IBM-280

Cp280

IBM-284

Cp284

IBM-285

Cp285

IBM-290

Cp290

IBM-297

Cp297

IBM-420

Cp420

IBM-424

Cp424

IBM-437

Cp437

IBM-500

Cp500

IBM-775

Cp775

IBM-850

Cp850

IBM-852

Cp852

IBM-855

Cp855

IBM-857

Cp857

IBM-858

Cp858

IBM-860

Cp860

IBM-861

Cp861

IBM-862

Cp862

IBM-863

Cp863

IBM-864

Cp864

IBM-865

Cp865

IBM-866

Cp866

IBM-868

Cp868

IBM-869

Cp869

IBM-870

Cp870

IBM-871

Cp871

IBM-918

Cp918

IBM-924

Cp924

IBM-1026

Cp1026

IBM-1140

Cp1140

IBM-1141

Cp1141

IBM-1142

Cp1142

IBM-1143

Cp1143

IBM-1144

Cp1144

IBM-1145

Cp1145

IBM-1146

Cp1146

IBM-1147

Cp1147

IBM-1148

Cp1148

IBM-1149

Cp1149