PDA

View Full Version : how to make phpdig support GB2313?


slackware
09-20-2003, 11:03 AM
thx!which file will we modified?

fziemke
09-20-2003, 11:52 AM
I think it is not possible: :( GB2312 must convert to Unicode....

Column #1 is the GB2312 code (in hex as 0xXXXX)
Column #2 is the Unicode (in hex as 0xXXXX)
Column #3 the Unicode name (follows a comment sign, '#')

0x2360 0xFF40 # FULLWIDTH GRAVE ACCENT
0x2361 0xFF41 # FULLWIDTH LATIN SMALL LETTER A
0x2362 0xFF42 # FULLWIDTH LATIN SMALL LETTER B
0x2363 0xFF43 # FULLWIDTH LATIN SMALL LETTER C
0x2364 0xFF44 # FULLWIDTH LATIN SMALL LETTER D
0x2365 0xFF45 # FULLWIDTH LATIN SMALL LETTER E
0x2366 0xFF46 # FULLWIDTH LATIN SMALL LETTER F
0x2367 0xFF47 # FULLWIDTH LATIN SMALL LETTER G
0x2368 0xFF48 # FULLWIDTH LATIN SMALL LETTER H
0x2369 0xFF49 # FULLWIDTH LATIN SMALL LETTER I
0x236A 0xFF4A # FULLWIDTH LATIN SMALL LETTER J
0x2421 0x3041 # HIRAGANA LETTER SMALL A
0x2422 0x3042 # HIRAGANA LETTER A
0x2423 0x3043 # HIRAGANA LETTER SMALL I
0x2424 0x3044 # HIRAGANA LETTER I
0x2425 0x3045 # HIRAGANA LETTER SMALL U
0x2426 0x3046 # HIRAGANA LETTER U
0x2427 0x3047 # HIRAGANA LETTER SMALL E
0x2428 0x3048 # HIRAGANA LETTER E
0x2429 0x3049 # HIRAGANA LETTER SMALL O
0x242A 0x304A # HIRAGANA LETTER O
0x242B 0x304B # HIRAGANA LETTER KA
0x2852 0x3112 # BOPOMOFO LETTER X
0x2853 0x3113 # BOPOMOFO LETTER ZH
0x2854 0x3114 # BOPOMOFO LETTER CH
0x2855 0x3115 # BOPOMOFO LETTER SH
0x2856 0x3116 # BOPOMOFO LETTER R
0x2857 0x3117 # BOPOMOFO LETTER Z
0x2858 0x3118 # BOPOMOFO LETTER C
0x2859 0x3119 # BOPOMOFO LETTER S
0x285A 0x311A # BOPOMOFO LETTER A
0x285B 0x311B # BOPOMOFO LETTER O
0x285C 0x311C # BOPOMOFO LETTER E
0x285D 0x311D # BOPOMOFO LETTER EH
0x285E 0x311E # BOPOMOFO LETTER AI
0x285F 0x311F # BOPOMOFO LETTER EI
0x2860 0x3120 # BOPOMOFO LETTER AU

+ 2000 Lines more :D

FRANK

EDIT: Check out PhpDig v.1.8.8 RC1+ for multibyte support.