diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-31 16:23:04 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-31 16:23:04 +0000 |
commit | 1893e19865e076694321264ed7e695051df523b0 (patch) | |
tree | b5c007d2925d004d7b5bbfa261cba5cb39a6411c /enc/trans/CP/UCS%CP932VDC@IBM.src | |
parent | e7ee4fabd428b6b8eb96159a825ad6df2ed16e24 (diff) | |
download | ruby-1893e19865e076694321264ed7e695051df523b0.tar.gz |
* tool/transcode-tblgen.rb: add table generator from Citrus maps.
* enc/trans/japanese.trans: use Citrus maps.
* enc/trans/CP: add maps from Citrus.
* enc/trans/JIS: ditto.
* test/ruby/test_transcode.rb: Shift_JIS and EUC-JP doesn't support
IBM extended characters.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc/trans/CP/UCS%CP932VDC@IBM.src')
-rw-r--r-- | enc/trans/CP/UCS%CP932VDC@IBM.src | 420 |
1 files changed, 420 insertions, 0 deletions
diff --git a/enc/trans/CP/UCS%CP932VDC@IBM.src b/enc/trans/CP/UCS%CP932VDC@IBM.src new file mode 100644 index 0000000000..78e9b316b4 --- /dev/null +++ b/enc/trans/CP/UCS%CP932VDC@IBM.src @@ -0,0 +1,420 @@ +# $NetBSD: UCS%CP932VDC@IBM.src,v 1.1 2006/11/04 03:46:19 tnozaki Exp $ + +TYPE ROWCOL +NAME "UCS/CP932VDC:IBM" +SRC_ZONE 0x2116-0xFFE4 +OOB_MODE INVALID +DST_INVALID 0xFFFF +DST_UNIT_BITS 16 + +BEGIN_MAP +# +# This mapping data is made from the mapping data provided by Unicode, Inc. +# Original notice: +# +# Name: cp932 to Unicode table +# Unicode version: 2.0 +# Table version: 2.01 +# Table format: Format A +# Date: 04/15/98 +# +# Contact: cpxlate@microsoft.com +# +# General notes: none +# +# Format: Three tab-separated columns +# Column #1 is the cp932 code (in hex) +# Column #2 is the Unicode (in hex as 0xXXXX) +# Column #3 is the Unicode name (follows a comment sign, '#') +# +# The entries are in cp932 order +# +0x2116 = 0x933A +0x2121 = 0x933B +0x2160 = 0x932B +0x2161 = 0x932C +0x2162 = 0x932D +0x2163 = 0x932E +0x2164 = 0x932F +0x2165 = 0x9330 +0x2166 = 0x9331 +0x2167 = 0x9332 +0x2168 = 0x9333 +0x2169 = 0x9334 +0x2170 = 0x9321 +0x2171 = 0x9322 +0x2172 = 0x9323 +0x2173 = 0x9324 +0x2174 = 0x9325 +0x2175 = 0x9326 +0x2176 = 0x9327 +0x2177 = 0x9328 +0x2178 = 0x9329 +0x2179 = 0x932A +0x2235 = 0x933C +0x3231 = 0x9339 +0x4E28 = 0x9349 +0x4EE1 = 0x934A +0x4EFC = 0x934B +0x4F00 = 0x934C +0x4F03 = 0x934D +0x4F39 = 0x934E +0x4F56 = 0x934F +0x4F8A = 0x9351 +0x4F92 = 0x9350 +0x4F94 = 0x9353 +0x4F9A = 0x9352 +0x4FC9 = 0x9342 +0x4FCD = 0x9354 +0x4FFF = 0x9357 +0x501E = 0x9358 +0x5022 = 0x9356 +0x5040 = 0x9355 +0x5042 = 0x935B +0x5046 = 0x9359 +0x5070 = 0x935A +0x5094 = 0x935C +0x50D8 = 0x935E +0x50F4 = 0x935D +0x514A = 0x935F +0x5164 = 0x9360 +0x519D = 0x9361 +0x51BE = 0x9362 +0x51EC = 0x9363 +0x5215 = 0x9364 +0x529C = 0x9365 +0x52A6 = 0x9366 +0x52AF = 0x9558 +0x52C0 = 0x9367 +0x52DB = 0x9368 +0x5300 = 0x9369 +0x5307 = 0x936A +0x5324 = 0x936B +0x5372 = 0x936C +0x5393 = 0x936D +0x53B2 = 0x936E +0x53DD = 0x936F +0x548A = 0x9372 +0x549C = 0x9371 +0x54A9 = 0x9373 +0x54FF = 0x9374 +0x5586 = 0x9375 +0x5759 = 0x9376 +0x5765 = 0x9377 +0x57AC = 0x9378 +0x57C7 = 0x937A +0x57C8 = 0x9379 +0x589E = 0x937D +0x58B2 = 0x937E +0x590B = 0x9421 +0x5953 = 0x9422 +0x595B = 0x9423 +0x595D = 0x9424 +0x5963 = 0x9425 +0x59A4 = 0x9426 +0x59BA = 0x9427 +0x5B56 = 0x9428 +0x5BC0 = 0x9429 +0x5BD8 = 0x942B +0x5BEC = 0x942C +0x5C1E = 0x942D +0x5CA6 = 0x942E +0x5CBA = 0x942F +0x5CF5 = 0x9430 +0x5D27 = 0x9431 +0x5D42 = 0x9434 +0x5D53 = 0x9432 +0x5D6D = 0x9435 +0x5DB8 = 0x9436 +0x5DB9 = 0x9437 +0x5DD0 = 0x9438 +0x5F21 = 0x9439 +0x5F34 = 0x943A +0x5F45 = 0x9348 +0x5F67 = 0x943B +0x5FB7 = 0x943C +0x5FDE = 0x943D +0x605D = 0x943E +0x6085 = 0x943F +0x608A = 0x9440 +0x60D5 = 0x9442 +0x60DE = 0x9441 +0x60F2 = 0x9444 +0x6111 = 0x9445 +0x6120 = 0x9443 +0x6130 = 0x9447 +0x6137 = 0x9446 +0x6198 = 0x9448 +0x6213 = 0x9449 +0x62A6 = 0x944A +0x63F5 = 0x944B +0x6460 = 0x944C +0x649D = 0x944D +0x64CE = 0x944E +0x654E = 0x944F +0x6600 = 0x9450 +0x6609 = 0x9453 +0x6615 = 0x9451 +0x661E = 0x9455 +0x6624 = 0x9456 +0x662E = 0x9454 +0x6631 = 0x9344 +0x663B = 0x9452 +0x6657 = 0x9458 +0x6659 = 0x9459 +0x6665 = 0x9457 +0x6673 = 0x945B +0x6699 = 0x945C +0x66A0 = 0x945D +0x66B2 = 0x945E +0x66BF = 0x945F +0x66FA = 0x9460 +0x66FB = 0x9347 +0x670E = 0x9461 +0x6766 = 0x9463 +0x67BB = 0x9464 +0x67C0 = 0x9466 +0x6801 = 0x9467 +0x6844 = 0x9468 +0x6852 = 0x9465 +0x68C8 = 0x9345 +0x68CF = 0x9469 +0x6968 = 0x946B +0x6998 = 0x946D +0x69E2 = 0x946E +0x6A30 = 0x946F +0x6A46 = 0x9471 +0x6A6B = 0x9470 +0x6A73 = 0x9472 +0x6A7E = 0x9473 +0x6AE2 = 0x9474 +0x6AE4 = 0x9475 +0x6BD6 = 0x9476 +0x6C3F = 0x9477 +0x6C5C = 0x9478 +0x6C6F = 0x947A +0x6C86 = 0x9479 +0x6CDA = 0x947B +0x6D04 = 0x947C +0x6D6F = 0x947E +0x6D87 = 0x947D +0x6D96 = 0x9521 +0x6DAC = 0x9522 +0x6DCF = 0x9523 +0x6DF2 = 0x9525 +0x6DF8 = 0x9524 +0x6DFC = 0x9526 +0x6E27 = 0x9529 +0x6E39 = 0x9527 +0x6E3C = 0x952A +0x6E5C = 0x9528 +0x6EBF = 0x952B +0x6F88 = 0x952C +0x6FB5 = 0x952D +0x6FF5 = 0x952E +0x7005 = 0x952F +0x7007 = 0x9530 +0x7028 = 0x9531 +0x7085 = 0x9532 +0x70AB = 0x9533 +0x70BB = 0x9343 +0x7104 = 0x9535 +0x710F = 0x9534 +0x7146 = 0x9537 +0x7147 = 0x9538 +0x715C = 0x9536 +0x71C1 = 0x953A +0x71FE = 0x953B +0x72B1 = 0x953C +0x72BE = 0x953D +0x7324 = 0x953E +0x7377 = 0x9540 +0x73BD = 0x9541 +0x73C9 = 0x9542 +0x73D2 = 0x9545 +0x73D6 = 0x9543 +0x73E3 = 0x9544 +0x73F5 = 0x9547 +0x7407 = 0x9546 +0x7426 = 0x9548 +0x7429 = 0x954A +0x742A = 0x9549 +0x742E = 0x954B +0x7462 = 0x954C +0x7489 = 0x954D +0x749F = 0x954E +0x7501 = 0x954F +0x752F = 0x942A +0x756F = 0x9550 +0x7682 = 0x9551 +0x769B = 0x9554 +0x769C = 0x9552 +0x769E = 0x9553 +0x76A6 = 0x9555 +0x7746 = 0x9557 +0x7821 = 0x9559 +0x784E = 0x955A +0x7864 = 0x955B +0x787A = 0x955C +0x7930 = 0x955D +0x7994 = 0x9561 +0x799B = 0x9563 +0x7AD1 = 0x9564 +0x7AE7 = 0x9565 +0x7AEB = 0x9567 +0x7B9E = 0x9568 +0x7D48 = 0x956A +0x7D5C = 0x956B +0x7DA0 = 0x956D +0x7DB7 = 0x956C +0x7DD6 = 0x956E +0x7E52 = 0x956F +0x7E8A = 0x933D +0x7F47 = 0x9570 +0x7FA1 = 0x9571 +0x8301 = 0x9573 +0x8362 = 0x9574 +0x837F = 0x9575 +0x83C7 = 0x9576 +0x83F6 = 0x9577 +0x8448 = 0x9578 +0x84B4 = 0x9579 +0x84DC = 0x9341 +0x8553 = 0x957A +0x8559 = 0x957B +0x856B = 0x957C +0x85B0 = 0x957E +0x8807 = 0x9623 +0x88F5 = 0x9624 +0x891C = 0x933E +0x8A12 = 0x9625 +0x8A37 = 0x9626 +0x8A79 = 0x9627 +0x8AA7 = 0x9628 +0x8ABE = 0x9629 +0x8ADF = 0x962A +0x8AF6 = 0x962C +0x8B53 = 0x962D +0x8B7F = 0x962E +0x8CF0 = 0x962F +0x8CF4 = 0x9630 +0x8D12 = 0x9631 +0x8D76 = 0x9632 +0x8ECF = 0x9634 +0x9067 = 0x9637 +0x90DE = 0x9638 +0x9115 = 0x963A +0x9127 = 0x963B +0x91D7 = 0x963D +0x91DA = 0x963C +0x91DE = 0x963E +0x91E4 = 0x9641 +0x91E5 = 0x9642 +0x91ED = 0x963F +0x91EE = 0x9640 +0x9206 = 0x9643 +0x920A = 0x9645 +0x9210 = 0x9644 +0x9239 = 0x964C +0x923A = 0x9646 +0x923C = 0x9648 +0x9240 = 0x9647 +0x924E = 0x9649 +0x9251 = 0x964B +0x9259 = 0x964A +0x9267 = 0x964D +0x9277 = 0x964F +0x9278 = 0x9650 +0x9288 = 0x9340 +0x92A7 = 0x964E +0x92D0 = 0x9654 +0x92D3 = 0x9658 +0x92D5 = 0x9656 +0x92D7 = 0x9652 +0x92D9 = 0x9653 +0x92E0 = 0x9657 +0x92E7 = 0x9651 +0x92F9 = 0x9346 +0x92FB = 0x965B +0x92FF = 0x965E +0x9302 = 0x9660 +0x931D = 0x965F +0x931E = 0x965D +0x9321 = 0x965A +0x9325 = 0x9659 +0x9348 = 0x933F +0x9357 = 0x9662 +0x9370 = 0x9661 +0x93A4 = 0x9663 +0x93C6 = 0x9664 +0x93DE = 0x9665 +0x93F8 = 0x9666 +0x9431 = 0x9667 +0x9445 = 0x9668 +0x9448 = 0x9669 +0x9592 = 0x966A +0x969D = 0x966D +0x96AF = 0x966E +0x9733 = 0x966F +0x973B = 0x9670 +0x9743 = 0x9671 +0x974D = 0x9672 +0x974F = 0x9673 +0x9751 = 0x9674 +0x9755 = 0x9675 +0x9857 = 0x9676 +0x9865 = 0x9677 +0x9927 = 0x967A +0x999E = 0x967C +0x9A4E = 0x967D +0x9AD9 = 0x967E +0x9ADC = 0x9721 +0x9B72 = 0x9723 +0x9B75 = 0x9722 +0x9B8F = 0x9724 +0x9BB1 = 0x9725 +0x9BBB = 0x9726 +0x9C00 = 0x9727 +0x9D6B = 0x9729 +0x9D70 = 0x9728 +0x9E19 = 0x972B +0x9ED1 = 0x972C +0xF929 = 0x9462 +0xF9DC = 0x966B +0xFA0E = 0x9370 +0xFA0F = 0x937B +0xFA10 = 0x937C +0xFA11 = 0x9433 +0xFA12 = 0x945A +0xFA13 = 0x946A +0xFA14 = 0x946C +0xFA15 = 0x9539 +0xFA16 = 0x953F +0xFA17 = 0x9556 +0xFA18 = 0x955E +0xFA19 = 0x955F +0xFA1A = 0x9560 +0xFA1B = 0x9562 +0xFA1C = 0x9566 +0xFA1D = 0x9569 +0xFA1E = 0x9572 +0xFA1F = 0x957D +0xFA20 = 0x9621 +0xFA21 = 0x9622 +0xFA22 = 0x962B +0xFA23 = 0x9633 +0xFA24 = 0x9635 +0xFA25 = 0x9636 +0xFA26 = 0x9639 +0xFA27 = 0x9655 +0xFA28 = 0x965C +0xFA29 = 0x966C +0xFA2A = 0x9678 +0xFA2B = 0x9679 +0xFA2C = 0x967B +0xFA2D = 0x972A +0xFF02 = 0x9338 +0xFF07 = 0x9337 +0xFFE2 = 0x9335 +0xFFE4 = 0x9336 +END_MAP |