blob: 7e723b11cdd14362a93a7fa976bf6d83135d2307 [file] [log] [blame]
kpriceef160682006-08-29 18:08:31 +00001<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2<html lang="en-us" xml:lang="en-us">
syeshinbefd53e2005-07-27 18:16:40 +00003<head>
kpriceef160682006-08-29 18:08:31 +00004<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
kprice888ac552010-05-11 21:19:48 +00005<meta name="copyright" content="Copyright (c) 2000, 2009 IBM Corporation and others. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html. Contributors: IBM Corporation - initial API and implementation" />
6<meta name="DC.rights.owner" content="(C) Copyright 2000, 2009" />
kpriceef160682006-08-29 18:08:31 +00007<meta content="public" name="security" />
8<meta content="index,follow" name="Robots" />
9<meta http-equiv="PICS-Label" content='(PICS-1.1 "http://www.icra.org/ratingsv02.html" l gen true r (cz 1 lz 1 nz 1 oz 1 vz 1) "http://www.rsac.org/ratingsv01.html" l gen true r (n 0 s 0 v 0 l 0) "http://www.classify.org/safesurf/" l gen true r (SS~~000 1))' />
10<meta content="concept" name="DC.Type" />
11<meta name="DC.Title" content="XML and HTML encodings" />
12<meta name="abstract" content="Encodings enable you to specify what character encoding your text is in." />
13<meta name="description" content="Encodings enable you to specify what character encoding your text is in." />
kprice02ec4b02008-05-14 23:26:58 +000014<meta content="character encoding, supported character sets" name="DC.subject" />
15<meta content="character encoding, supported character sets" name="keywords" />
kpriceef160682006-08-29 18:08:31 +000016<meta content="XHTML" name="DC.Format" />
17<meta content="cxmlenc" name="DC.Identifier" />
18<meta content="en-us" name="DC.Language" />
19<link href="../../org.eclipse.wst.doc.user/common.css" type="text/css" rel="stylesheet" />
syeshinbefd53e2005-07-27 18:16:40 +000020<title>XML and HTML encodings</title>
syeshin66078272005-09-20 16:53:38 +000021</head>
syeshinbefd53e2005-07-27 18:16:40 +000022<body id="cxmlenc"><a name="cxmlenc"><!-- --></a>
23
kpriceef160682006-08-29 18:08:31 +000024
syeshinbefd53e2005-07-27 18:16:40 +000025<h1 class="topictitle1">XML and HTML encodings</h1>
kpriceef160682006-08-29 18:08:31 +000026
27
28
29
syeshind0bdb8e2005-10-27 17:44:14 +000030<div><p>Encodings enable you to specify what character encoding your text
31is in.</p>
kpriceef160682006-08-29 18:08:31 +000032
syeshind0bdb8e2005-10-27 17:44:14 +000033<p>The IANA name is used in the encoding statement of an XML file, or charset
34directive in an HTML file.</p>
kpriceef160682006-08-29 18:08:31 +000035
syeshind0bdb8e2005-10-27 17:44:14 +000036<p>The HTML and XML editors support the following encodings:</p>
37
kpriceef160682006-08-29 18:08:31 +000038
39<div class="tablenoborder"><table summary="" cellspacing="0" cellpadding="4" frame="border" border="1" rules="all">
40<thead align="left">
41<tr>
kprice02ec4b02008-05-14 23:26:58 +000042<th valign="top" class="firstcol" id="N10072"> <p><strong>XML Encoding (IANA Name)</strong></p>
syeshinbefd53e2005-07-27 18:16:40 +000043 </th>
kpriceef160682006-08-29 18:08:31 +000044
kprice02ec4b02008-05-14 23:26:58 +000045<th valign="top" id="N10084"> <p><strong>Description</strong></p>
syeshinbefd53e2005-07-27 18:16:40 +000046 </th>
kpriceef160682006-08-29 18:08:31 +000047
syeshinbefd53e2005-07-27 18:16:40 +000048</tr>
kpriceef160682006-08-29 18:08:31 +000049
syeshinbefd53e2005-07-27 18:16:40 +000050</thead>
kpriceef160682006-08-29 18:08:31 +000051
52<tbody>
53<tr>
kprice02ec4b02008-05-14 23:26:58 +000054<th valign="top" class="firstcol" id="N100A2" headers="N10072 "> <p>BIG5</p>
kpriceef160682006-08-29 18:08:31 +000055 </th>
56
kprice02ec4b02008-05-14 23:26:58 +000057<td valign="top" headers="N100A2 N10084 "> <p>Big5, Traditional Chinese</p>
syeshinbefd53e2005-07-27 18:16:40 +000058 </td>
kpriceef160682006-08-29 18:08:31 +000059
syeshinbefd53e2005-07-27 18:16:40 +000060</tr>
kpriceef160682006-08-29 18:08:31 +000061
62<tr>
kprice02ec4b02008-05-14 23:26:58 +000063<th valign="top" class="firstcol" id="N100C2" headers="N10072 "> <p>EUC-JP</p>
kpriceef160682006-08-29 18:08:31 +000064 </th>
65
kprice02ec4b02008-05-14 23:26:58 +000066<td valign="top" headers="N100C2 N10084 "> <p>EUC encoding, Japanese</p>
syeshinbefd53e2005-07-27 18:16:40 +000067 </td>
kpriceef160682006-08-29 18:08:31 +000068
syeshinbefd53e2005-07-27 18:16:40 +000069</tr>
kpriceef160682006-08-29 18:08:31 +000070
71<tr>
kprice02ec4b02008-05-14 23:26:58 +000072<th valign="top" class="firstcol" id="N100E2" headers="N10072 "> <p>EUC-KR</p>
kpriceef160682006-08-29 18:08:31 +000073 </th>
74
kprice02ec4b02008-05-14 23:26:58 +000075<td valign="top" headers="N100E2 N10084 "> <p>EUC encoding, Korean</p>
syeshinbefd53e2005-07-27 18:16:40 +000076 </td>
kpriceef160682006-08-29 18:08:31 +000077
syeshinbefd53e2005-07-27 18:16:40 +000078</tr>
kpriceef160682006-08-29 18:08:31 +000079
80<tr>
kprice02ec4b02008-05-14 23:26:58 +000081<th valign="top" class="firstcol" id="N10102" headers="N10072 ">GB18030</th>
kpriceb59c9f62008-04-02 21:24:37 +000082
kprice02ec4b02008-05-14 23:26:58 +000083<td valign="top" headers="N10102 N10084 ">National Standard, Chinese</td>
kpriceb59c9f62008-04-02 21:24:37 +000084
85</tr>
86
87<tr>
kprice02ec4b02008-05-14 23:26:58 +000088<th valign="top" class="firstcol" id="N10116" headers="N10072 "> <p>ISO-2022-JP</p>
kpriceef160682006-08-29 18:08:31 +000089 </th>
90
kprice02ec4b02008-05-14 23:26:58 +000091<td valign="top" headers="N10116 N10084 "> <p>ISO 2022, Japanese</p>
syeshinbefd53e2005-07-27 18:16:40 +000092 </td>
kpriceef160682006-08-29 18:08:31 +000093
syeshinbefd53e2005-07-27 18:16:40 +000094</tr>
kpriceef160682006-08-29 18:08:31 +000095
96<tr>
kprice02ec4b02008-05-14 23:26:58 +000097<th valign="top" class="firstcol" id="N10136" headers="N10072 "> <p>ISO-2022-KR</p>
kpriceef160682006-08-29 18:08:31 +000098 </th>
99
kprice02ec4b02008-05-14 23:26:58 +0000100<td valign="top" headers="N10136 N10084 "> <p>ISO 2022, Korean</p>
syeshinbefd53e2005-07-27 18:16:40 +0000101 </td>
kpriceef160682006-08-29 18:08:31 +0000102
syeshinbefd53e2005-07-27 18:16:40 +0000103</tr>
kpriceef160682006-08-29 18:08:31 +0000104
105<tr>
kprice02ec4b02008-05-14 23:26:58 +0000106<th valign="top" class="firstcol" id="N10156" headers="N10072 "> <p>ISO-8859-1</p>
kpriceef160682006-08-29 18:08:31 +0000107 </th>
108
kprice02ec4b02008-05-14 23:26:58 +0000109<td valign="top" headers="N10156 N10084 "> <p>ISO Latin-1</p>
syeshinbefd53e2005-07-27 18:16:40 +0000110 </td>
kpriceef160682006-08-29 18:08:31 +0000111
syeshinbefd53e2005-07-27 18:16:40 +0000112</tr>
kpriceef160682006-08-29 18:08:31 +0000113
114<tr>
kprice02ec4b02008-05-14 23:26:58 +0000115<th valign="top" class="firstcol" id="N10176" headers="N10072 ">ISO-8859-2</th>
kpriceb59c9f62008-04-02 21:24:37 +0000116
kprice02ec4b02008-05-14 23:26:58 +0000117<td valign="top" headers="N10176 N10084 ">Central/East European (Slavic)</td>
kpriceb59c9f62008-04-02 21:24:37 +0000118
119</tr>
120
121<tr>
kprice02ec4b02008-05-14 23:26:58 +0000122<th valign="top" class="firstcol" id="N1018A" headers="N10072 ">ISO-8859-3</th>
kpriceb59c9f62008-04-02 21:24:37 +0000123
kprice02ec4b02008-05-14 23:26:58 +0000124<td valign="top" headers="N1018A N10084 ">Southern European</td>
kpriceb59c9f62008-04-02 21:24:37 +0000125
126</tr>
127
128<tr>
kprice02ec4b02008-05-14 23:26:58 +0000129<th valign="top" class="firstcol" id="N1019E" headers="N10072 ">ISO-8859-4</th>
kpriceb59c9f62008-04-02 21:24:37 +0000130
kprice02ec4b02008-05-14 23:26:58 +0000131<td valign="top" headers="N1019E N10084 ">ISO 8859-4, Cyrillic</td>
kpriceb59c9f62008-04-02 21:24:37 +0000132
133</tr>
134
135<tr>
kprice02ec4b02008-05-14 23:26:58 +0000136<th valign="top" class="firstcol" id="N101B2" headers="N10072 ">ISO-8859-5</th>
kpriceb59c9f62008-04-02 21:24:37 +0000137
kprice02ec4b02008-05-14 23:26:58 +0000138<td valign="top" headers="N101B2 N10084 ">ISO 8859-5, Cyrillic</td>
kpriceb59c9f62008-04-02 21:24:37 +0000139
140</tr>
141
142<tr>
kprice02ec4b02008-05-14 23:26:58 +0000143<th valign="top" class="firstcol" id="N101C6" headers="N10072 "> <p>ISO-8859-6</p>
kpriceef160682006-08-29 18:08:31 +0000144 </th>
145
kprice02ec4b02008-05-14 23:26:58 +0000146<td valign="top" headers="N101C6 N10084 "> <p>Arabic (Logical)</p>
syeshinbefd53e2005-07-27 18:16:40 +0000147 </td>
kpriceef160682006-08-29 18:08:31 +0000148
syeshinbefd53e2005-07-27 18:16:40 +0000149</tr>
kpriceef160682006-08-29 18:08:31 +0000150
151<tr>
kprice02ec4b02008-05-14 23:26:58 +0000152<th valign="top" class="firstcol" id="N101E6" headers="N10072 ">ISO-8859-7</th>
kpriceef160682006-08-29 18:08:31 +0000153
kprice02ec4b02008-05-14 23:26:58 +0000154<td valign="top" headers="N101E6 N10084 ">Greek</td>
kpriceef160682006-08-29 18:08:31 +0000155
syeshinbefd53e2005-07-27 18:16:40 +0000156</tr>
kpriceef160682006-08-29 18:08:31 +0000157
158<tr>
kprice02ec4b02008-05-14 23:26:58 +0000159<th valign="top" class="firstcol" id="N101FA" headers="N10072 "> <p>ISO-8859-8</p>
kpriceef160682006-08-29 18:08:31 +0000160 </th>
161
kprice02ec4b02008-05-14 23:26:58 +0000162<td valign="top" headers="N101FA N10084 "> <p>Hebrew (Visual) (encoding supported, but not supported by the Page
kpriceef160682006-08-29 18:08:31 +0000163Designer Design page)</p>
syeshinbefd53e2005-07-27 18:16:40 +0000164 </td>
kpriceef160682006-08-29 18:08:31 +0000165
syeshinbefd53e2005-07-27 18:16:40 +0000166</tr>
kpriceef160682006-08-29 18:08:31 +0000167
168<tr>
kprice02ec4b02008-05-14 23:26:58 +0000169<th valign="top" class="firstcol" id="N1021A" headers="N10072 ">ISO-8859-9</th>
kpriceef160682006-08-29 18:08:31 +0000170
kprice02ec4b02008-05-14 23:26:58 +0000171<td valign="top" headers="N1021A N10084 ">Turkish</td>
kpriceef160682006-08-29 18:08:31 +0000172
syeshinbefd53e2005-07-27 18:16:40 +0000173</tr>
kpriceef160682006-08-29 18:08:31 +0000174
175<tr>
kprice02ec4b02008-05-14 23:26:58 +0000176<th valign="top" class="firstcol" id="N1022E" headers="N10072 "> <p>SHIFT_JIS</p>
kpriceef160682006-08-29 18:08:31 +0000177 </th>
178
kprice02ec4b02008-05-14 23:26:58 +0000179<td valign="top" headers="N1022E N10084 "> <p>Shift-JIS, Japanese</p>
syeshinbefd53e2005-07-27 18:16:40 +0000180 </td>
kpriceef160682006-08-29 18:08:31 +0000181
syeshinbefd53e2005-07-27 18:16:40 +0000182</tr>
kpriceef160682006-08-29 18:08:31 +0000183
184<tr>
kprice02ec4b02008-05-14 23:26:58 +0000185<th valign="top" class="firstcol" id="N1024E" headers="N10072 ">TIS-620</th>
kpriceef160682006-08-29 18:08:31 +0000186
kprice02ec4b02008-05-14 23:26:58 +0000187<td valign="top" headers="N1024E N10084 ">TISI, Thai</td>
kpriceef160682006-08-29 18:08:31 +0000188
syeshinbefd53e2005-07-27 18:16:40 +0000189</tr>
kpriceef160682006-08-29 18:08:31 +0000190
191<tr>
kprice02ec4b02008-05-14 23:26:58 +0000192<th valign="top" class="firstcol" id="N10262" headers="N10072 "> <p>US-ASCII</p>
kpriceef160682006-08-29 18:08:31 +0000193 </th>
194
kprice02ec4b02008-05-14 23:26:58 +0000195<td valign="top" headers="N10262 N10084 "> <p>US ASCII</p>
syeshinbefd53e2005-07-27 18:16:40 +0000196 </td>
kpriceef160682006-08-29 18:08:31 +0000197
syeshinbefd53e2005-07-27 18:16:40 +0000198</tr>
kpriceef160682006-08-29 18:08:31 +0000199
200<tr>
kprice02ec4b02008-05-14 23:26:58 +0000201<th valign="top" class="firstcol" id="N10282" headers="N10072 "> <p>UTF-8</p>
kpriceef160682006-08-29 18:08:31 +0000202 </th>
203
kprice02ec4b02008-05-14 23:26:58 +0000204<td valign="top" headers="N10282 N10084 "> <p>ISO 10646/Unicode, one-byte encoding</p>
syeshinbefd53e2005-07-27 18:16:40 +0000205 </td>
kpriceef160682006-08-29 18:08:31 +0000206
syeshinbefd53e2005-07-27 18:16:40 +0000207</tr>
kpriceef160682006-08-29 18:08:31 +0000208
209<tr>
kprice02ec4b02008-05-14 23:26:58 +0000210<th valign="top" class="firstcol" id="N102A2" headers="N10072 "> <p>UTF-16</p>
kpriceef160682006-08-29 18:08:31 +0000211 </th>
212
kprice02ec4b02008-05-14 23:26:58 +0000213<td valign="top" headers="N102A2 N10084 "> <p>ISO 10646/Unicode, two-byte encoding</p>
syeshinbefd53e2005-07-27 18:16:40 +0000214 </td>
kpriceef160682006-08-29 18:08:31 +0000215
syeshinbefd53e2005-07-27 18:16:40 +0000216</tr>
kpriceef160682006-08-29 18:08:31 +0000217
218<tr>
kprice02ec4b02008-05-14 23:26:58 +0000219<th valign="top" class="firstcol" id="N102C2" headers="N10072 "> <p>UTF-16BE</p>
kpriceef160682006-08-29 18:08:31 +0000220 </th>
221
kprice02ec4b02008-05-14 23:26:58 +0000222<td valign="top" headers="N102C2 N10084 "> <p>Unicode BigEndian</p>
syeshinbefd53e2005-07-27 18:16:40 +0000223 </td>
kpriceef160682006-08-29 18:08:31 +0000224
syeshinbefd53e2005-07-27 18:16:40 +0000225</tr>
kpriceef160682006-08-29 18:08:31 +0000226
227<tr>
kprice02ec4b02008-05-14 23:26:58 +0000228<th valign="top" class="firstcol" id="N102E2" headers="N10072 "> <p>UTF-16LE</p>
kpriceef160682006-08-29 18:08:31 +0000229 </th>
230
kprice02ec4b02008-05-14 23:26:58 +0000231<td valign="top" headers="N102E2 N10084 "> <p>Unicode LittleEndian</p>
syeshinbefd53e2005-07-27 18:16:40 +0000232 </td>
kpriceef160682006-08-29 18:08:31 +0000233
syeshinbefd53e2005-07-27 18:16:40 +0000234</tr>
kpriceef160682006-08-29 18:08:31 +0000235
236<tr>
kprice02ec4b02008-05-14 23:26:58 +0000237<th valign="top" class="firstcol" id="N10302" headers="N10072 "><p>WINDOWS-31J</p>
kpriceb59c9f62008-04-02 21:24:37 +0000238</th>
kpriceef160682006-08-29 18:08:31 +0000239
kprice02ec4b02008-05-14 23:26:58 +0000240<td valign="top" headers="N10302 N10084 "><p>Japanese, Windows-31J</p>
kpriceb59c9f62008-04-02 21:24:37 +0000241</td>
kpriceef160682006-08-29 18:08:31 +0000242
syeshinbefd53e2005-07-27 18:16:40 +0000243</tr>
kpriceef160682006-08-29 18:08:31 +0000244
245<tr>
kprice02ec4b02008-05-14 23:26:58 +0000246<th valign="top" class="firstcol" id="N1031E" headers="N10072 "> <p>WINDOWS-1255</p>
kpriceef160682006-08-29 18:08:31 +0000247 </th>
248
kprice02ec4b02008-05-14 23:26:58 +0000249<td valign="top" headers="N1031E N10084 "> <p>Hebrew</p>
syeshinbefd53e2005-07-27 18:16:40 +0000250 </td>
kpriceef160682006-08-29 18:08:31 +0000251
syeshinbefd53e2005-07-27 18:16:40 +0000252</tr>
kpriceef160682006-08-29 18:08:31 +0000253
254<tr>
kprice02ec4b02008-05-14 23:26:58 +0000255<th valign="top" class="firstcol" id="N1033E" headers="N10072 "> <p>WINDOWS-1256</p>
kpriceef160682006-08-29 18:08:31 +0000256 </th>
257
kprice02ec4b02008-05-14 23:26:58 +0000258<td valign="top" headers="N1033E N10084 "> <p>Arabic</p>
syeshinbefd53e2005-07-27 18:16:40 +0000259 </td>
kpriceef160682006-08-29 18:08:31 +0000260
261</tr>
262
syeshinbefd53e2005-07-27 18:16:40 +0000263</tbody>
kpriceef160682006-08-29 18:08:31 +0000264
syeshinbefd53e2005-07-27 18:16:40 +0000265</table>
266</div>
kpriceef160682006-08-29 18:08:31 +0000267
syeshinbefd53e2005-07-27 18:16:40 +0000268</div>
kpriceef160682006-08-29 18:08:31 +0000269
270<div />
271
syeshinbefd53e2005-07-27 18:16:40 +0000272</body>
273</html>