Oracle 5.0 Reference Manual page 2915

Table of Contents

Advertisement

MySQL 5.0 FAQ: MySQL Chinese, Japanese, and Korean Character Sets
Query OK, 0 rows affected (0.13 sec)
mysql>
INSERT INTO big5 VALUES (0xf9dc);
Query OK, 1 row affected (0.00 sec)
mysql>
SELECT * FROM big5;
+------+
| big5 |
+------+
| 嫺
|
+------+
1 row in set (0.02 sec)
A feature request for adding
find the suggested patch for Bug #13577 to be of interest.
B.11.4: Why do Japanese character set conversions fail?
MySQL supports the sjis, ujis, cp932, and
common need is to convert between character sets. For example, there might be a Unix server
(typically with
or ujis) and a Windows client (typically with cp932).
sjis
In the following conversion table, the
and
columns represent the destinations—that is, the last 4 columns provide the hexadecimal
eucjpms
result when we use
CONVERT(ucs2)
sjis, cp932, ujis, or
Character Name
BROKEN BAR
FULLWIDTH BROKEN BAR
YEN SIGN
FULLWIDTH YEN SIGN
TILDE
OVERLINE
HORIZONTAL BAR
EM DASH
REVERSE SOLIDUS
FULLWIDTH ""
WAVE DASH
FULLWIDTH TILDE
DOUBLE VERTICAL LINE
PARALLEL TO
MINUS SIGN
FULLWIDTH HYPHEN-MINUS
CENT SIGN
FULLWIDTH CENT SIGN
POUND SIGN
FULLWIDTH POUND SIGN
NOT SIGN
FULLWIDTH NOT SIGN
Now consider the following portion of the table.
extensions has been filed. People who need this extension may
HKSCS
column represents the source, and the sjis, cp932, ujis,
ucs2
[948]
or we assign a
column.
eucjpms
ucs2
00A6
FFE4
00A5
FFE5
007E
203E
2015
2014
005C
FF3C
301C
FF5E
2016
2225
2212
FF0D
00A2
FFE0
00A3
FFE1
00AC
FFE2
2895
character sets, as well as Unicode. A
eucjpms
column containing the value to an
ucs2
sjis
cp932
3F
3F
3F
FA55
3F
3F
818F
818F
7E
7E
3F
3F
815C
815C
3F
3F
815F
5C
3F
815F
8160
3F
3F
8160
8161
3F
3F
8161
817C
3F
3F
817C
8191
3F
3F
8191
8192
3F
3F
8192
81CA
3F
3F
81CA
ujis
eucjpms
8FA2C3
3F
3F
8FA2
20
3F
A1EF
3F
7E
7E
20
3F
A1BD
A1BD
3F
3F
5C
5C
3F
A1C0
A1C1
3F
3F
A1C1
A1C2
3F
3F
A1C2
A1DD
3F
3F
A1DD
A1F1
3F
3F
A1F1
A1F2
3F
3F
A1F2
A2CC
3F
3F
A2CC

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents