mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 19:10:23 -10:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
2060885a61 | ||
|
|
454dcdbf14 | ||
|
|
f1e2dea617 | ||
|
|
aeb0f402b0 | ||
|
|
a9c99094e5 | ||
|
|
07dadd18e6 | ||
|
|
dfacc317bb | ||
|
|
50d954e407 | ||
|
|
d3654afcba | ||
|
|
055226227b | ||
|
|
4df4036832 | ||
|
|
0e54ff0114 | ||
|
|
fdac2e4440 | ||
|
|
de5d618bba | ||
|
|
f5895c6858 | ||
|
|
b927f644a1 | ||
|
|
eea28c3d23 | ||
|
|
8574ac82b3 | ||
|
|
391cd6613a | ||
|
|
3dfe241caa | ||
|
|
8be3df2b99 | ||
|
|
1c4c28a73b | ||
|
|
367d52afe7 | ||
|
|
10fbbd6de6 | ||
|
|
783ac37230 | ||
|
|
cf85b96e59 | ||
|
|
bb5893fd12 | ||
|
|
f2e90236bb | ||
|
|
7a2d262277 | ||
|
|
2cf49db82d | ||
|
|
12b25d25c1 | ||
|
|
bb16b9c077 | ||
|
|
8edca8c7e4 | ||
|
|
c01ccfa6f9 | ||
|
|
139aad4a64 | ||
|
|
bf97c0f83d | ||
|
|
2ef83b66ab | ||
|
|
604542bea7 | ||
|
|
71178114f2 | ||
|
|
e000f7dd39 | ||
|
|
dd1e6a5c10 | ||
|
|
2203f51858 | ||
|
|
0037b58a94 | ||
|
|
d481bfdf60 | ||
|
|
4bb37638b2 | ||
|
|
e04dfe9f14 | ||
|
|
5f0e61d090 | ||
|
|
0eb502a6bd | ||
|
|
7487ebe7dc | ||
|
|
519d06df66 | ||
|
|
a1f03ed082 | ||
|
|
110f012a21 | ||
|
|
ad25b25d96 | ||
|
|
ee5cee70b6 | ||
|
|
61ed992ec2 | ||
|
|
eb89850b2e | ||
|
|
e80c1f995b | ||
|
|
643cb4cece | ||
|
|
c04e247ac7 | ||
|
|
a71b02136a | ||
|
|
2e92d252d3 | ||
|
|
73094fe20a | ||
|
|
f3cf15ac50 | ||
|
|
e90b829c52 | ||
|
|
ad95a40a96 | ||
|
|
5fef166878 | ||
|
|
ebcbb5fca0 | ||
|
|
8403be52d1 | ||
|
|
a657e86da3 | ||
|
|
e94b7baef0 | ||
|
|
b3aabafaa5 | ||
|
|
e0063d14b3 | ||
|
|
a1e50dc4c2 | ||
|
|
e742eb5e0e | ||
|
|
6034ab0b3e | ||
|
|
da6130fc83 | ||
|
|
2de418a43d | ||
|
|
2386cc7881 | ||
|
|
9056983301 | ||
|
|
78cefb0f7b | ||
|
|
6a89f19c0d | ||
|
|
4e22c5b894 | ||
|
|
6c03dfc7f7 | ||
|
|
dbb66e9867 | ||
|
|
62cc2c3017 | ||
|
|
fb12a3e446 | ||
|
|
2021462e95 | ||
|
|
86d6940fac | ||
|
|
4e1aed55c0 | ||
|
|
688cde0904 | ||
|
|
ffa9b1f8a4 | ||
|
|
e135755a10 | ||
|
|
e976db7f29 | ||
|
|
7c83de8e4b | ||
|
|
5d8eab5ec8 | ||
|
|
0032d48b02 | ||
|
|
734d904e3e | ||
|
|
06c96bb5d1 | ||
|
|
b8bdaccfda | ||
|
|
3e7f3ae17c | ||
|
|
c1595a2d68 | ||
|
|
3ee422999e | ||
|
|
a2a8d1547f | ||
|
|
e2440e9757 | ||
|
|
4ba3ae74aa | ||
|
|
b5f0912fcd | ||
|
|
c94963533c | ||
|
|
72e36542ad | ||
|
|
02253ae5cd | ||
|
|
7997efba36 | ||
|
|
68e9564374 | ||
|
|
7ef9bfb6a3 | ||
|
|
a20fc7fc78 | ||
|
|
89b878c5df | ||
|
|
e751b881bf | ||
|
|
31d8c204a5 | ||
|
|
49efecf987 | ||
|
|
73b75c4bef | ||
|
|
6c3be28a21 | ||
|
|
0544e9c682 | ||
|
|
23bb65c7a5 | ||
|
|
4372c15832 | ||
|
|
a724359910 | ||
|
|
ff4ec3d133 | ||
|
|
26c28da391 | ||
|
|
b55c75b6e8 | ||
|
|
469bc8f420 | ||
|
|
5877256e30 | ||
|
|
b2d22b5280 | ||
|
|
f9b5964873 | ||
|
|
8423c62e96 | ||
|
|
64dc6f0c67 | ||
|
|
2399ceea61 | ||
|
|
7b6b950e75 | ||
|
|
b3c0ac9e01 | ||
|
|
59d02c87d9 | ||
|
|
593854090b | ||
|
|
1a166dda7f | ||
|
|
26e16e4f03 | ||
|
|
cc02964701 | ||
|
|
279b42114e | ||
|
|
149657947f | ||
|
|
357528fd8f | ||
|
|
5e66030ed3 | ||
|
|
0860aa1384 | ||
|
|
281f0d64b0 | ||
|
|
447eb0ca67 | ||
|
|
e335c3c1a5 | ||
|
|
062b365f91 | ||
|
|
e3df4e4f28 | ||
|
|
e05854d185 | ||
|
|
6500bbb03b | ||
|
|
6f85fc7bd9 | ||
|
|
3c63374b42 | ||
|
|
afcfff04a2 | ||
|
|
07aae53fac | ||
|
|
73692dfb45 | ||
|
|
ff90b8ddf9 | ||
|
|
711cd36714 | ||
|
|
7e5aeaec40 | ||
|
|
8db33b5870 | ||
|
|
848e0d00ed | ||
|
|
80e1821593 | ||
|
|
e9d574a279 | ||
|
|
6b24be88df | ||
|
|
72e148a30f | ||
|
|
b5f6dcaa76 | ||
|
|
b6688165af | ||
|
|
ba422481d9 | ||
|
|
dda30d78db | ||
|
|
0d05c3f3ad | ||
|
|
12f74ca39f | ||
|
|
6a7f5875ba | ||
|
|
afd46500d4 | ||
|
|
8e90ead220 | ||
|
|
6706e60bd6 | ||
|
|
62f353dcb1 | ||
|
|
9a47cec765 | ||
|
|
162bc3d1f5 | ||
|
|
bd17401c0b | ||
|
|
079e9ba377 | ||
|
|
7b119ca3dd | ||
|
|
7b72546da7 | ||
|
|
14043542c4 | ||
|
|
99dc6fbb98 | ||
|
|
0d5c1c0dd8 | ||
|
|
ae4a470206 | ||
|
|
ec02f3a0bc | ||
|
|
6947f0572d | ||
|
|
eb13c3c328 | ||
|
|
38cee46306 | ||
|
|
b007341324 | ||
|
|
045eaf1f77 | ||
|
|
14d6027ca5 | ||
|
|
3ce9a0001a | ||
|
|
79f8741a6f | ||
|
|
df0838678e | ||
|
|
dba32d8363 | ||
|
|
e9e273a33b | ||
|
|
3eedd84b18 | ||
|
|
0a7663f9d5 | ||
|
|
999104f3d0 | ||
|
|
9736241ce6 | ||
|
|
0bcab3f27c | ||
|
|
c556617566 | ||
|
|
6d07086de5 | ||
|
|
e9f6f3b943 | ||
|
|
d8b7637801 | ||
|
|
c55b3d8237 | ||
|
|
7b527404dd | ||
|
|
f9fcc1d75e | ||
|
|
7faec3f1be | ||
|
|
f6e3aaa0b1 | ||
|
|
e1a0fb9915 | ||
|
|
7a11028c33 | ||
|
|
4d00f22660 | ||
|
|
021524678e | ||
|
|
f22633ce5f | ||
|
|
e58b64a8f7 | ||
|
|
c1728ca2d8 | ||
|
|
31891eac8e | ||
|
|
709edea6bc | ||
|
|
f7fa3e9881 | ||
|
|
8125abef6b | ||
|
|
0c2ce64528 | ||
|
|
4786e2ce84 | ||
|
|
aa0acdf4b2 | ||
|
|
b8f3703cd2 | ||
|
|
9f4c5d1676 | ||
|
|
f13b9706bf | ||
|
|
6918735598 | ||
|
|
a98017c882 | ||
|
|
68f4f02905 | ||
|
|
16e0c171f6 | ||
|
|
ca050ddc0d | ||
|
|
da120aecba | ||
|
|
ffe1660a03 | ||
|
|
23b3aa1be5 | ||
|
|
8928220dab | ||
|
|
76f71ea43b | ||
|
|
9f997ad5cd | ||
|
|
7e6e368b3f | ||
|
|
abcf740ff1 | ||
|
|
bebcc60989 | ||
|
|
c1b04d89b3 | ||
|
|
93ed6ca92a | ||
|
|
d17799bf9a | ||
|
|
8421f2e98c | ||
|
|
e4667928cb | ||
|
|
7d9658d15a | ||
|
|
f8a4aeba3f | ||
|
|
bbec6a7fb9 | ||
|
|
695ddcd816 | ||
|
|
03d3f9b784 | ||
|
|
74467c031a | ||
|
|
3eeddbd69d | ||
|
|
3b8e6c5823 | ||
|
|
db76d32644 | ||
|
|
9b1aad2b6f | ||
|
|
501655c80d | ||
|
|
be956b47ec | ||
|
|
6407333030 | ||
|
|
ffb41f4845 | ||
|
|
25f808006a | ||
|
|
16e839a58d | ||
|
|
c9d6bbeb43 | ||
|
|
1e60974b30 | ||
|
|
0bc22702d7 | ||
|
|
b5cd8474f8 | ||
|
|
c50d7b5903 | ||
|
|
2d9580e265 | ||
|
|
685ae9720b | ||
|
|
f6d17c09aa | ||
|
|
59a19aba9a | ||
|
|
6914d4218b | ||
|
|
9749a97dc5 | ||
|
|
132cd42b52 | ||
|
|
2bfd7fce53 | ||
|
|
1fb1efbead | ||
|
|
52dfba4436 | ||
|
|
392d8a86c0 | ||
|
|
a1af8aab94 | ||
|
|
d44b07c77a | ||
|
|
ec10d849ad | ||
|
|
1328a6f481 | ||
|
|
3df5349721 | ||
|
|
5d9454bbbd | ||
|
|
aa086e723d | ||
|
|
4c4187ac70 | ||
|
|
18bcfe421b | ||
|
|
01e83c57f2 | ||
|
|
115a1bc919 | ||
|
|
e8824ac3e4 | ||
|
|
ca3c45f076 | ||
|
|
f2bce6f4ce | ||
|
|
e3a5c81cda | ||
|
|
5b96bba155 | ||
|
|
36cbf13e9b | ||
|
|
2ef5ab765d | ||
|
|
1d5f157767 | ||
|
|
b358c5c6ba | ||
|
|
826216fc0a | ||
|
|
999e715866 | ||
|
|
eba68d5a04 | ||
|
|
a7586e9345 | ||
|
|
8099daa3f3 | ||
|
|
2569eb1b80 | ||
|
|
d1eb94eb67 | ||
|
|
d554416afa | ||
|
|
8cfefa5129 | ||
|
|
9819ad6367 | ||
|
|
e148821cdd | ||
|
|
3fcb6699a2 | ||
|
|
d45d3ca5cd | ||
|
|
ec9cd9342d | ||
|
|
f77e88e224 | ||
|
|
2e6da6116b | ||
|
|
7ee74a2c67 | ||
|
|
5f2723750f | ||
|
|
901e27abde | ||
|
|
096cca20dc | ||
|
|
94280409f0 | ||
|
|
ef71ae0b4c | ||
|
|
e4db77f4fb | ||
|
|
b50d9debff | ||
|
|
e95210cc26 | ||
|
|
7a50edd0f8 | ||
|
|
73ef4bfacc | ||
|
|
2db249b6c6 | ||
|
|
f0a3f6ff0c | ||
|
|
dc405bc445 | ||
|
|
432d688ab2 | ||
|
|
56e0f5c928 | ||
|
|
0bfa6eba80 | ||
|
|
8d6c1867c0 | ||
|
|
e3f4037161 | ||
|
|
e53b062a80 | ||
|
|
d5725f2ff1 | ||
|
|
db16975b2c | ||
|
|
276270710a | ||
|
|
2176ccd445 | ||
|
|
708f7135e8 | ||
|
|
fc844c6c01 | ||
|
|
a52c79cb41 | ||
|
|
5a58a1b09c | ||
|
|
32bd01ec10 | ||
|
|
b407458d97 | ||
|
|
474fe75047 | ||
|
|
a49dae415f | ||
|
|
0d3a9e6aaf | ||
|
|
234ede86c6 | ||
|
|
643a34dd9a | ||
|
|
62f60f8731 | ||
|
|
1b0029d99e | ||
|
|
f03736cdec | ||
|
|
2ff1173034 | ||
|
|
59dc9ab7df | ||
|
|
17813fc84d | ||
|
|
cc1d059ed0 | ||
|
|
6d7b54637f | ||
|
|
a9de18eec9 | ||
|
|
cda70e3aea | ||
|
|
e2ec2cde28 | ||
|
|
057909bc36 | ||
|
|
93aff8c4da | ||
|
|
5f79974ab1 | ||
|
|
0f54d4b16f | ||
|
|
83b8fc6048 | ||
|
|
cc40965131 | ||
|
|
f973f337e3 | ||
|
|
cf42c5be87 | ||
|
|
afdd7b1d16 | ||
|
|
0239aa7828 | ||
|
|
d01a931d9f | ||
|
|
5f1b4c67f5 | ||
|
|
fdcb013b16 | ||
|
|
021c2720cf | ||
|
|
ba88a15e12 | ||
|
|
a03ff8d5ba | ||
|
|
4301d72d8c | ||
|
|
03317f7a4c | ||
|
|
77f0cd8d73 | ||
|
|
c57901837e | ||
|
|
2cb13bd9a8 | ||
|
|
b44bec6c3f | ||
|
|
7837ad922c | ||
|
|
c594caf965 | ||
|
|
85cf5e87a3 | ||
|
|
ef94f0465d | ||
|
|
fe249c988a | ||
|
|
b62468c7ec | ||
|
|
2b48d1c45b | ||
|
|
cbe5c9f1d7 | ||
|
|
9848badf22 | ||
|
|
29b37ee691 | ||
|
|
c991b0d27d | ||
|
|
c77d9a071f | ||
|
|
0160dcc880 | ||
|
|
b88507b22a | ||
|
|
101bcbc576 | ||
|
|
1bc7a5c672 | ||
|
|
affee047b3 | ||
|
|
cf3b279815 | ||
|
|
38435c8147 | ||
|
|
4c015b6312 | ||
|
|
5cff2490a6 | ||
|
|
ff0eb523ec | ||
|
|
02133437a9 | ||
|
|
a1bf6e0ea7 | ||
|
|
41681b5c8d | ||
|
|
5ac4160881 | ||
|
|
51853f78b0 | ||
|
|
b86562e6d7 | ||
|
|
5d84732a2a | ||
|
|
d2960a4b02 | ||
|
|
b736b03814 | ||
|
|
8c35777cb0 | ||
|
|
fe00426683 | ||
|
|
28f233ce52 | ||
|
|
d893e4d96c | ||
|
|
356f13e5b5 | ||
|
|
08e8e1f3ad | ||
|
|
4b4e6c118a | ||
|
|
b2f4a1cccb | ||
|
|
27dd4bbea0 | ||
|
|
9a4b3f5e01 | ||
|
|
ae14ed5b48 | ||
|
|
4936a9cfdd | ||
|
|
56837e12e2 | ||
|
|
8b737a2b3b | ||
|
|
54b164923f | ||
|
|
5c254cb310 | ||
|
|
4a25a54d0d | ||
|
|
40ea2dfb2d | ||
|
|
c4db22ae77 | ||
|
|
12ae4f82e7 | ||
|
|
5011ad5bf8 | ||
|
|
8721448885 | ||
|
|
acb3179a1c | ||
|
|
079a95a1e6 | ||
|
|
5fda660239 | ||
|
|
c816fb79c4 | ||
|
|
b5d4c0ea0b | ||
|
|
a17af36749 | ||
|
|
2eefff50b3 | ||
|
|
8e511e9e31 | ||
|
|
54ac5974b2 | ||
|
|
a8dcc7f06d | ||
|
|
ae841349e3 | ||
|
|
9ed5c36cd3 | ||
|
|
0441b0183a | ||
|
|
785a7ef43b | ||
|
|
b4879492ca | ||
|
|
e7086535fc | ||
|
|
3b0393cb64 | ||
|
|
332d2ced8a | ||
|
|
193e77c5cb | ||
|
|
33c90290aa | ||
|
|
1b4e5d7b3f | ||
|
|
c93b99378c | ||
|
|
9c0368959f | ||
|
|
043305a683 | ||
|
|
464a887dc8 | ||
|
|
68d2c7f12e | ||
|
|
d5aa1a82fd | ||
|
|
07513d7230 | ||
|
|
e65847b3f9 | ||
|
|
aa5d984a6d | ||
|
|
36beb952d2 | ||
|
|
5b684ccab5 | ||
|
|
76ba0a9d7f | ||
|
|
f91791a18d | ||
|
|
f82ceee6bb | ||
|
|
8ba95aa556 | ||
|
|
f6b277b235 | ||
|
|
69c9f2c6b3 | ||
|
|
409920670c | ||
|
|
1184f808fb | ||
|
|
51b30c8d57 | ||
|
|
db50b71b63 | ||
|
|
8a50239ee4 | ||
|
|
d7ae8d619e | ||
|
|
4b2f24ea56 | ||
|
|
ae52b007cf | ||
|
|
5455d3bcc9 | ||
|
|
9e1fdee82e | ||
|
|
9de3cc5947 | ||
|
|
974559cf5c | ||
|
|
f19cfba5e7 | ||
|
|
f4d826a8d4 | ||
|
|
b0a21ed982 | ||
|
|
05d8302025 | ||
|
|
4276594cbb | ||
|
|
0968f763a3 | ||
|
|
abdd012125 | ||
|
|
281e05c862 | ||
|
|
e5c4e36a5e | ||
|
|
c7a35e4544 | ||
|
|
5c623e61ff | ||
|
|
54890e5fa4 | ||
|
|
3ee223464a | ||
|
|
c1512698fd | ||
|
|
1859baf1d3 | ||
|
|
7a858ef3f1 | ||
|
|
081119cf87 | ||
|
|
37e118ce90 | ||
|
|
1a0547470d | ||
|
|
b1313d9e7f | ||
|
|
26cf616714 | ||
|
|
8d3599ce6d | ||
|
|
d6933f0cac | ||
|
|
b997879ae9 | ||
|
|
31d6d573f9 | ||
|
|
3583837ad7 | ||
|
|
fce1655a31 | ||
|
|
5e37acebe6 | ||
|
|
56b6a6396b | ||
|
|
9fc1f796b0 | ||
|
|
cb4d014f4c | ||
|
|
1734110f45 | ||
|
|
bcc53e7bad | ||
|
|
3dc3dc6f39 | ||
|
|
ea216a1299 | ||
|
|
96005596ea | ||
|
|
3491edf333 | ||
|
|
05fedf2865 | ||
|
|
5ddb5007c9 | ||
|
|
fa72802d3b | ||
|
|
bb667a46b5 | ||
|
|
4c5aafabb4 | ||
|
|
e983072823 | ||
|
|
35474b62da | ||
|
|
d5c20ef5e1 | ||
|
|
32ffb354c1 | ||
|
|
c48238d24e | ||
|
|
ba419c4ef8 | ||
|
|
271f6b2dc8 | ||
|
|
ef113c8323 | ||
|
|
2e2f30bd0c | ||
|
|
239886689a | ||
|
|
a97a5e5831 | ||
|
|
09754dbb8d | ||
|
|
5489fc358e | ||
|
|
e1bfc82707 | ||
|
|
4d1b3ab9d5 | ||
|
|
3069d9c5c3 | ||
|
|
a810886642 | ||
|
|
fc30c69bcf | ||
|
|
2e4f40e23d | ||
|
|
98fae5bd7f | ||
|
|
1093c32524 | ||
|
|
2b395e4143 | ||
|
|
80f46045ee | ||
|
|
1dbf4ea99d | ||
|
|
7e8c804d86 | ||
|
|
55634e1f2b | ||
|
|
b41bf89278 | ||
|
|
80575b9add | ||
|
|
425cd9f8fe | ||
|
|
3a6c0cbb1d | ||
|
|
ac893ff6f1 | ||
|
|
b0da22d0cc | ||
|
|
42a105053e | ||
|
|
e4cff48d9a | ||
|
|
962db8699b | ||
|
|
f8b7cbf694 | ||
|
|
c25efc9f92 | ||
|
|
2b31a83b28 | ||
|
|
b1d4839dd3 | ||
|
|
63da177af1 | ||
|
|
5e3f295d55 | ||
|
|
b65b32946f | ||
|
|
5bf2383288 | ||
|
|
3e02dca4b6 | ||
|
|
6563dbd72c | ||
|
|
230c0d7d06 | ||
|
|
b8204cc351 | ||
|
|
0c06e20cc0 | ||
|
|
5305f826e0 | ||
|
|
6718c8a85d | ||
|
|
f2008bcb4a | ||
|
|
f3c7da05e3 | ||
|
|
db6e307c86 | ||
|
|
a16a51c225 | ||
|
|
7818abc420 | ||
|
|
a0e8b42612 | ||
|
|
3923c5163d | ||
|
|
258276203c | ||
|
|
0b315c47ee | ||
|
|
b4244586e2 | ||
|
|
740dee6302 | ||
|
|
ab1d8f9b91 | ||
|
|
0673413dec | ||
|
|
22b9f047d9 | ||
|
|
a266b5dd42 | ||
|
|
a3bba04e9c | ||
|
|
8d9dd544ae | ||
|
|
1ff926d1d3 | ||
|
|
48cabf2578 | ||
|
|
5dc2a03871 | ||
|
|
416a22b786 | ||
|
|
f80004b19f | ||
|
|
b1c3e6b4bc | ||
|
|
9e679a80e4 | ||
|
|
c87c2fda2b | ||
|
|
d2bb06c6f2 | ||
|
|
05ee953635 | ||
|
|
97542158b6 | ||
|
|
d201881f93 | ||
|
|
ff19f0aa42 | ||
|
|
e09e903225 | ||
|
|
06a84330ee | ||
|
|
e4e5331199 | ||
|
|
22239e7634 | ||
|
|
5d82d5ca9f | ||
|
|
4358d78a0e | ||
|
|
6ec3005613 | ||
|
|
6c10f94827 | ||
|
|
e60e67f9be | ||
|
|
71ed9a2dd0 | ||
|
|
b83d3bf2ad | ||
|
|
7ab3214054 | ||
|
|
49f4f066e8 | ||
|
|
a3d9d0e4d5 | ||
|
|
d1062e5f1d | ||
|
|
eeb019ede8 | ||
|
|
b4f60eb86b | ||
|
|
a524dfbda7 | ||
|
|
7912776803 | ||
|
|
75ab78e4bb | ||
|
|
ad41847caa | ||
|
|
9443a98307 | ||
|
|
f5d4a50a8e | ||
|
|
a47aca07c9 | ||
|
|
feb82bd617 | ||
|
|
66c54d45e3 | ||
|
|
92f445d92c | ||
|
|
61be84f5d6 | ||
|
|
d46fda6d71 | ||
|
|
6231adbb70 | ||
|
|
80105b4782 | ||
|
|
f7cd19e933 | ||
|
|
d0497fcc46 | ||
|
|
ecf4ffdc4f | ||
|
|
474fba8120 | ||
|
|
416f94ed9b | ||
|
|
a58ff9d3c1 | ||
|
|
21c8194c65 | ||
|
|
a72919388c | ||
|
|
e8d3094b31 | ||
|
|
df590f5519 | ||
|
|
4c38a8392d | ||
|
|
851bbb86ad | ||
|
|
8df6fef700 | ||
|
|
56d9f7cfdc | ||
|
|
955251d0a3 | ||
|
|
67576cf33d | ||
|
|
e822f0183a | ||
|
|
296030ce22 | ||
|
|
4924193d17 | ||
|
|
589c754cf8 | ||
|
|
0ab5f8b4da | ||
|
|
0f999df09c | ||
|
|
2634b55731 | ||
|
|
2255211cb9 | ||
|
|
60f5e9158d | ||
|
|
affbd09104 | ||
|
|
736b3c4147 | ||
|
|
c3bad0708e | ||
|
|
73651b5b2a | ||
|
|
b30b11435b | ||
|
|
6f8509ece5 | ||
|
|
bdb0cea332 | ||
|
|
6cd8fed06e | ||
|
|
e2f0145377 | ||
|
|
11be232e56 | ||
|
|
fcaff569a5 | ||
|
|
fca4a88c75 | ||
|
|
45e37eacb8 | ||
|
|
cd394ccd36 | ||
|
|
709db5d5f8 | ||
|
|
f991383273 | ||
|
|
c976f20047 | ||
|
|
1d8e204102 | ||
|
|
22803f39c3 | ||
|
|
b5a338749b | ||
|
|
bf83a12174 | ||
|
|
d40b1d1609 | ||
|
|
283f8c047e | ||
|
|
cb9a938821 | ||
|
|
526427e05b | ||
|
|
2920d505fb | ||
|
|
426dcfcabe | ||
|
|
8e5efe2829 | ||
|
|
ef88f0cf1a | ||
|
|
9e0e7f8914 | ||
|
|
ef40482a9f | ||
|
|
5ea1c562e7 | ||
|
|
5216d74308 | ||
|
|
9f5fce963b | ||
|
|
3289aeecf0 | ||
|
|
857ad5b9d5 | ||
|
|
9079686460 | ||
|
|
eff68aae47 | ||
|
|
ed8437dd7a | ||
|
|
dbecdf4f41 | ||
|
|
a664a96d5e | ||
|
|
a1d3678325 | ||
|
|
eb97c76bed | ||
|
|
92046f55a8 | ||
|
|
9a22266fe9 | ||
|
|
3a87b353c4 | ||
|
|
f08d92fb2c | ||
|
|
d5dcc5e01a | ||
|
|
79edbd76d7 | ||
|
|
d0cd6199a5 | ||
|
|
db0e7930ea | ||
|
|
e944fc091a | ||
|
|
e2f62c9a84 | ||
|
|
9a60dcf99b | ||
|
|
dc63b8777c | ||
|
|
f9553b038a | ||
|
|
c987ba086d | ||
|
|
7aa088230d | ||
|
|
5bdc541416 | ||
|
|
5e9c839aa8 | ||
|
|
0fb81cd38b | ||
|
|
1e1584a596 | ||
|
|
d4a63fe1ba | ||
|
|
ed5dfb871d | ||
|
|
702900d56c | ||
|
|
3c36cfbe06 | ||
|
|
e9ad8331ab | ||
|
|
1927c93e49 | ||
|
|
e2c8d7c638 | ||
|
|
314b4cfd3d | ||
|
|
9d9d871fd5 | ||
|
|
e36c7e7ab7 | ||
|
|
3bf01dba9c | ||
|
|
f1829ef3ee | ||
|
|
6a0775fc8e | ||
|
|
72ef48ba9e | ||
|
|
353f7edbb1 | ||
|
|
b810eeffea | ||
|
|
86ffcfbcd7 | ||
|
|
2875f13d5a | ||
|
|
175d7bd7d5 | ||
|
|
13149f5496 | ||
|
|
df4a123f90 | ||
|
|
4a003c8789 | ||
|
|
9b0c3c66f4 | ||
|
|
c7f770bb99 | ||
|
|
52197e5447 | ||
|
|
997a654a60 | ||
|
|
d7bab4c7ce | ||
|
|
ad69b1a164 | ||
|
|
fa55b71247 | ||
|
|
db5abb3560 | ||
|
|
d120d26733 | ||
|
|
8c50416580 | ||
|
|
36162c3ff7 | ||
|
|
f1c55b6dd0 | ||
|
|
8a353fd00a | ||
|
|
feee3a2d52 | ||
|
|
e3cd02888b | ||
|
|
0d10f00cee | ||
|
|
5b0b17c749 | ||
|
|
7a8b26be63 | ||
|
|
5dd69de71c | ||
|
|
4b51e12ff0 | ||
|
|
b367c60337 | ||
|
|
5ce95244c0 | ||
|
|
10aeb580a6 | ||
|
|
81641092ff | ||
|
|
6cde095dde | ||
|
|
9b887fa021 | ||
|
|
ce022e0ec8 | ||
|
|
d105e774c6 | ||
|
|
a5b993a0aa | ||
|
|
791abbc22e | ||
|
|
4e4824afab | ||
|
|
5a04c908e9 | ||
|
|
44a50a66fd | ||
|
|
ac7690b850 | ||
|
|
2a8d4abd6c | ||
|
|
bfd8355ba8 | ||
|
|
e5cfbdb163 | ||
|
|
4f6bd9f829 | ||
|
|
dbf202391b | ||
|
|
0e89a8a3bb | ||
|
|
6b0b907592 | ||
|
|
32d7586359 | ||
|
|
dd7e30e170 | ||
|
|
2fc191f4f1 | ||
|
|
79e1893a20 | ||
|
|
9bc542c66c | ||
|
|
f8a5badd66 | ||
|
|
7686b30faf | ||
|
|
015354d526 | ||
|
|
64cba5995a | ||
|
|
9e4839bee4 | ||
|
|
8a3f91bf2b | ||
|
|
fa33bf99de | ||
|
|
d945b27f76 | ||
|
|
0cca56c00a | ||
|
|
b931f5eb8a | ||
|
|
a770df5bbb | ||
|
|
46509c3965 | ||
|
|
2644c65119 | ||
|
|
d7d1bdeae6 | ||
|
|
a5d8bd1877 | ||
|
|
3f86e025da | ||
|
|
0c24279edc | ||
|
|
1326fba1d3 | ||
|
|
e7c88b9637 | ||
|
|
ca92430343 | ||
|
|
22b62ac688 | ||
|
|
791d861bfa | ||
|
|
5bd928561f | ||
|
|
9a67faf73e | ||
|
|
4079d896fb | ||
|
|
bf52f76c24 | ||
|
|
afa895fbfd | ||
|
|
0249778934 | ||
|
|
fc22b0d380 | ||
|
|
ed2785c27d | ||
|
|
272f39cdad | ||
|
|
8265c6441f | ||
|
|
f3a7ced97e | ||
|
|
defe0dc9e5 | ||
|
|
b520de41c5 | ||
|
|
4415bf809e | ||
|
|
bd354cd2a0 | ||
|
|
33b1284563 | ||
|
|
1de41a28ca | ||
|
|
1b48801db8 | ||
|
|
1bdd1ab34b | ||
|
|
f928cb0cda | ||
|
|
843eaac33a | ||
|
|
a110b9a863 | ||
|
|
111ff55362 | ||
|
|
99527b60f7 | ||
|
|
9597e13153 | ||
|
|
d434be130a | ||
|
|
8b0455b109 | ||
|
|
34885e320e | ||
|
|
d43ab974ad | ||
|
|
f47d7b306e | ||
|
|
ba2bf46a3e | ||
|
|
83021387c7 | ||
|
|
323cc1f9cd | ||
|
|
0e89fce591 | ||
|
|
d1246cf607 | ||
|
|
a879634218 | ||
|
|
06e8478883 | ||
|
|
dfe239bd47 | ||
|
|
1e1ee95270 | ||
|
|
591b660e93 | ||
|
|
81991d6258 | ||
|
|
82577871f3 | ||
|
|
f97ec68693 | ||
|
|
010cbb1bdf | ||
|
|
0a4551c1ae | ||
|
|
623e6fdae4 | ||
|
|
1b55679695 | ||
|
|
465c49f4b8 | ||
|
|
d1ecd76eff | ||
|
|
e47493d38f | ||
|
|
4e1d88e35e | ||
|
|
55411e33a3 | ||
|
|
de5ce47aa4 | ||
|
|
9c40e08964 | ||
|
|
735fbb5130 | ||
|
|
6833db4028 | ||
|
|
70988a3ad3 | ||
|
|
ffe328056b | ||
|
|
c2ac301c3b | ||
|
|
57a7e40935 | ||
|
|
e72146160f | ||
|
|
67008ec355 | ||
|
|
9d79ec487d | ||
|
|
3023fcd88d | ||
|
|
802d88b3f7 | ||
|
|
405055fb7d | ||
|
|
66d8f07ae4 | ||
|
|
ab46838857 | ||
|
|
e35eb40d4e | ||
|
|
7891402b56 | ||
|
|
36253ba8b8 | ||
|
|
0624655c6e | ||
|
|
16d25f7466 | ||
|
|
ac65c444d4 | ||
|
|
0df658baf4 | ||
|
|
20be524dd8 | ||
|
|
2ae8208e44 | ||
|
|
5c59c1a2b1 | ||
|
|
4d87d2bf42 | ||
|
|
624f147292 | ||
|
|
3cef05cec5 | ||
|
|
0aca46a040 | ||
|
|
a9aba76378 | ||
|
|
60e89612fa | ||
|
|
d63d755da1 | ||
|
|
c60ac16378 | ||
|
|
d0cd3ef160 | ||
|
|
b6b04ba966 | ||
|
|
4881b16d89 | ||
|
|
bece72d5b5 | ||
|
|
9915204379 | ||
|
|
8f708d9159 | ||
|
|
1f42623354 | ||
|
|
0df7d558ad | ||
|
|
cdc6e8121a | ||
|
|
5a5f87e557 | ||
|
|
cdd9ebc625 | ||
|
|
ca909bc565 | ||
|
|
8cc436531a | ||
|
|
e68f350007 | ||
|
|
4493c2f403 | ||
|
|
e5d383158e | ||
|
|
398784cf63 | ||
|
|
04def0e093 | ||
|
|
e7cfe17f72 | ||
|
|
f6d18264e8 | ||
|
|
26f10a5ef2 | ||
|
|
2db68a79ec | ||
|
|
074dd116b5 | ||
|
|
39bf505fc8 | ||
|
|
7fa479a7be | ||
|
|
0e72616dce | ||
|
|
62fe7b089e | ||
|
|
8e26f9cfaa | ||
|
|
50cf0a1d10 | ||
|
|
633d211e5f | ||
|
|
39fe36ae8c | ||
|
|
567c035fb3 | ||
|
|
922dfc4b3d | ||
|
|
467d6874aa | ||
|
|
ed65e24aa2 | ||
|
|
a0b63a3a2b | ||
|
|
2a71fad59b | ||
|
|
533db1f6d6 | ||
|
|
9a9a2552ee | ||
|
|
6a793a7e4c | ||
|
|
58da214495 | ||
|
|
8a9d0d3a6f | ||
|
|
27429d34b2 | ||
|
|
8a8571b55a | ||
|
|
1665b5b5f9 | ||
|
|
3ad554ae46 | ||
|
|
8b400082cd | ||
|
|
05d0acdf9c | ||
|
|
d051a5f14c | ||
|
|
1c829a1da6 | ||
|
|
38486c66a7 | ||
|
|
f6974a69f0 | ||
|
|
054a55eb8a | ||
|
|
64ccedaae1 | ||
|
|
f30a45aa81 | ||
|
|
f87fdfe28b | ||
|
|
991dcf3052 | ||
|
|
7fe8800db6 | ||
|
|
c524434bdd | ||
|
|
9499c0c0c8 | ||
|
|
61653dcf07 | ||
|
|
2692004c15 | ||
|
|
c63be4a417 | ||
|
|
cee7cd6432 | ||
|
|
389d8b96eb | ||
|
|
d8e2cf5a68 | ||
|
|
22b8e0ef8f | ||
|
|
c72c36abd3 | ||
|
|
faa9aa885a | ||
|
|
d5365829c9 | ||
|
|
9de46ebb4b | ||
|
|
b08ba63e3b | ||
|
|
c3ef3b2ace | ||
|
|
ce0b941981 | ||
|
|
06ef625369 | ||
|
|
e34de2a008 | ||
|
|
d2ab69888d | ||
|
|
b5443be6ef | ||
|
|
9d3742f8a4 | ||
|
|
e17a1613a0 | ||
|
|
93c137f414 | ||
|
|
a12f24d3c0 | ||
|
|
e0c104ea39 | ||
|
|
759613b0ac | ||
|
|
5c890a25c4 | ||
|
|
b23e7d5908 | ||
|
|
424c67c8bb | ||
|
|
63e87414b7 | ||
|
|
f44e10dcd8 | ||
|
|
320677a3a6 | ||
|
|
dce63b64e2 | ||
|
|
6869e30046 | ||
|
|
5bc5019876 | ||
|
|
ed209759fd | ||
|
|
934b45908c | ||
|
|
f3e6fb6faa | ||
|
|
cbf795e489 | ||
|
|
609e0fd746 | ||
|
|
791551a1fd | ||
|
|
30919f6c89 | ||
|
|
e78fe12a71 | ||
|
|
405da0cfc5 | ||
|
|
35993fc816 | ||
|
|
7fb9b61d1c | ||
|
|
82569adb9a | ||
|
|
c8aa8adc77 | ||
|
|
2c8ed7e761 | ||
|
|
cf3230844f | ||
|
|
625275d351 | ||
|
|
f7c08d45f1 | ||
|
|
400a0fa7f4 | ||
|
|
019038fb65 | ||
|
|
9e4b82f521 | ||
|
|
29b4a0ff4a | ||
|
|
b1ead8f0f2 | ||
|
|
d15008ab68 | ||
|
|
5db8a0e001 | ||
|
|
c47eee4306 | ||
|
|
d12ea80ba6 | ||
|
|
ea278b331e | ||
|
|
eccbfed148 | ||
|
|
63a3913c54 | ||
|
|
b519ef7ce6 | ||
|
|
519c2ff9d8 | ||
|
|
cabda218a6 | ||
|
|
461571d604 | ||
|
|
2f08aa2447 | ||
|
|
c00e025c5f | ||
|
|
70861f6802 | ||
|
|
a43c7989ec | ||
|
|
9b3b238e80 | ||
|
|
eb1f7e44e4 | ||
|
|
b3729fc348 | ||
|
|
bf80ac2e15 | ||
|
|
63a1712c15 | ||
|
|
b30142248e | ||
|
|
71edd83a6b | ||
|
|
7199ee1b4d | ||
|
|
d1e2aa5fdc | ||
|
|
8bc60e48ee | ||
|
|
f48935593a | ||
|
|
8e2f430fc2 | ||
|
|
6a93351136 | ||
|
|
cbb727d8dc | ||
|
|
9a5092bbee | ||
|
|
038e5f96d8 | ||
|
|
d4be0148c3 | ||
|
|
e52326b762 | ||
|
|
be4664bfd0 | ||
|
|
f319403eeb | ||
|
|
afc3976ea8 | ||
|
|
458fefebb6 | ||
|
|
3c16ab8283 | ||
|
|
9d016aac59 | ||
|
|
f84db0ed75 | ||
|
|
4c2f952e2a | ||
|
|
14f7406846 | ||
|
|
08f452120b | ||
|
|
195b057940 | ||
|
|
b38a5247f3 | ||
|
|
802e7403cf | ||
|
|
468247ced6 | ||
|
|
274cd4eda7 | ||
|
|
5d695895ac | ||
|
|
6cb20fa399 | ||
|
|
f19df41f5e | ||
|
|
367b81aaf4 | ||
|
|
15a3e9c890 | ||
|
|
7d92c99513 | ||
|
|
c594f230cf | ||
|
|
ca4f4a397b | ||
|
|
b432805a27 | ||
|
|
018693ef40 | ||
|
|
b6894a1307 | ||
|
|
9aeafd95af | ||
|
|
ee06e135c8 | ||
|
|
a04c232b3e | ||
|
|
5d9b5d08bd | ||
|
|
c5f312e69f | ||
|
|
e8f766b2d0 | ||
|
|
339c974710 | ||
|
|
9acaf39177 | ||
|
|
db46d9bb48 | ||
|
|
caff4ab4f8 | ||
|
|
d61d2446a4 | ||
|
|
27666e78b5 | ||
|
|
9a4aae931c | ||
|
|
0c3d101ecd | ||
|
|
7bce180acd | ||
|
|
54ef5d26ba | ||
|
|
5bfe0eb17a | ||
|
|
12333d1f7f | ||
|
|
c9bf6fa840 | ||
|
|
9bbc6450fc | ||
|
|
23febb4ea2 | ||
|
|
bdbe31026b | ||
|
|
c39d86416b | ||
|
|
5b2bf58553 | ||
|
|
fd80f4cdfc | ||
|
|
36eaf686cb | ||
|
|
a5cba8a3e3 | ||
|
|
c9bc4f563d | ||
|
|
4ca77be3da | ||
|
|
5ef1e904fb | ||
|
|
b5e6a5d22e | ||
|
|
a36d71f207 | ||
|
|
61c1751f80 | ||
|
|
4de507decf | ||
|
|
1369850277 | ||
|
|
e7f4a77902 | ||
|
|
625ea56d71 | ||
|
|
4e816d153a | ||
|
|
29bf951a72 | ||
|
|
0910896799 | ||
|
|
168b76ca33 | ||
|
|
b5ccf16341 | ||
|
|
3b01111157 | ||
|
|
13fb783d5b | ||
|
|
c266c087a4 | ||
|
|
ea109a812e | ||
|
|
00f5a2eba0 | ||
|
|
cdd7bc786f | ||
|
|
3149727e48 | ||
|
|
c33530bc3b | ||
|
|
6e78aacf25 | ||
|
|
f9b6b80ab6 | ||
|
|
ef2bd985e5 | ||
|
|
7696d1e767 | ||
|
|
81b702e529 | ||
|
|
6b4b5ae9a5 | ||
|
|
4120192ea8 | ||
|
|
8f0e2b6836 | ||
|
|
04c71cf0d5 | ||
|
|
abbbbc7d11 | ||
|
|
6b4ae03b74 | ||
|
|
62bc89081e | ||
|
|
3eaa5c2d63 | ||
|
|
1f157cb4ad | ||
|
|
f75a384f70 | ||
|
|
46d6dfb034 | ||
|
|
1c2178293d | ||
|
|
cb4a85bc52 | ||
|
|
cf9da09578 | ||
|
|
700a35e242 | ||
|
|
db7b2aedae | ||
|
|
3cd14aa403 | ||
|
|
ec9fff9c16 | ||
|
|
e0c265bf13 | ||
|
|
6066a833df | ||
|
|
a45fb7d0dd | ||
|
|
1c42fd434a | ||
|
|
4859527992 | ||
|
|
b1de14e921 | ||
|
|
40ecc595bd | ||
|
|
8812a5324c | ||
|
|
1ebf09aa60 | ||
|
|
0286ebabeb | ||
|
|
bf83c44486 | ||
|
|
4b65909094 | ||
|
|
eef3063430 | ||
|
|
df076b425e | ||
|
|
38acb564e2 | ||
|
|
dd293f9286 | ||
|
|
5183d6ce46 | ||
|
|
38a5aa982d | ||
|
|
1fba2759ab | ||
|
|
701e5820f5 | ||
|
|
b7b157b35f | ||
|
|
413ae473a2 | ||
|
|
4952c2784e | ||
|
|
d3eb53af10 | ||
|
|
0b75ca2f34 | ||
|
|
fc29499600 | ||
|
|
46ba39cb3d | ||
|
|
8608fd450b | ||
|
|
12c30fc7d0 | ||
|
|
d40bf981ff | ||
|
|
a5a71e6825 | ||
|
|
ef3498561e | ||
|
|
438589918c | ||
|
|
f28bc624e2 | ||
|
|
ade5563df2 | ||
|
|
713a3e3504 | ||
|
|
73cb06b006 | ||
|
|
cd51bc0dcb | ||
|
|
f41c8f9902 | ||
|
|
cd2202a560 | ||
|
|
a895772503 | ||
|
|
1c5ba012dc | ||
|
|
fade38c871 | ||
|
|
04ea508bdc | ||
|
|
28cb278275 | ||
|
|
7b58b1b3bb | ||
|
|
a44b234d20 | ||
|
|
8b0f7ee219 | ||
|
|
9fee09ffac | ||
|
|
ee9154981d | ||
|
|
3a33b3ba56 | ||
|
|
1c3dd3b6df | ||
|
|
b765c01c73 | ||
|
|
55d373bf50 | ||
|
|
0634bc55a0 | ||
|
|
f32be9e2a8 | ||
|
|
2333913863 | ||
|
|
095999edf6 | ||
|
|
fcb53f7590 | ||
|
|
c5c6a46391 | ||
|
|
4cd802dd52 | ||
|
|
3cb83f1d3d | ||
|
|
b5f7580177 | ||
|
|
ac452caaf9 | ||
|
|
26d07ded90 | ||
|
|
6fffa82897 | ||
|
|
11e86809aa | ||
|
|
d2956e133a | ||
|
|
8e1db7b828 | ||
|
|
1a378c36c1 | ||
|
|
3679c2cccd | ||
|
|
32fb04e4db | ||
|
|
882d73d1ef | ||
|
|
3c7955a400 | ||
|
|
c985d1e78c | ||
|
|
414efd30f5 | ||
|
|
f156f9d2ea | ||
|
|
72352ee097 | ||
|
|
164b21a807 | ||
|
|
765fac406a | ||
|
|
7c32d23891 | ||
|
|
91bec20178 | ||
|
|
dbf56967d4 | ||
|
|
9a98ae9f60 | ||
|
|
1df5bfa6af | ||
|
|
dc0069d613 | ||
|
|
d4230a9e74 | ||
|
|
8a345b1116 | ||
|
|
f1b1f7e4ba | ||
|
|
8caa7b8d52 | ||
|
|
cbb8889e88 | ||
|
|
5b63c14e0b | ||
|
|
d5f372534b | ||
|
|
1d4958553c | ||
|
|
b70d2281fe | ||
|
|
bb6d29529d | ||
|
|
10173bda94 | ||
|
|
f9f59ce84d | ||
|
|
58ddb1b9ba | ||
|
|
847ee2e84e | ||
|
|
5425d7f449 | ||
|
|
b3635f858f | ||
|
|
92c42d3786 | ||
|
|
bdbbb0be53 | ||
|
|
01f32373b8 | ||
|
|
9480735bae | ||
|
|
fd287fd437 | ||
|
|
7d9e544016 | ||
|
|
cf4a4ffef3 | ||
|
|
ba240dad7a | ||
|
|
c8f29d7894 | ||
|
|
460a3e16d5 | ||
|
|
fca8d10a1b | ||
|
|
87748c062d | ||
|
|
5285cef890 | ||
|
|
3165e9439e | ||
|
|
acf0ef2491 | ||
|
|
bc76f237ce | ||
|
|
03ae846ed8 | ||
|
|
a84ce70f07 | ||
|
|
3dcdffa3d3 | ||
|
|
0f13b99cc8 | ||
|
|
6b456c265a | ||
|
|
9d55c814e2 | ||
|
|
f1e7aca3bd | ||
|
|
842d08d4cd | ||
|
|
1cb4839fba | ||
|
|
55cf73a721 | ||
|
|
fda2c0b177 | ||
|
|
7d0dc9454e | ||
|
|
3d5d039e2b | ||
|
|
b1b2f7650f | ||
|
|
17e4f87593 | ||
|
|
6fc94963a6 | ||
|
|
d60339354e | ||
|
|
625ea07825 | ||
|
|
eef9493170 | ||
|
|
ea20055173 | ||
|
|
daa29c8628 | ||
|
|
69feb0bc36 | ||
|
|
3b35810755 | ||
|
|
377111edf3 | ||
|
|
8a0143f98d | ||
|
|
8fff972898 | ||
|
|
dbee5b2084 | ||
|
|
49c28c4b9d | ||
|
|
d0ff840f18 | ||
|
|
832b700015 | ||
|
|
8deab983f8 | ||
|
|
0557631ec0 | ||
|
|
cf61fe51ac | ||
|
|
c8ada60ec8 | ||
|
|
8ee5e23537 | ||
|
|
8e4f5881fe | ||
|
|
ccc79b094e | ||
|
|
cff7fa205b | ||
|
|
769a3265d6 | ||
|
|
eb94ad4da8 | ||
|
|
4e47010b48 | ||
|
|
0254c244a8 | ||
|
|
11d169f36a | ||
|
|
0b26f57d40 | ||
|
|
8bec3c50f3 | ||
|
|
ab2b985693 | ||
|
|
9e3aae2189 | ||
|
|
6d68675285 | ||
|
|
709cc26e5a | ||
|
|
7a05b14771 | ||
|
|
99db2d8223 | ||
|
|
50f4a53efb | ||
|
|
a57a294aa8 | ||
|
|
46efd171be | ||
|
|
8830ff436a | ||
|
|
3f0bdeb968 | ||
|
|
949cd9ebff | ||
|
|
2c58bb85f8 | ||
|
|
717d7681b2 | ||
|
|
5ab25f7d43 | ||
|
|
4c19878420 | ||
|
|
36bc87e690 | ||
|
|
1720d4fdce | ||
|
|
ba723ab1b1 | ||
|
|
7dee91aaf0 | ||
|
|
c5cb8b0cf2 | ||
|
|
eade2d863f | ||
|
|
c1f7631e75 | ||
|
|
0a86ce3801 | ||
|
|
6a3a172fa9 | ||
|
|
89b84291ca | ||
|
|
2bae10d749 | ||
|
|
7354b2aeae | ||
|
|
22893481b7 | ||
|
|
6ae048fcc3 | ||
|
|
6728c63ca2 | ||
|
|
87bcfc3b25 | ||
|
|
2a6dcbecd5 | ||
|
|
d198f3f5a7 | ||
|
|
7f0542b133 | ||
|
|
9f187b5dd0 |
No files matched your search
@@ -1,3 +1,116 @@
|
||||
2002-10-01 Duncan Mak <[email protected]>
|
||||
|
||||
* mono/os/Makefile.am: Add gc_wrapper.h.
|
||||
|
||||
* runtime/Makefile.am: Fix the path for monoresgen.exe.
|
||||
|
||||
2002-09-27 Dick Porter <[email protected]>
|
||||
|
||||
* configure.in: Check for semaphore.h. Patch for BSD from
|
||||
[email protected] (Julio Merino).
|
||||
|
||||
2002-09-20 Duncan Mak <[email protected]>
|
||||
|
||||
* data/config.in: Added reference to libxslt.
|
||||
|
||||
2002-09-20 Mark Crichton <[email protected]>
|
||||
|
||||
* configure.in: added NEED_LINK_UNLINK to make io-layer more portable.
|
||||
Linux has a "virtual fs" for UNIX sockets, Solaris and BSD don't.
|
||||
For systems that do not have such a virtual FS, define
|
||||
NEED_LINK_UNLINK.
|
||||
|
||||
* acconfig.h: added NEED_LINK_UNLINK
|
||||
|
||||
Wed Sep 4 18:09:58 CEST 2002 Paolo Molaro <[email protected]>
|
||||
|
||||
* configure.in: add some needed defines to fix support of
|
||||
threads in the GC.
|
||||
|
||||
2002-09-19 Mark Crichton <[email protected]>
|
||||
|
||||
* configure.in: Added checks for Solaris to use X/Open functionality.
|
||||
Really needed for the io-layer code.
|
||||
|
||||
2002-09-15 Andrew Birkett <[email protected]>
|
||||
|
||||
* man/mcs.1: --probe is now --expect-error.
|
||||
|
||||
2002-09-09 Dick Porter <[email protected]>
|
||||
|
||||
* acconfig.h:
|
||||
* configure.in: Simplify thread checks, by using canned rules for
|
||||
particular systems (based on the sleepycat db configure.in).
|
||||
Tested on linux/x86, freebsd and w32. Solaris also added, but I
|
||||
don't have a solaris machine to try it on.
|
||||
|
||||
2002-09-04 Juli Mallett <[email protected]>
|
||||
|
||||
* configure.in: Include <sys/types.h> when checking <sys/un.h> stuff.
|
||||
|
||||
2002-09-02 Diego Sevilla Ruiz <[email protected]>
|
||||
|
||||
* doc/ccvs: Added how to convert SSH keys (from SSH Communications
|
||||
Security) to the OpenSSH keys required by mono CVS
|
||||
access.
|
||||
|
||||
2002-09-01 Juli Mallett <[email protected]>
|
||||
|
||||
* configure.in, mono/interpreter/interp.c,
|
||||
mono/io-layer/handles.c, mono/io-layer/processes.c,
|
||||
mono/io-layer/threads.c, mono/io-layer/timed-thread.c,
|
||||
mono/io-layer/wait.c, mono/jit/helpers.c, mono/jit/jit.c,
|
||||
mono/metadata/appdomain.c, mono/metadata/class.c,
|
||||
mono/metadata/domain.c, mono/metadata/gc.c,
|
||||
mono/metadata/object.c, mono/metadata/reflection.c,
|
||||
mono/metadata/threads.c, mono/os/gc_wrapper.h,
|
||||
mono/utils/mono-hash.c: Add a new header, gc_wrapper.h, to
|
||||
wrap inclusion of gc.h for boehm, since from FreeBSD and
|
||||
OpenBSD ports, gc.h is <gc.h>, but on GNU it seems to be
|
||||
in <gc/gc.h>. This will reduce the diffs FreeBSD ports has
|
||||
to apply, and also makes it possible for me to build with
|
||||
GC on OpenBSD/macppc built by hand.
|
||||
|
||||
2002-09-01 Juli Mallett <[email protected]>
|
||||
|
||||
* configure.in: On BSD don't try to use -ldl, we simply don't use it.
|
||||
|
||||
2002-09-01 Juli Mallett <[email protected]>
|
||||
|
||||
* mono/dis/dis-cil.c:
|
||||
* configure.in: Check for <wchar.h> via autoconf, don't use it if
|
||||
it isn't there, as it seems to work fine without it on OpenBSD.
|
||||
|
||||
2002-08-28 Dick Porter <[email protected]>
|
||||
|
||||
* mono/os/win32/util.c:
|
||||
* mono/os/unix/util.c:
|
||||
* mono/os/util.h: mono_set_rootdir() doesnt take any args now.
|
||||
(It doesn't do anything on unix builds, and the w32 version no
|
||||
longer needs an arg.)
|
||||
|
||||
* configure.in: Add HOST_CC for w32 builds
|
||||
|
||||
Tue Aug 27 18:17:43 CEST 2002 Paolo Molaro <[email protected]>
|
||||
|
||||
* configure.in: remove iconv checks.
|
||||
|
||||
2002-08-24 Juli Mallett <[email protected]>
|
||||
|
||||
* configure.in: Recognise OpenBSD/macppc as PowerPC.
|
||||
|
||||
Tue Aug 20 15:15:52 CEST 2002 Paolo Molaro <[email protected]>
|
||||
|
||||
* configure.in: patch by [email protected] (Daniel Resare)
|
||||
to error out if bison is missing.
|
||||
|
||||
2002-08-17 Gonzalo Paniagua Javier <[email protected]>
|
||||
|
||||
* configure.in: don't link against libdl on windoze.
|
||||
|
||||
2002-08-12 Dick Porter <[email protected]>
|
||||
|
||||
* mono.pc.in: Add $includedir to Cflags
|
||||
|
||||
Fri Jul 19 18:38:38 CEST 2002 Paolo Molaro <[email protected]>
|
||||
|
||||
|
||||
+2
-2
@@ -1,8 +1,8 @@
|
||||
AUTOMAKE_OPTIONS = foreign
|
||||
|
||||
SUBDIRS = mono doc docs runtime scripts man
|
||||
SUBDIRS = mono doc docs runtime scripts man data
|
||||
|
||||
EXTRA_DIST= mono.pc.in
|
||||
EXTRA_DIST= mono.pc.in mono.spec.in
|
||||
|
||||
pkgconfigdir = $(libdir)/pkgconfig
|
||||
pkgconfig_DATA= mono.pc
|
||||
|
||||
@@ -1,3 +1,797 @@
|
||||
Hello!
|
||||
|
||||
Version 0.16 of Mono has been released! This is mostly a bug
|
||||
fix release, a lot of work has been going on to make existing
|
||||
features more robust and less buggy. Also, contributions are
|
||||
too varied, so it is hard to classify them in groups.
|
||||
|
||||
* Stats
|
||||
|
||||
795 commits to mono and mcs since August 23rd.
|
||||
|
||||
* News
|
||||
|
||||
The changes that got in this releases are mostly
|
||||
bugfixes. Miguel, Martin and Ravi attacked lots of bugs in the
|
||||
compiler, Dick fixed a bunch of bugs related to processes and
|
||||
threads. Mark Crichton resumed his work on the SPARC port and
|
||||
made lots of progress there. Juli Mallett has been working on
|
||||
making sure Mono also builds on BSD systems. As usual, Dietmar
|
||||
and Paolo supplied their continuous stream of fixes to the
|
||||
runtime.
|
||||
|
||||
Dietmar has completed the work on the runtime side for
|
||||
remoting support and we ship now with a sample channel, the
|
||||
System.Runtime.Remoting.Sample. This can be used as a
|
||||
reference implementation for anyone interested in implementing
|
||||
other channels (like a CORBA channel).
|
||||
|
||||
Duncan got preliminary XSLT support done by using
|
||||
libxslt.
|
||||
|
||||
Gonzalo (with some help from Patrik) has been working hard
|
||||
making our ASP.NET implementation work on both Mono and MS by
|
||||
migrating the existing xsp code to the class library. Gaurav
|
||||
started working on the classes in System.Design.dll and Chris
|
||||
Toshok checked in Mono.Directory.LDAP, which will be the
|
||||
foundation to implement the System.DirectoryServices assembly.
|
||||
|
||||
Various fixes from Kral, Jason, Piers and Gonzalo were
|
||||
committed to System.Xml; Martin Algiers reports that the
|
||||
upcoming NAnt release will be fully compatible with Mono.
|
||||
|
||||
Miguel imported Sergey Chaban's Mono.PEToolkit and ilasm code
|
||||
to CVS. Nick, as always, continues to refine our testing
|
||||
framework by improving our tests. Andrew Birkett continues to
|
||||
improve the implementation of our security/cryptographic
|
||||
classes. Jonathan Pryor contributed type-reflector the our
|
||||
list of tools.
|
||||
|
||||
* Other News From Behind de Curtain.
|
||||
|
||||
While the above is pretty impressive on its own, various other
|
||||
non-released portions of Mono have been undergoing: Adam Treat
|
||||
has been leading the effort to document our class libraries
|
||||
and produce the tools required for it.
|
||||
|
||||
Martin Baulig has been working on the Mono Debugger which is
|
||||
not being released yet. This debugger allows both native
|
||||
Linux application as well as CIL applications to be debugged
|
||||
at the same time (and in fact, you can use this to debug the
|
||||
JIT engine). The debugger is written in C# with some C glue
|
||||
|
||||
In the meant A new JIT engine is under development, focused on
|
||||
adding more of the high-end optimizations which will be
|
||||
integrated on an ahead-of-time-compiler. Dietmar and Paolo
|
||||
have been working on this.
|
||||
|
||||
* Contributors to this release
|
||||
|
||||
* Non-Ximian developers: Adam Treat, Andrew Birkett, Dennis
|
||||
Hayes, Diego Sevilla, Franklin Wise, Gaurav Vaish ,Jason
|
||||
Diamond, Johannes Roith, John Sohn, Jonathan Pryor, Juli
|
||||
Mallett, Kral Ferch, Mike Crichton, Nick Drochak, Nick
|
||||
Zigarovich, Piers Haken, Rafael Teixeira, Ricardo Fernandez
|
||||
Pascual, Sergey Chaban, Tim Coleman.
|
||||
|
||||
* Ximian developers: Dietmar, Paolo, Dick, Duncan, Ravi,
|
||||
Miguel, Martin, Chris, Joe, Gonzalo, Rodrigo.
|
||||
|
||||
|
||||
---------------------------------------------------------------------------------
|
||||
* Sergey Chaban added thread-safe support to
|
||||
System.Collections.SortedList.
|
||||
|
||||
* Fixes to the compiler by Andrew Birkett.
|
||||
|
||||
* Tim Coleman contributed the OleDb provider for System.Data and started
|
||||
work on System.Web.Services.
|
||||
|
||||
* Radek fixed a lot of problems on the PPC side. [*]
|
||||
|
||||
* Miguel and Martin committed the new type lookup system.
|
||||
|
||||
* Dietmar rewrote the marshalling code. [*]
|
||||
|
||||
* Peter Williams and Martin contributed the new Makefiles, with help
|
||||
from Alp Toker as well.
|
||||
|
||||
* Contributors to this release:
|
||||
|
||||
* Non-Ximian developers: Nick Drochak, Martin Baulig, Tim
|
||||
Coleman, Mike Kestner, Alp Toker, Jonathan Pryor, Jaime
|
||||
Anguiano, Piers Haken, Rafael Teixeira, Mark Crichton,
|
||||
Sergey Chabon, Ajay Kumar Dwivedi, Andrew Birkett, Dennis
|
||||
Hayes (SWF), Adam Treat, Johannes Roith and Lawrence Pit.
|
||||
|
||||
* Ximian developers: Duncan, Ravi, Dick, Dietmar, Paolo,
|
||||
Gonzalo, Rachel, Radek, Rodrigo, Jeff, Peter Williams and
|
||||
Miguel.
|
||||
|
||||
Special thanks to Duncan for helping me put this release together.
|
||||
|
||||
Hello!
|
||||
|
||||
A new version of Mono (0.12), is out.
|
||||
|
||||
Mono is an open source implementation of the Microsoft.NET
|
||||
Framework, and ships with a C# compiler, a runtime engine
|
||||
(with a JIT on x86 cpus) and a set of class libraries.
|
||||
|
||||
Mono is know to work on a number of platforms:
|
||||
x86/Linux, x86/Windows, x86/FreeBSD; sparc/solaris;
|
||||
linuxppc/linux; strongarm/linux.
|
||||
|
||||
There have been many changes since the last release of Mono in
|
||||
late April, thanks to Duncan for assembling the list of new
|
||||
features, any omissions are my fault.
|
||||
|
||||
Changes since 0.11:
|
||||
|
||||
It is hard to keep track of the changes, as there are 1632
|
||||
patches that were posted to the mailing list. One third of
|
||||
the total number of patches since we opened mono-patches
|
||||
list. I am sure I missed some stuff and probably missed some
|
||||
contributors. I apologize in advance.
|
||||
|
||||
Runtime:
|
||||
|
||||
Paolo: New Reflection.Emit generation code generates
|
||||
code that can be executed in Windows. Now binaries
|
||||
generated by Mono/MCS will run on Windows.
|
||||
|
||||
Paolo got Activator.CreateInstance to work.
|
||||
|
||||
Sergey's CPU-optimization for CPBLK.
|
||||
|
||||
Many many bug fixes to the runtime from Dick, Dan
|
||||
Lewis, Dietmar, Gonzalo, Martin, Paolo, Radek and Sergey,
|
||||
|
||||
Compiler:
|
||||
|
||||
Many bug fixes: The compiler can now compile Gtk#,
|
||||
Vorbis#, System.Data assembly and System.Xml assembly
|
||||
which previously did not work (Dietmar, Miguel, Paolo,
|
||||
Piers, Ravi, Miguel). Thanks to all the bug
|
||||
reporters.
|
||||
|
||||
Class Libraries:
|
||||
|
||||
Mike started work on System.Xml.XPath
|
||||
|
||||
Christian, Dennis, Daniel and friends got more stubs
|
||||
for System.Windows.Forms in.
|
||||
|
||||
Ajay revamped System.Xml.Schema. And Jason and Duncan
|
||||
updated System.Xml
|
||||
|
||||
Daniel also checked in a working CodeDOM
|
||||
implementation and a C# provider.
|
||||
|
||||
Many bug fixes by everyone. Thanks to Daniel, Duncan,
|
||||
Jonathan, Lawrence, Martin Mike, Nick and Piers. I am
|
||||
missing a lot of contributors that should be listed.
|
||||
|
||||
ASP.NET support
|
||||
|
||||
A lot of work from Gonzalo allows some small and
|
||||
modest ASP.NET applications to run (you still need the
|
||||
unreleased XSP code though).
|
||||
|
||||
System.Data:
|
||||
|
||||
Integrated the MySQL provider from Brad Merryl.
|
||||
|
||||
Lots of work by Dan, Rodrigo, Tim.
|
||||
|
||||
Microsoft.VisualBasic runtime support
|
||||
|
||||
Rafael and Chris have been working on the VisualBasic
|
||||
runtime support DLLs
|
||||
|
||||
Hello everyone!
|
||||
|
||||
Mono 0.11 is out!
|
||||
|
||||
This new version has new features:
|
||||
|
||||
* Massive:
|
||||
|
||||
* Ultrich Kunitz implemented the whole calendar set of
|
||||
classes. Yes, thats right. The whole thing, with a
|
||||
complete test suite. Thanks Ultrich!
|
||||
|
||||
* JIT/runtime features:
|
||||
|
||||
* Martin's debugging framework is included (see web
|
||||
site for details on how to use it). (Martin)
|
||||
|
||||
* Transparent Proxy has been implemented for the
|
||||
runtime (lets you run/debug/hack on remoting for Mono) (Dietmar)
|
||||
|
||||
* Inline and constant folding/propagation support
|
||||
in the JIT engine (Dietmar)
|
||||
|
||||
* Profiling support for the JIT engine (--profile).
|
||||
|
||||
* Cool runtime hacks, that made our compiler twice as fast:
|
||||
|
||||
* New string rewrite: faster, speedier, leaner, cooler!
|
||||
|
||||
Paolo had been talking about a new string rewrite,
|
||||
and super hacker Patrik Torstensson started the
|
||||
implementation, Dietmar then switched the object
|
||||
layout and the Mono team helped iron out a few of
|
||||
the details.
|
||||
|
||||
* New array reprensetation: Dan Lewis contributed a new
|
||||
faster and smaller array implementation.
|
||||
|
||||
* Improved Reflection.Emit: Paolo improved our
|
||||
reflection emit code.
|
||||
|
||||
* ADO.NET
|
||||
|
||||
* Daniel Morgan, Rodrigo Moya have some pieces of the
|
||||
Sql classes ready to run. he first signs of life
|
||||
this week (we can connect, insert rows; do transactions:
|
||||
commit/rollback; SQL errors and exceptions work).
|
||||
|
||||
* Http Runtime
|
||||
|
||||
* The HTTP runtime (to be used by our ASP.NET implementation)
|
||||
was contributed by Patrik Torstensson. Patrik not only
|
||||
contributed a massive ammount of classes, but he immediately
|
||||
went on to implement ThreadPools and then helped out with the
|
||||
new String rewrite.
|
||||
|
||||
* XML improvements:
|
||||
|
||||
* Kral Ferch and Duncan Mak contributed more
|
||||
improvements to the XML implementation.
|
||||
|
||||
* Work on Xml Serialization from John Donagher.
|
||||
|
||||
* Documentation:
|
||||
|
||||
* MonoDoc ships for the first time!
|
||||
(John Barnette, Adam Treat and John Sohn)
|
||||
|
||||
* New documentation stubs ready to be filled, and translated
|
||||
included (thanks to our doc team!)
|
||||
|
||||
* General fixes:
|
||||
|
||||
* Piers Haken fixed many of our attributes and many
|
||||
little problems that were exposed by his CorCompare tool
|
||||
|
||||
* Many Mono C# compiler bug fixes.
|
||||
|
||||
* Other improvements:
|
||||
|
||||
* NUnit works on Linux! (Patrik Torstensson)
|
||||
|
||||
* More NUnit tests (Nick Drochak)
|
||||
|
||||
* Windows.Forms progress: Dennis Hayes and Christian
|
||||
Meyer have been contributing stubs for the
|
||||
Windows.Forms work.
|
||||
|
||||
* Full Parse implementations and bug fixing by Gonzalo
|
||||
|
||||
* Dan Lewis contributed some missing classes for the
|
||||
Regexp implementation.
|
||||
|
||||
* Jonathan's trace classes
|
||||
|
||||
* This Month's Mono is brought to you by:
|
||||
|
||||
Adam Treat, Chris Podugriel, Christian Meyer, Daniel Lewis,
|
||||
Daniel Morgan, Dennis Hayes, Dick Porter, Dietmar Maurer,
|
||||
Duncan Mak, Guarav Vaish, Gonzalo Paniagua, Jaime Anguiano,
|
||||
Jason Diamond, Joe Shaw, John Barnette, John Donagher, John
|
||||
Sohn, Jonathan Pryor, Kral Ferch, Martin Baulig, Miguel de
|
||||
Icaza, Mike Kestner, Nick Drochak, Paolo Molaro, Patrik
|
||||
Tostensson, Piers Haken, Ravi Pratap, Rodrigo Moya, Sergey
|
||||
Chanben, Ultrich Kunitz, Wictor Wilen.
|
||||
|
||||
I know that I missed some features, there is a lot of work
|
||||
that happens in a month. I apologize in advance for any
|
||||
features I omited by accident.
|
||||
|
||||
Special thanks go to Duncan for helping out with all those
|
||||
little details in the project. And also Nick who has been
|
||||
keeping us in good shape by maintaining and helping new
|
||||
contributors provide more test suites.
|
||||
|
||||
* Reporting bugs
|
||||
|
||||
If you find a bug in Mono, please file a bug here:
|
||||
|
||||
http://bugzilla.ximian.com
|
||||
|
||||
That way we wont loose your bug report, and will be able to
|
||||
follow up properly with it. Also try to provide simple test
|
||||
cases whenever possible and try as hard as possible to
|
||||
identify the root of a problem (compiler, runtime, class
|
||||
libraries).
|
||||
|
||||
* Forum
|
||||
|
||||
The [email protected] mailing list is open for
|
||||
those of you who want to discuss the future of Mono.
|
||||
|
||||
Hello everyone!
|
||||
|
||||
Mono "Self Hosting" 0.10 is out! (Alex insisted I used the
|
||||
<blink> tag for "Self Hosting", but was dissapointed when he
|
||||
realized most mailers dont support this).
|
||||
|
||||
Too many things have happened since the the 0.9 release,
|
||||
almost an entire month. The big news is that we are shipping
|
||||
a the self-hosting Mono C# compiler. This has been tested on
|
||||
Linux/x86 only.
|
||||
|
||||
Also, we delayed the release for one reason or other, but it
|
||||
turns out that as a extra bonus, Paolo fixed the last
|
||||
outstanding bug in the JIT engine, so the compiler now runs in
|
||||
the JIT engine instead of the interpreter.
|
||||
|
||||
The mono-0.10 release includes the libraries required to run
|
||||
the compiler as well as assorted .NET programs [1].
|
||||
|
||||
* What is new
|
||||
|
||||
There is so much stuff in this release that is hard to keep
|
||||
track of it.
|
||||
|
||||
Jason, Kral and Duncan have done an amazing job with
|
||||
System.Xml, up to the point that it is even being used by
|
||||
gtk-sharp's code generator (and it all comes with great test
|
||||
suites to verify that it works!). Ajay's XmlSchema code is
|
||||
also shipped.
|
||||
|
||||
Martin worked on our debugging infrastructure (the JIT can
|
||||
load dwarf files, and our class libraries now generate dwarf
|
||||
debugging info; we are in the process of adding this to the
|
||||
compiler, the patch did not make it to this release though).
|
||||
|
||||
For the first time the System.Web assembly has built without
|
||||
all the excludes, so you can get your hands on Gaurav and
|
||||
Lee's massive code base.
|
||||
|
||||
Lots of new tests to the runtime, class libraries and compiler
|
||||
are included. As always, big thanks go to Nick for continued
|
||||
guidance to new developers, and writing new tests.
|
||||
|
||||
Dan removed the System.PAL dependency, we now have moved to an
|
||||
internalcall setup for all the System.IO calls, and dropped
|
||||
the MonoWrapper shared library.
|
||||
|
||||
Porting wise: Sergey's StrongARM port is included now; Jeff's
|
||||
SPARC port and Radek's PowerPC port have been updated to
|
||||
reflect the new changes in the engine.
|
||||
|
||||
Runtime wise: Dietmar also got us asyncronous delegates
|
||||
implemented. Dick continues his work on our foundation
|
||||
classes, and has resumed his work on the IO layer.
|
||||
|
||||
Paolo is the hero behind self hosting on Linux. Send your
|
||||
congrats (and wine) to him.
|
||||
|
||||
And without the help from Mike, Duco, David, Piers, Nick,
|
||||
Sergey, Mark, Jonathan, John, Adam and Dennis this release
|
||||
would have not been possible.
|
||||
|
||||
This release is mostly ECMA compatible. I did not expect this
|
||||
to happen so soon. I am very grateful to everyone who has
|
||||
made this happen
|
||||
|
||||
* The goods
|
||||
|
||||
The runtime sources and binaries to the compiler/libraries:
|
||||
|
||||
http://www.go-mono.com/archive/mono-0.10.tar.gz
|
||||
|
||||
The class and compiler sources:
|
||||
|
||||
http://www.go-mono.com/archive/mcs-0.10.tar.gz
|
||||
|
||||
* Requirements:
|
||||
|
||||
You still need glib-2, and pkg-config. If you plan on
|
||||
compiling large applications, getting the Boehm GC is a plus
|
||||
(we will integrate this in a future version, for now it is an
|
||||
external requirement).
|
||||
|
||||
Boehm GC is available in packaged format for Debian and Red
|
||||
Hat systems.
|
||||
|
||||
* To compile on Linux
|
||||
|
||||
Do your regular chores with mono-0.10.tar.gz, you know the
|
||||
drill. In the end, after you reach the `make install' phase,
|
||||
now you can do some cool stuff.
|
||||
|
||||
If you want to compile the compiler (just to try it out),
|
||||
untar the sources to the compiler (mcs-0.10.tar.gz) and do
|
||||
manually:
|
||||
|
||||
cd mcs-0.10
|
||||
(cd jay; make)
|
||||
(cd mcs; make monomcs)
|
||||
|
||||
Now you will end up with a nice mcs4.exe in the mcs/mcs
|
||||
directory, that is the compiler. If you want to use that,
|
||||
replace the mcs.exe we distribute with the mcs4.exe you got.
|
||||
|
||||
* Gadgets
|
||||
|
||||
Man pages for mcs, mono and mint are included for your
|
||||
enjoyment.
|
||||
|
||||
Particularly of interest is `mint --profile' which is awesome
|
||||
to profile your application, the output is very useful.
|
||||
|
||||
Also, if you want to impress your friends, you might want to
|
||||
run the JIT with the `-d' flag, that shows you how the JITer
|
||||
compiles the code (and shows the basic blocks and the forst of
|
||||
trees as it goes).
|
||||
|
||||
* Next steps
|
||||
|
||||
More classes are missing. These are required so we can run
|
||||
nant and nunit natively. Once we achieve that, we will be
|
||||
able to ship a complete environment that compiles on Linux.
|
||||
|
||||
Currently our makefiles still use csc, as we still need
|
||||
nunit/nant to work.
|
||||
|
||||
[1] Of course, .NET programs that try to use classes we have not yet
|
||||
implemented, will be left wondering `why did this happen to me?'.
|
||||
|
||||
Hello!
|
||||
|
||||
I have just uploaded Mono 0.9 to the web server, you can get
|
||||
the goodies here:
|
||||
|
||||
http://www.go-mono.com/archive/mono-0.9.tar.gz
|
||||
http://www.go-mono.com/archive/mcs-0.9.tar.gz
|
||||
|
||||
mono-0.9.tar.gz contains the source code to the runtime (JIT
|
||||
and interpreter) as well as a pre-compiled version of the
|
||||
compiler (mcs.exe) and the class libraries.
|
||||
|
||||
To compile the compiler and the class libraries, you still
|
||||
need Windows with the .NET SDK, as our runtime can not host
|
||||
the compiler completely yet.
|
||||
|
||||
* Improved Build System
|
||||
|
||||
You can check http://www.go-mono.com/download.html for the
|
||||
new and fresh compilation instructions. Same requirements as
|
||||
the last version (pkg-config, glib 1.3.xx need to be
|
||||
installed).
|
||||
|
||||
* What is new:
|
||||
|
||||
Compiler can compile about 75% of our regression test suite
|
||||
on Linux. Most of this work is on the class libraries and
|
||||
Paolo has been the magician behind the work here.
|
||||
|
||||
JIT can run the compiler now (Dietmar)
|
||||
|
||||
Mint works on Windows now (Dick).
|
||||
|
||||
Application Domains have been implemented (Dietmar)
|
||||
|
||||
* Two modes of operation are available, depending on
|
||||
your needs: share code, or maximize speed (does not
|
||||
share code). This is described by the the
|
||||
LoaderOptimization enumeration in .NET.
|
||||
|
||||
Corlib no longer has references to mscorlib (Daniel Lewis)
|
||||
|
||||
Ports:
|
||||
PowerPC has been updated (Radek Doulik)
|
||||
New SPARC port (Jeffrey Stedfast)
|
||||
|
||||
Documentation system:
|
||||
Adam Treat has been working on finishing the Doctools
|
||||
to maintain the Mono class library documentation. We
|
||||
still need a GUI editor though.
|
||||
|
||||
Tracking progress:
|
||||
Nick's new tools to track progress are included in
|
||||
this release.
|
||||
|
||||
Many new more regression tests for the class library
|
||||
(David Brandt, Mark Crichton, Nick Drochak, Bob Doan,
|
||||
Duco Fijma).
|
||||
|
||||
Lots of new code:
|
||||
Gaurav Vaish (the hacking god behind System.Web),
|
||||
Chris Podugriel (System.Data) and Mark Crichton (Crypto)
|
||||
|
||||
Runtime:
|
||||
Socket layer is finished (Dick Porter)
|
||||
|
||||
Compiler has full support for unsafe code now (Miguel)
|
||||
Still a few things missing: constant folding is not
|
||||
finished everywhere and access permissions are not
|
||||
enforced yet.
|
||||
|
||||
Many many many bug fixes everywhere from everyone on the team:
|
||||
|
||||
Paolo Molaro, Daniel Lewis, Daniel Stodden, Dietmar
|
||||
Maurer, Jeff Stedfast, Nick Drochak, Duco Fijma, Ravi Pratap,
|
||||
Dick Porter, Duncan Mak, Jeff Stedfast and Miguel de Icaza.
|
||||
|
||||
I am sorry if I left a major component out of the
|
||||
announcement, this were some intense 11 days of work.
|
||||
|
||||
* What is obviously missing
|
||||
|
||||
Currently our System.Reflection.Emit is lacking array and
|
||||
pointer support, which is why many programs still do not
|
||||
compile, but this should be taken care of next week.
|
||||
|
||||
* How can you help
|
||||
|
||||
There are many ways to help the project, check the details
|
||||
documentation in:
|
||||
|
||||
http://www.go-mono.com/contributing.html
|
||||
|
||||
You might also want to stop by our IRC channel on
|
||||
irc.gnome.org, channel #mono if you are interested in
|
||||
contributing.
|
||||
|
||||
Have a happy weekend!
|
||||
Miguel.
|
||||
|
||||
Hey guys!
|
||||
|
||||
Mono 0.7 has been released.
|
||||
|
||||
It has been a long time since the last release of Mono (almost
|
||||
three weeks). We have made an incredible ammount of work in the past
|
||||
three weeks.
|
||||
|
||||
* Highlights of this release:
|
||||
|
||||
* The monoburg: BURS-instruction selector implemented (for our
|
||||
portable JIT engine).
|
||||
|
||||
* JIT engine works for very simple programs (Fibonacci works
|
||||
for instance). It is about 30% faster running than the
|
||||
equivalent code compiled with Kaffe.
|
||||
|
||||
The interesting part is that this was accomplished with the
|
||||
a minimum register allocator, and very simple monoburg
|
||||
rules, so there is a *lot* of room to improve here.
|
||||
|
||||
* The Interpreter has madured a lot. Value Types are fully
|
||||
supported now; We dropped the FFI dependency, as we now
|
||||
have our own code generator.
|
||||
|
||||
* The runtime has been expanded and extended as to support
|
||||
real file I/O (including console I/O). So Hello World works
|
||||
in there.
|
||||
|
||||
* The compiler can generate code for most statements now; It
|
||||
also performs semantic analysis on most expressions.
|
||||
Creation of new objects is supported, access to parameters,
|
||||
fields and local variables works. Method invocation works.
|
||||
Implicit type conversions, assignments and much more.
|
||||
|
||||
Operator overloading is implemented, but broken on this
|
||||
release, hopefully this will be fixed soon.
|
||||
|
||||
Delegates and Attributes are now declared and passed around,
|
||||
but no code generation for those exist yet.
|
||||
|
||||
* More classes (look for details). Sergey and Paolo have been
|
||||
working on various classes in System.Reflection.Emit to get
|
||||
the compiler self-hosting.
|
||||
|
||||
* NUnit is now part of the distribution, so it should be
|
||||
trivial to write test cases (and if you want to help out,
|
||||
this is one way to do it, we really need more tests cases).
|
||||
|
||||
I am going to try to switch to Nick's JB for C# this week or next
|
||||
week. But the excitement of having the compiler deal with real C#
|
||||
programs is too much to be contained, and I can not keep my hands of
|
||||
the code generation in the compiler.
|
||||
|
||||
* Availability:
|
||||
|
||||
http://www.go-mono.com/archive/mono-0.7.tar.gz
|
||||
http://www.go-mono.com/archive/mcs-0.7.tar.gz
|
||||
|
||||
* Details
|
||||
|
||||
Class Library Changes:
|
||||
|
||||
Many enumerations have been revamped to have the same value
|
||||
definitions as those in .NET as those cause problems. They were also
|
||||
missing the [Flags] attributes, so we got that right too.
|
||||
|
||||
* System
|
||||
SerializableAttribute impl (Miguel)
|
||||
String updates (Jeff)
|
||||
System.Char (Ravi)
|
||||
|
||||
* System.Configuration
|
||||
ConfigurationSettings impl (Christopher Podurgiel)
|
||||
SingleTagSectionHandler impl (Christopher Podurgiel)
|
||||
DictionarySectionHandler impl (Christopher Podurgiel)
|
||||
|
||||
* System.Collections.Specialized
|
||||
NameObjectCollectionBase impl (Nick Drochak)
|
||||
|
||||
* System.Diagnostics
|
||||
StackFrame stubs (alexk)
|
||||
StackTrace stubs (alexk)
|
||||
|
||||
* System.IO
|
||||
File stubs (Jim Richardson)
|
||||
IOException impl (Paolo)
|
||||
StreamWriter impl (Dietmar)
|
||||
StreamReader stubs (Dietmar)
|
||||
|
||||
* System.Net
|
||||
ConnectionModes (Miguel)
|
||||
ProxyUseType (Miguel)
|
||||
WebStatus (Miguel)
|
||||
|
||||
* System.Reflection
|
||||
Assembly (stubs) (Paolo)
|
||||
MethodBase (Paolo)
|
||||
MethodInfo (Paolo)
|
||||
|
||||
* System.Reflection.Emit
|
||||
EventToken (Sergey)
|
||||
FieldToken (Sergey)
|
||||
FlowControl (Sergey)
|
||||
ILGenerator (stubbed) (Paolo)
|
||||
Label (Paolo)
|
||||
MethodToken (Sergey)
|
||||
OpCode.cs (Sergey)
|
||||
OpCodeType (Sergey)
|
||||
OpCodes.cs (Sergey)
|
||||
OperandType (Sergey)
|
||||
PEFileKinds (Paolo)
|
||||
PackingSize (Sergey)
|
||||
ParameterToken (Sergey)
|
||||
PropertyToken (Sergey)
|
||||
SignatureToken (Sergey)
|
||||
StackBehaviour (Sergey)
|
||||
StringToken (Sergey)
|
||||
TypeToken (Sergey)
|
||||
|
||||
* System.Threading
|
||||
|
||||
Most classes stubbed out by Dick Porter (Dick)
|
||||
|
||||
* System.Web
|
||||
HttpWorkerRequest stubs (Bob Smith)
|
||||
|
||||
* System.Web.Hosting (Bob Smith)
|
||||
AppDomainFactory stubs (Bob Smith)
|
||||
ApplicationHost stubs (Bob Smith)
|
||||
IAppDomainFactory stubs (Bob Smith)
|
||||
IISAPIRuntime stubs (Bob Smith)
|
||||
ISAPIRuntime stubs (Bob Smith)
|
||||
SimpleWorkerRequest stubs (Bob Smith)
|
||||
|
||||
* System.Web.UI
|
||||
LiteralControl implemented (Bob Smith)
|
||||
HtmlContainerControl bugfixes (Bob Smith)
|
||||
BuildMethod
|
||||
BuildTemplateMethod
|
||||
HtmlTextWriterAttribute
|
||||
HtmlTextWriterStyle
|
||||
HtmlTextWriterTag
|
||||
IAttributeAccessor
|
||||
IDataBindingsAccessor
|
||||
INamingContainer
|
||||
IParserAccessor
|
||||
IPostBackDataHandler
|
||||
IPostBackEventHandler
|
||||
IStateManager
|
||||
ITagNameToTypeMapper
|
||||
ITemplate
|
||||
IValidator
|
||||
ImageClickEventHandler
|
||||
OutputCacheLocation
|
||||
PersistanceMode
|
||||
StateItem
|
||||
|
||||
* System.Web.UI.HtmlControls
|
||||
HtmlAnchor impl (Leen Teolen)
|
||||
HtmlTextArea impl (Leen Teolen)
|
||||
|
||||
* System.Web.UI.WebControls
|
||||
WebControl.cs (Gaurav Vaish)
|
||||
|
||||
* System.XML
|
||||
Lots of enumerations (Miguel)
|
||||
(will add later)
|
||||
|
||||
* Add loads of enumerations throughout (Sergey)
|
||||
(will add later)
|
||||
|
||||
Compiler Changes:
|
||||
|
||||
* Assignment (Miguel)
|
||||
|
||||
* expression semantic analysis (Miguel)
|
||||
|
||||
* constructor creation, chaining (Miguel)
|
||||
|
||||
* Unified error reporting (Ravi)
|
||||
|
||||
* initial attribute support (Ravi)
|
||||
|
||||
* calling convention support (Miguel)
|
||||
|
||||
* loop construct code generation (Miguel)
|
||||
|
||||
* conditional statement code generation (Miguel)
|
||||
|
||||
* indexer declarations (Ravi)
|
||||
|
||||
* event declarations (Ravi)
|
||||
|
||||
* try/catch parsing fixed (Ravi)
|
||||
|
||||
* initial delegate support (Ravi)
|
||||
|
||||
* operator overload (Ravi)
|
||||
|
||||
Tools Changes:
|
||||
|
||||
* Add NUnit windows binaries to distribution (Nick Drochak, Miguel)
|
||||
|
||||
Runtime Changes:
|
||||
|
||||
* First JIT implementation (Dietmar, Paolo)
|
||||
|
||||
* value type size calculation (Dietmar)
|
||||
|
||||
* full value type support (Paolo)
|
||||
|
||||
* frequently used types cache (Paolo)
|
||||
|
||||
* FileStream support (Paolo)
|
||||
|
||||
* Console input/output support (Dietmar)
|
||||
|
||||
* print arguments and exception name in stack trace (Paolo)
|
||||
|
||||
* beginnings of virtual call support (Paolo)
|
||||
|
||||
* reimplement pinvoke support (Dietmar)
|
||||
|
||||
* remove libffi dependency (Dietmar)
|
||||
|
||||
* IBURG code generator implementation (Dietmar)
|
||||
|
||||
* new opcodes implemented: starg.s, ldobj, isinst, (Paolo, Miguel)
|
||||
ldarg, starg, ldloc, ldloca, stloc, initobj,
|
||||
cpblk, sizeof, conv.i, conv.i1, conv.i2, conv.i4,
|
||||
conv.i8, conv.u1, conv.u2, conv.u4, conv.r4,
|
||||
conv.r8, ldelema, ceq, cgt, clt.
|
||||
|
||||
* This list
|
||||
|
||||
Parts of this list of features were compiled by Alex by following
|
||||
the CVS mailing list. My deepest thanks to Alex for helping me out
|
||||
with this. I want to apologize for the missing features that I did
|
||||
not document here, Mono is moving too fast to keep track of all the
|
||||
changes.
|
||||
|
||||
2002-Feb-11 Miguel de Icaza <[email protected]>
|
||||
|
||||
New release, functional x86-JIT, x86 interpreter, ppc interpreter
|
||||
|
||||
@@ -8,17 +8,40 @@ Installation:
|
||||
|
||||
http://www.go-mono.com/download.html
|
||||
|
||||
A directory roadmap:
|
||||
* Using Mono
|
||||
|
||||
Once you have installed the software, you can run a few programs:
|
||||
|
||||
* runtime engine
|
||||
|
||||
mono program.exe
|
||||
or
|
||||
mint program.exe
|
||||
|
||||
* C# compiler
|
||||
|
||||
mcs program.cs
|
||||
|
||||
* CIL Disassembler
|
||||
|
||||
monodis program.exe
|
||||
|
||||
See the man pages for mono(1), mint(1), monodis(1) and mcs(2)
|
||||
for further details.
|
||||
|
||||
* A directory roadmap:
|
||||
|
||||
doc/
|
||||
Contains documentation and the web site contents.
|
||||
|
||||
mono/
|
||||
The core of the executable.
|
||||
The core of the Mono Runtime.
|
||||
|
||||
metadata/
|
||||
The library to deal with executables and libraries for
|
||||
.NET
|
||||
The object system and metadata reader.
|
||||
|
||||
jit/
|
||||
The Just in Time Compiler.
|
||||
|
||||
dis/
|
||||
CIL executable Disassembler
|
||||
@@ -26,6 +49,10 @@ A directory roadmap:
|
||||
cli/
|
||||
Common code for the JIT and the interpreter.
|
||||
|
||||
io-layer/
|
||||
The I/O layer and system abstraction for
|
||||
emulating the .NET IO model.
|
||||
|
||||
cil/
|
||||
Common Intermediate Representation, XML
|
||||
definition of the CIL bytecodes.
|
||||
@@ -33,20 +60,7 @@ A directory roadmap:
|
||||
interp/
|
||||
Interpreter for CLI executables.
|
||||
|
||||
* Using Mono
|
||||
|
||||
Once you have installed the software, you can run a few programs:
|
||||
|
||||
monodis program.exe
|
||||
|
||||
That will dump the bytecodes for program.exe. Monodis support
|
||||
a number of options that dumps various metadata tables
|
||||
(chapter 23 of the Partition III).
|
||||
|
||||
You can try the interpreter like this:
|
||||
|
||||
mint program.exe
|
||||
|
||||
|
||||
arch/
|
||||
Architecture specific portions.
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,6 @@
|
||||
#undef HAVE_SOL_TCP
|
||||
#undef HAVE_IP_PKTINFO
|
||||
#undef HAVE_STRUCT_IP_MREQN
|
||||
#undef HAVE_PTHREAD
|
||||
#undef HAVE_PTHREAD_MUTEX_TIMEDLOCK
|
||||
#undef USE_MONO_MUTEX
|
||||
#undef HAVE_LARGE_FILE_SUPPORT
|
||||
@@ -18,3 +17,4 @@
|
||||
#undef HAVE_TIMEZONE
|
||||
#undef HAVE_TM_GMTOFF
|
||||
#undef MONO_SIZEOF_SUNPATH
|
||||
#undef NEED_LINK_UNLINK
|
||||
+51
@@ -0,0 +1,51 @@
|
||||
/* config.h.in. Generated automatically from configure.in by autoheader 2.13. */
|
||||
|
||||
/* Define if you have the ANSI C header files. */
|
||||
#undef STDC_HEADERS
|
||||
|
||||
#undef HAVE_INET_PTON
|
||||
#undef HAVE_INET_ATON
|
||||
#undef HAVE_SOL_IP
|
||||
#undef HAVE_SOL_TCP
|
||||
#undef HAVE_IP_PKTINFO
|
||||
#undef HAVE_STRUCT_IP_MREQN
|
||||
#undef HAVE_PTHREAD
|
||||
#undef HAVE_PTHREAD_MUTEX_TIMEDLOCK
|
||||
#undef USE_MONO_MUTEX
|
||||
#undef HAVE_LARGE_FILE_SUPPORT
|
||||
#undef PLATFORM_WIN32
|
||||
#undef HAVE_NEW_ICONV
|
||||
#undef NAME_DEV_RANDOM
|
||||
#undef HAVE_CRYPT_RNG
|
||||
#undef HAVE_BOEHM_GC
|
||||
|
||||
/* The number of bytes in a void *. */
|
||||
#undef SIZEOF_VOID_P
|
||||
|
||||
/* Define if you have the inet_aton function. */
|
||||
#undef HAVE_INET_ATON
|
||||
|
||||
/* Define if you have the inet_pton function. */
|
||||
#undef HAVE_INET_PTON
|
||||
|
||||
/* Define if you have the <dlfcn.h> header file. */
|
||||
#undef HAVE_DLFCN_H
|
||||
|
||||
/* Define if you have the <netdb.h> header file. */
|
||||
#undef HAVE_NETDB_H
|
||||
|
||||
/* Define if you have the <sys/filio.h> header file. */
|
||||
#undef HAVE_SYS_FILIO_H
|
||||
|
||||
/* Define if you have the <sys/sockio.h> header file. */
|
||||
#undef HAVE_SYS_SOCKIO_H
|
||||
|
||||
/* Define if you have the <utime.h> header file. */
|
||||
#undef HAVE_UTIME_H
|
||||
|
||||
/* Name of package */
|
||||
#undef PACKAGE
|
||||
|
||||
/* Version number of package */
|
||||
#undef VERSION
|
||||
|
||||
+83
-122
@@ -1,25 +1,44 @@
|
||||
|
||||
AC_INIT(README)
|
||||
AC_CANONICAL_SYSTEM
|
||||
AM_CONFIG_HEADER(config.h)
|
||||
AM_INIT_AUTOMAKE(mono, 0.12)
|
||||
AM_INIT_AUTOMAKE(mono, 0.16)
|
||||
AM_MAINTAINER_MODE
|
||||
|
||||
dnl ****************************************
|
||||
dnl *** Check if we're building on win32 ***
|
||||
dnl ****************************************
|
||||
AC_MSG_CHECKING([if building for some Win32 platform])
|
||||
# Thread configuration inspired by sleepycat's db
|
||||
AC_MSG_CHECKING([host platform characteristics])
|
||||
case "$host" in
|
||||
*-*-mingw*|*-*-cygwin*)
|
||||
platform_win32=yes
|
||||
AC_DEFINE(PLATFORM_WIN32)
|
||||
CC="gcc -mno-cygwin"
|
||||
HOST_CC="gcc"
|
||||
CPPFLAGS="$CPPFLAGS -DGC_WIN32_THREADS"
|
||||
libdl=
|
||||
;;
|
||||
*-*-*bsd*)
|
||||
platform_win32=no
|
||||
CPPFLAGS="$CPPFLAGS -D_THREAD_SAFE"
|
||||
LDFLAGS="$LDFLAGS -pthread"
|
||||
AC_DEFINE(NEED_LINK_UNLINK)
|
||||
libdl=
|
||||
;;
|
||||
*-*-linux*)
|
||||
platform_win32=no
|
||||
CPPFLAGS="$CPPFLAGS -DGC_LINUX_THREADS -D_GNU_SOURCE -D_REENTRANT"
|
||||
libdl="-ldl"
|
||||
;;
|
||||
*-*-solaris*)
|
||||
platform_win32=no
|
||||
CPPFLAGS="$CPPFLAGS -DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS -D_REENTRANT"
|
||||
AC_DEFINE(NEED_LINK_UNLINK)
|
||||
;;
|
||||
*)
|
||||
AC_MSG_WARN([*** Please add $host to configure.in checks!])
|
||||
platform_win32=no
|
||||
libdl="-ldl"
|
||||
;;
|
||||
esac
|
||||
AC_MSG_RESULT($platform_win32)
|
||||
AC_MSG_RESULT(ok)
|
||||
AM_CONDITIONAL(PLATFORM_WIN32, test x$platform_win32 = xyes)
|
||||
|
||||
AC_CHECK_TOOL(CC, gcc, gcc)
|
||||
@@ -27,6 +46,12 @@ AC_PROG_CC
|
||||
AM_PROG_CC_STDC
|
||||
AC_PROG_INSTALL
|
||||
|
||||
AC_CHECK_PROG(BISON, bison,yes,no)
|
||||
if test "x$BISON" = "xno";
|
||||
then
|
||||
AC_MSG_ERROR([You need to install bison])
|
||||
fi
|
||||
|
||||
dnl may require a specific autoconf version
|
||||
dnl AC_PROG_CC_FOR_BUILD
|
||||
dnl CC_FOR_BUILD not automatically detected
|
||||
@@ -45,14 +70,14 @@ AC_HEADER_STDC
|
||||
AC_LIBTOOL_WIN32_DLL
|
||||
AM_PROG_LIBTOOL
|
||||
|
||||
AC_CHECK_HEADERS(sys/filio.h sys/sockio.h netdb.h utime.h)
|
||||
|
||||
AC_CHECK_HEADERS(iconv.h)
|
||||
AC_CHECK_HEADERS(giconv.h)
|
||||
AC_CHECK_HEADERS(sys/filio.h sys/sockio.h netdb.h utime.h semaphore.h)
|
||||
|
||||
# for mono/metadata/debug-symfile.c
|
||||
AC_CHECK_HEADERS(elf.h)
|
||||
|
||||
# for mono/dis
|
||||
AC_CHECK_HEADERS(wchar.h)
|
||||
|
||||
# not 64 bit clean in cross-compile
|
||||
AC_CHECK_SIZEOF(void *, 4)
|
||||
|
||||
@@ -98,7 +123,8 @@ AC_SUBST(GLIB_LIBS)
|
||||
AC_SUBST(GMODULE_CFLAGS)
|
||||
AC_SUBST(GMODULE_LIBS)
|
||||
|
||||
AC_CHECK_LIB(gc, GC_malloc, found_boehm="yes")
|
||||
AC_CHECK_HEADERS(gc.h gc/gc.h)
|
||||
AC_CHECK_LIB(gc, GC_malloc, found_boehm="yes",,$libdl)
|
||||
gc=auto
|
||||
AC_ARG_WITH(gc, [ --with-gc=boehm,none],[gc=$with_gc])
|
||||
|
||||
@@ -110,23 +136,21 @@ case "x$gc" in
|
||||
|
||||
AC_DEFINE(HAVE_BOEHM_GC)
|
||||
AC_SUBST(HAVE_BOEHM_GC)
|
||||
LIBS="$LIBS -lgc"
|
||||
LIBS="$LIBS -lgc $libdl"
|
||||
;;
|
||||
xnone)
|
||||
AC_MSG_WARN("Compiling mono without GC.")
|
||||
;;
|
||||
*)
|
||||
dnl When the JIT works with libgc, use this chunk.
|
||||
dnl # If libgc was found, use it. Otherwise just warn.
|
||||
# If libgc was found, use it. Otherwise just warn.
|
||||
if test "x$found_boehm" != "xyes"; then
|
||||
AC_MSG_WARN("Compiling mono without GC.")
|
||||
else
|
||||
AC_DEFINE(HAVE_BOEHM_GC)
|
||||
AC_SUBST(HAVE_BOEHM_GC)
|
||||
LIBS="$LIBS -lgc"
|
||||
LIBS="$LIBS -lgc $libdl"
|
||||
gc="boehm"
|
||||
fi
|
||||
dnl AC_MSG_WARN("Compiling mono without GC.")
|
||||
;;
|
||||
esac
|
||||
|
||||
@@ -272,6 +296,7 @@ if test x$platform_win32 = xno; then
|
||||
AC_MSG_CHECKING(size of sockaddr_un.sun_path)
|
||||
AC_CACHE_VAL(cv_mono_sizeof_sunpath,
|
||||
[AC_TRY_RUN([
|
||||
#include <sys/types.h>
|
||||
#include <stdio.h>
|
||||
#include <sys/un.h>
|
||||
|
||||
@@ -288,87 +313,43 @@ if test x$platform_win32 = xno; then
|
||||
AC_MSG_RESULT($cv_mono_sizeof_sunpath)
|
||||
AC_DEFINE_UNQUOTED(MONO_SIZEOF_SUNPATH, $cv_mono_sizeof_sunpath)
|
||||
|
||||
dnl *****************************
|
||||
dnl *** Checks for libxnet ***
|
||||
dnl *****************************
|
||||
case "${host}" in
|
||||
*solaris* )
|
||||
AC_MSG_CHECKING(for Solaris XPG4 support)
|
||||
if test -f /usr/lib/libxnet.so; then
|
||||
CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE=500"
|
||||
CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__"
|
||||
CPPFLAGS="$CPPFLAGS -D_XOPEN_SOURCE_EXTENDED=1"
|
||||
LIBS="$LIBS -lxnet"
|
||||
AC_MSG_RESULT(yes)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
|
||||
if test "$GCC" = "yes"; then
|
||||
CFLAGS="$CFLAGS -Wno-char-subscripts"
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
|
||||
dnl *****************************
|
||||
dnl *** Checks for libpthread ***
|
||||
dnl *****************************
|
||||
AC_SEARCH_LIBS(pthread_create, pthread c_r, [
|
||||
AM_CONDITIONAL(THREADS_PTHREAD, true)
|
||||
AC_DEFINE(HAVE_PTHREAD)
|
||||
|
||||
# Need pthread_mutex_timedlock
|
||||
pthread_CFLAGS=""
|
||||
orig_CPPFLAGS=$CPPFLAGS
|
||||
# This is a gcc-specific error, but we already set
|
||||
# gcc-specific options in CFLAGS
|
||||
CPPFLAGS="$CPPFLAGS -Werror-implicit-function-declaration"
|
||||
AC_MSG_CHECKING(for pthread_mutex_timedlock)
|
||||
AC_TRY_COMPILE([ #include <pthread.h>], [
|
||||
pthread_mutex_t mut=PTHREAD_MUTEX_INITIALIZER;
|
||||
pthread_mutex_timedlock(&mut, NULL);
|
||||
], [
|
||||
# Works!
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(HAVE_PTHREAD_MUTEX_TIMEDLOCK)
|
||||
], [
|
||||
AC_MSG_RESULT(no)
|
||||
|
||||
# glibc requires -D_GNU_SOURCE before it will declare
|
||||
# this function
|
||||
AC_MSG_CHECKING(whether _GNU_SOURCE is needed for pthread_mutex_timedlock)
|
||||
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
|
||||
AC_TRY_COMPILE([ #include <pthread.h>], [
|
||||
pthread_mutex_t mut=PTHREAD_MUTEX_INITIALIZER;
|
||||
pthread_mutex_timedlock(&mut, NULL);
|
||||
], [
|
||||
AC_MSG_RESULT(yes)
|
||||
pthread_CFLAGS="-D_GNU_SOURCE"
|
||||
AC_DEFINE(HAVE_PTHREAD_MUTEX_TIMEDLOCK)
|
||||
], [
|
||||
AC_MSG_RESULT(no)
|
||||
dnl Add other variants here
|
||||
AC_MSG_WARN(Working around pthread_mutex_timedlock)
|
||||
])
|
||||
])
|
||||
CPPFLAGS=$orig_CPPFLAGS
|
||||
CPPFLAGS="$CPPFLAGS $pthread_CFLAGS"
|
||||
|
||||
# Need PTHREAD_MUTEX_RECURSIVE
|
||||
pthread_CFLAGS=""
|
||||
orig_CPPFLAGS=$CPPFLAGS
|
||||
# This is a gcc-specific error, but we already set
|
||||
# gcc-specific options in CFLAGS
|
||||
CPPFLAGS="$CPPFLAGS -Werror-implicit-function-declaration"
|
||||
AC_MSG_CHECKING(for PTHREAD_MUTEX_RECURSIVE)
|
||||
AC_TRY_COMPILE([ #include <pthread.h>], [
|
||||
pthread_mutexattr_t attr;
|
||||
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
|
||||
], [
|
||||
# Works!
|
||||
AC_MSG_RESULT(ok)
|
||||
], [
|
||||
AC_MSG_RESULT(no)
|
||||
|
||||
# glibc requires -D_GNU_SOURCE before it will declare
|
||||
# this macro
|
||||
AC_MSG_CHECKING(whether _GNU_SOURCE is needed for PTHREAD_MUTEX_RECURSIVE)
|
||||
CPPFLAGS="$CPPFLAGS -D_GNU_SOURCE"
|
||||
AC_TRY_COMPILE([ #include <pthread.h>], [
|
||||
pthread_mutexattr_t attr;
|
||||
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
|
||||
], [
|
||||
AC_MSG_RESULT(ok)
|
||||
pthread_CFLAGS="-D_GNU_SOURCE"
|
||||
], [
|
||||
AC_MSG_RESULT(no)
|
||||
dnl Add other variants here
|
||||
AC_MSG_WARN(Using mono_mutex_t for recursive mutexes)
|
||||
AC_DEFINE(USE_MONO_MUTEX)
|
||||
])
|
||||
])
|
||||
CPPFLAGS=$orig_CPPFLAGS
|
||||
CPPFLAGS="$CPPFLAGS $pthread_CFLAGS"
|
||||
AC_CHECK_LIB(pthread, main, LIBS="$LIBS -lpthread")
|
||||
AC_CHECK_FUNCS(pthread_mutex_timedlock)
|
||||
AC_MSG_CHECKING(for PTHREAD_MUTEX_RECURSIVE)
|
||||
AC_TRY_COMPILE([ #include <pthread.h>], [
|
||||
pthread_mutexattr_t attr;
|
||||
pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
|
||||
], [
|
||||
AC_MSG_ERROR([libpthread is required on non-win32 hosts])
|
||||
AC_MSG_RESULT(ok)
|
||||
], [
|
||||
AC_MSG_RESULT(no)
|
||||
AC_MSG_WARN(Using mono_mutex_t for recursive mutexes)
|
||||
AC_DEFINE(USE_MONO_MUTEX)
|
||||
])
|
||||
|
||||
dnl ********************************
|
||||
@@ -402,12 +383,8 @@ if test x$platform_win32 = xno; then
|
||||
fi
|
||||
fi
|
||||
else
|
||||
AM_CONDITIONAL(THREADS_PTHREAD, false)
|
||||
# This is a kludge, we really ought to test for libws2_32, but
|
||||
# I can't make AC_CHECK_LIB link (the symbols seem to be mangled
|
||||
# with @num suffixes)
|
||||
LIBS="$LIBS -lws2_32"
|
||||
CFLAGS="$CFLAGS -mno-cygwin"
|
||||
AC_CHECK_LIB(ws2_32, main, LIBS="$LIBS -lws2_32", AC_ERROR(bad mingw install?))
|
||||
AC_CHECK_LIB(psapi, main, LIBS="$LIBS -lpsapi", AC_ERROR(bad mingw install?))
|
||||
fi
|
||||
|
||||
dnl ****************************
|
||||
@@ -475,27 +452,6 @@ if test "x$ac_cv_have_dev_random" = "xno" \
|
||||
***]])
|
||||
fi
|
||||
|
||||
if test "x$cross_compiling" = "xno"; then
|
||||
# check for new iconv version
|
||||
AC_MSG_CHECKING(for new iconv)
|
||||
AC_CACHE_VAL(new_iconv,[
|
||||
AC_TRY_RUN([#include <stdio.h>
|
||||
#include <iconv.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
exit (iconv_open ("UTF-16le", "UTF-8") == (iconv_t)-1);
|
||||
}
|
||||
],
|
||||
new_iconv=yes,new_iconv=)])
|
||||
if test -n "$new_iconv"; then
|
||||
AC_MSG_RESULT(yes)
|
||||
AC_DEFINE(HAVE_NEW_ICONV)
|
||||
else
|
||||
AC_MSG_RESULT(no)
|
||||
fi
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING([if inter-process shared handles are requested])
|
||||
AC_ARG_ENABLE(shared-handles, [ --disable-shared-handles disable inter-process shared handles], try_shared_handles=$enableval, try_shared_handles=yes)
|
||||
AC_MSG_RESULT($try_shared_handles)
|
||||
@@ -513,7 +469,7 @@ i*86-*-*) TARGET=X86; arch_target=x86;;
|
||||
sparc*-*-*) TARGET=SPARC; arch_target=sparc; ACCESS_UNALIGNED="no";;
|
||||
#alpha*-*-linux* | alpha*-*-osf*) TARGET=ALPHA; ACCESS_UNALIGNED="no";;
|
||||
#m68k-*-linux*) TARGET=M68K;;
|
||||
powerpc-*-linux* | powerpc-*-sysv*) TARGET=POWERPC; arch_target=ppc;;
|
||||
macppc-*-openbsd* | powerpc-*-linux* | powerpc-*-openbsd* | powerpc-*-sysv*) TARGET=POWERPC; arch_target=ppc;;
|
||||
arm-*-linux-* | armv4l-*-linux-*) TARGET=ARM; arch_target=arm; ACCESS_UNALIGNED="no";;
|
||||
esac
|
||||
|
||||
@@ -535,6 +491,9 @@ AM_CONDITIONAL(M68K, test x$TARGET = xM68K)
|
||||
AM_CONDITIONAL(POWERPC, test x$TARGET = xPOWERPC)
|
||||
AM_CONDITIONAL(ARM, test x$TARGET = xARM)
|
||||
|
||||
LIBC="libc.so.6"
|
||||
AC_SUBST(LIBC)
|
||||
|
||||
AC_SUBST(arch_target)
|
||||
AC_SUBST(CFLAGS)
|
||||
AC_SUBST(CPPFLAGS)
|
||||
@@ -568,6 +527,8 @@ scripts/Makefile
|
||||
man/Makefile
|
||||
doc/Makefile
|
||||
docs/Makefile
|
||||
data/Makefile
|
||||
mono.spec
|
||||
])
|
||||
|
||||
echo "
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
monodir = $(sysconfdir)/mono
|
||||
|
||||
EXTRA_DIST = config.in
|
||||
|
||||
mono_DATA = config
|
||||
|
||||
config: config.in Makefile
|
||||
sed -e 's^\@LIBC\@^libc.so.6^g' < $(srcdir)/config.in > config.tmp \
|
||||
&& mv config.tmp config
|
||||
@@ -0,0 +1,5 @@
|
||||
<configuration>
|
||||
<dllmap dll="cygwin1.dll" target="@LIBC@" />
|
||||
<dllmap dll="libc" target="@LIBC@" />
|
||||
<dllmap dll="libxslt.dll" target="libxslt.so" />
|
||||
</configuration>
|
||||
+15
-10
@@ -29,23 +29,26 @@
|
||||
<b>Step 2:</b> <a href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfSystemDataOleDb.asp?frame=true">System.Data.OleDb</a> Provider:
|
||||
|
||||
<ul>
|
||||
* <p>On Unix systems: System.Data.OleDb will use the
|
||||
* <p>On Unix systems: System.Data.OleDb uses the
|
||||
<a href="http://www.gnome-db.org/">LibGDA</a>
|
||||
engine.
|
||||
|
||||
<p>LibGDA is a data access engine like ADO/OLE-DB, but for Unix. The
|
||||
GDA in libGDA stands for GNU/GNOME Data Access, but it does not require GNOME.
|
||||
It only requires glib2 and libxml2. LibGDA is used by
|
||||
libgnomedb, GNOME-DB, and gaSQL.
|
||||
libgnomedb, GNOME-DB, and gaSQL.
|
||||
|
||||
<p>There is work under way to get libgda working under
|
||||
Windows using Cygwin by the GNOME-DB developers.
|
||||
|
||||
<p>LibGDA has providers for MySQL, PostgreSQL, XML, ODBC,
|
||||
and MDB Tools (MS Access support).
|
||||
Oracle, Interbase, Sybase/SQL server (via FreeTDS), IBM DB2,
|
||||
SQLite and MDB Tools
|
||||
(MS Access support).
|
||||
|
||||
* On Windows systems: System.Data.OleDb will use OLE-DB as
|
||||
its engine. It may have the option of using libgda too.
|
||||
* On Windows systems: System.Data.OleDb will use libgda as well,
|
||||
if we can get it working, or OLE-DB as
|
||||
its engine.
|
||||
</ul>
|
||||
|
||||
<b>Step 3:</b> <a href="http://msdn.microsoft.com/library/en-us/cpref/html/frlrfsystemdatasqlclient.asp?frame=true">System.Data.SqlClient</a> Provider:
|
||||
@@ -58,7 +61,7 @@
|
||||
|
||||
<p>Once Step 1 has been completed and the PostgreSQL
|
||||
provider support has been moved to its own place at
|
||||
System.Data.PostgreSQL, we will use
|
||||
Mono.Data.PostgreSQL, we will use
|
||||
<a href="http://www.freetds.org/">FreeTDS</a> as the basis
|
||||
for providing access to Microsoft SQL Server databases.
|
||||
|
||||
@@ -111,11 +114,13 @@
|
||||
<p>For Step 1, the PostgreSQL is starting to come together - it
|
||||
still needs a lot of work.
|
||||
|
||||
<p>For Step 2, Rodrigo Moya has begun System.Data.OleDb which will use libgda
|
||||
<p>For Step 2, Rodrigo Moya has been working on System.Data.OleDb which uses libgda
|
||||
which is an OLE-DB/ADO data access for Unix. The C-Sharp bindings to libgda
|
||||
currently work - meaning they can compile, run, and you can connect to a
|
||||
PostgreSQL database via libgda via the C-Sharp bindings to libgda. He has also
|
||||
added class stubs for System.Data.OleDb to cvs.
|
||||
PostgreSQL database via libgda via the C-Sharp bindings to libgda. Basic
|
||||
functionality (execution of commands, data retrieval, transactions, etc) are
|
||||
now working. Current focus is on filling up the missing pieces (Data adapters
|
||||
mainly).
|
||||
|
||||
<p>For Step 3, we need someone to start the FreeTDS .NET Data Provider so
|
||||
we can have data access to Microsoft SQL Server and Sybase databases, or either
|
||||
@@ -386,7 +391,7 @@
|
||||
one locally. PostgreSQL is the DBMS used for the initial
|
||||
implementation of System.Data.SqlClient.
|
||||
|
||||
<p>Why? Because it is open source, has a client
|
||||
<p>Why? Because it is free software, has a client
|
||||
library that is easy to use, PostgreSQL is easy to install on
|
||||
Unix and Windows (using the Cygwin install program), not difficult to setup after
|
||||
installation, and it runs under: Linux,
|
||||
|
||||
+27
-19
@@ -12,11 +12,11 @@
|
||||
programs can be run using the Mono runtime and the XSP page
|
||||
parser.
|
||||
|
||||
Tim started work on the Web Services early this week.
|
||||
Although we have a SoapFormatter as part of the remoting
|
||||
infrastructure already (contributed by Jesus), most people
|
||||
will be using the ASP.NET Web-services support. Work for the
|
||||
supporting class libraries just started recently.
|
||||
Tim started work on the Web Services. Although we have a
|
||||
SoapFormatter as part of the remoting infrastructure already
|
||||
(contributed by Jesus), most people will be using the ASP.NET
|
||||
Web Services support. Work for the supporting class libraries
|
||||
just started recently.
|
||||
|
||||
* Web Forms: The pieces
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
files and generated the code required to run them (the code lives in
|
||||
module `xsp' along with a little web server for testing).
|
||||
|
||||
Most of the runtime support was mostly written by Patrik Torstensson
|
||||
Most of the runtime support was written by Patrik Torstensson
|
||||
(now at Intel). This was interesting, because in order to implement
|
||||
some of its features, Patrik had to go into the runtime/JIT engine and
|
||||
he spent a few weeks doing work there.
|
||||
@@ -56,14 +56,18 @@
|
||||
** HttpRuntime
|
||||
|
||||
Patrik has authored most of the HttpRuntime support (both on
|
||||
the System.Web and on the foundation) but it is still not
|
||||
ready to run.
|
||||
the System.Web and on the foundation).
|
||||
|
||||
He is now working on finishing HttpRuntime and a few needed
|
||||
classes.
|
||||
|
||||
** XSP
|
||||
|
||||
Currently XSP provides the .aspx compiler to C#. It would be
|
||||
interesting to see if it makes sense to extend the ASP.NET
|
||||
syntax to make it simpler to develop applications.
|
||||
Currently XSP provides the .aspx compiler to C#.
|
||||
There is also a small web server for testing in module xsp
|
||||
along with a bunch of .aspx pages to test the server.
|
||||
|
||||
The C# code generator is being moved to System.Web.Compilation.
|
||||
|
||||
Gonzalo is in charge of the compiler.
|
||||
|
||||
@@ -73,10 +77,11 @@
|
||||
implement the controls (UI.HtmlControls and UI.WebControls),
|
||||
but they have been coded mostly in the dark, and without being
|
||||
able to test them in real life: Gaurav and Leen worked very
|
||||
hard on this namespace, but needs to be finished.
|
||||
hard on this namespace.
|
||||
|
||||
We can now render all HtmlControls and some WebControls. Work is
|
||||
ongoing to make all WebControls render HTML.
|
||||
We can now render all HtmlControls and almost all WebControls.
|
||||
DataGrid and DataList controls are being finisehd by Gaurav.
|
||||
Xml control needs some work on System.Xml related to XSL.
|
||||
|
||||
** Extending ASP.NET
|
||||
|
||||
@@ -101,16 +106,19 @@
|
||||
but using our generated page.
|
||||
|
||||
4. Run the sample with our classes with the .NET runtime.
|
||||
<b>We are here</b>.
|
||||
|
||||
5. Finish HttpRuntime.
|
||||
5. Run the samples with our classes with the our runtime (without
|
||||
using HttpRuntime).
|
||||
|
||||
6. Finish HttpRuntime.
|
||||
<b>We are here</b>.
|
||||
|
||||
6. Running our sample code with our classes with our runtime.
|
||||
7. Running our sample code with our classes with our runtime.
|
||||
|
||||
** How to Help
|
||||
|
||||
Currently we are testing and fixing HtmlControls, WebControls and
|
||||
validators.
|
||||
Testing and fixing HtmlControls, WebControls and validators is an
|
||||
easy way to help.
|
||||
|
||||
In the CVS module XSP you can find the aspx to C# page parser,
|
||||
a little web server used for testing and a directory containing
|
||||
|
||||
+12
-35
@@ -2,17 +2,13 @@
|
||||
|
||||
MCS is currently able to compile itself and many more C#
|
||||
programs (there is a test suite included that you can use).
|
||||
It is routinely used to compile Mono, roughly half a million
|
||||
lines of C# code.
|
||||
|
||||
We are in feature completion mode right now. There are still
|
||||
a couple of areas that are not covered by the Mono compiler, but
|
||||
they are very very few at this point.
|
||||
|
||||
MCS was able to parse itself on April 2001, MCS compiled itself
|
||||
for the first time on December 28 2001. MCS became self hosting
|
||||
on January 3rd, 2002.
|
||||
|
||||
The Mono Runtime and the Mono execution engine were able to make
|
||||
our compiler self hosting on March 12, 2002.
|
||||
they are very very few at this point (security attributes),
|
||||
you can also browse the MCS <a href="http://bugzilla.ximian.com/buglist.cgi?product=Mono%2FMCS&bug_status=NEW&bug_status=ASSIGNED&bug_status=REOPENED&email1=&emailtype1=substring&emailassigned_to1=1&email2=&emailtype2=substring&emailreporter2=1&changedin=&chfieldfrom=&chfieldto=Now&chfieldvalue=&short_desc=&short_desc_type=substring&long_desc=&long_desc_type=substring&bug_file_loc=&bug_file_loc_type=substring&keywords=&keywords_type=anywords&op_sys_details=&op_sys_details_type=substring&version_details=&version_details_type=substring&cmdtype=doit&newqueryname=&order=Reuse+same+sort+as+last+time&form_name=query">bugs</a> from Bugzilla.
|
||||
|
||||
A test suite is maintained to track the progress of
|
||||
the compiler and various programs are routinely compiled and
|
||||
@@ -27,8 +23,8 @@
|
||||
** Running MCS
|
||||
|
||||
MCS is written in C# and uses heavily the .NET APIs. MCS runs
|
||||
on Linux (with the Mono runtime) and Windows (with the .NET
|
||||
framework runtime)
|
||||
on Linux with the Mono runtime and on Windows with both the
|
||||
.NET runtime and the Mono runtime.
|
||||
|
||||
** Reporting Bugs in MCS
|
||||
|
||||
@@ -103,33 +99,14 @@
|
||||
able to use this generic CIL optimizer in their projects
|
||||
reducing their time to develop a production compiler.
|
||||
|
||||
<a name="tasks">
|
||||
** Current pending tasks
|
||||
** History
|
||||
|
||||
Simple tasks:
|
||||
MCS was able to parse itself on April 2001, MCS compiled itself
|
||||
for the first time on December 28 2001. MCS became self hosting
|
||||
on January 3rd, 2002.
|
||||
|
||||
<ul>
|
||||
* Redo the way we deal with built-in operators.
|
||||
</ul>
|
||||
|
||||
Larger tasks:
|
||||
<ul>
|
||||
|
||||
* Jay does not work correctly with `error'
|
||||
productions, making parser errors hard to point. It
|
||||
would be best to port the Bison-To-Java compiler to
|
||||
become Bison-to-C# compiler.
|
||||
|
||||
Nick Drochak has started a project on SourceForge for this.
|
||||
You can find the project at: <a href="http://sourceforge.net/projects/jb2csharp/">
|
||||
http://sourceforge.net/projects/jb2csharp/</a>
|
||||
|
||||
* Semantic Analysis: Return path coverage and
|
||||
initialization before use coverage are two great
|
||||
features of C# that help reduce the number of bugs
|
||||
in applications. It is one interesting hack.
|
||||
|
||||
</ul>
|
||||
The Mono Runtime and the Mono execution engine were able to make
|
||||
our compiler self hosting on March 12, 2002.
|
||||
|
||||
** Questions and Answers
|
||||
|
||||
|
||||
@@ -6,10 +6,11 @@
|
||||
If you are not a developer, but want to track the development, please
|
||||
see the <a href="anoncvs.html">AnonCVS</a> instructions.
|
||||
|
||||
Send an e-mail to miguel with your public SSH key for this
|
||||
purpose. Please specify if the key was generated with SSH1 or SSH2.
|
||||
Send an e-mail to miguel with your public OpenSSH key for this
|
||||
purpose. Please specify if the key was generated with SSH version 1
|
||||
or version 2.
|
||||
|
||||
If you are using SSH2, please generate your key using:
|
||||
If you are using SSH version 2, please generate your key using:
|
||||
|
||||
<pre>
|
||||
ssh-keygen -t rsa
|
||||
@@ -17,13 +18,32 @@
|
||||
|
||||
And mail me the id_rsa.pub file.
|
||||
|
||||
If you are using SSH1, run:
|
||||
If you are using SSH version 1, run:
|
||||
<pre>
|
||||
ssh-keygen
|
||||
</pre>
|
||||
|
||||
And mail me your identity.pub file.
|
||||
|
||||
If you are using SSH from SSH Communications Security (they offer
|
||||
a free SSH client for personal use), you have to use OpenSSH to
|
||||
convert your public key to the required format. You have to use
|
||||
OpenSSH's ssh-keygen program and write the following:
|
||||
|
||||
<pre>
|
||||
ssh-keygen -i -f id_XXX.pub > my_public_key.pub
|
||||
</pre>
|
||||
|
||||
where the file <pre>id_XXX.pub</pre> is your public key file,
|
||||
normally located under <pre>~/.ssh/</pre> or <pre>~/.ssh2/</pre>.
|
||||
Send to miguel the <pre>my_public_key.pub</pre> file.
|
||||
|
||||
The *exact* format for this file must be:
|
||||
|
||||
<pre>
|
||||
ssh-rsa XXXXX....
|
||||
</pre>
|
||||
|
||||
You will need CVS and SSH. Windows users can get both by
|
||||
installing Cygwin (<a
|
||||
href="http://www.cygwin.com">http://www.cygwin.com</a>)
|
||||
|
||||
+32
-75
@@ -2,11 +2,6 @@
|
||||
|
||||
** Summary
|
||||
|
||||
<em>
|
||||
[This documentation is in progress. Comments to
|
||||
<a href="mailto:[email protected]">[email protected]</a>.]
|
||||
</em>
|
||||
|
||||
While using inline XML tags to document classes is certainly
|
||||
convenient, properly verbose documentation quickly overwhelms
|
||||
the code, making the source quite difficult to read. Furthermore,
|
||||
@@ -19,87 +14,49 @@
|
||||
and updating class library documentation, including:
|
||||
|
||||
<ul>
|
||||
<li><a href="#docstub">docstub</a></li>
|
||||
<li><a href="#docverify">docverify</a></li>
|
||||
<li><a href="#docconv">docconv</a></li>
|
||||
<li><a href="#docgen">docgen</a></li>
|
||||
<li><a href="#monodoc">monodoc</a></li>
|
||||
<li><a href="#monodoc">MonoDoc - A graphical documentation editor and viewer.</a></li>
|
||||
<li><a href="#mkmaster">MkMaster - A command line tool to feed stub information to MonoDoc.</a></li>
|
||||
<li><a href="#aspnet">An ASP.NET documentation editor.</a></li>
|
||||
<li><a href="#xsltool">An xsl tool to convert monodoc xml to html documentation.</a></li>
|
||||
</ul>
|
||||
|
||||
|
||||
** XML Documentation Files and Formats
|
||||
|
||||
|
||||
|
||||
*** Monodoc XML
|
||||
This XML is similar to the XML documentation described in the
|
||||
C# standard, with added tags for internationalization and a
|
||||
slightly different structure. Documentation and a DTD/Schema
|
||||
for Monodoc XML is forthcoming.
|
||||
|
||||
Monodoc XML does not contain any definitive type information,
|
||||
and is only useful in conjunction with the Type definition for
|
||||
whatever is being documented.
|
||||
|
||||
This XML could be generated by hand, by monostub, or by monodoc.
|
||||
|
||||
*** Assembly XML
|
||||
This XML is generated by combining runtime type information for
|
||||
an Assembly with a collection of Monodoc XML files. The resultant
|
||||
XML (in the best of cases) contains both complete type and
|
||||
documentary information for each type in the assembly.
|
||||
|
||||
This XML contains enough information to be transformed into
|
||||
user-accessible documentation. It is likely that scripts
|
||||
will be created to generate reference docs as HTML and other
|
||||
formats.
|
||||
|
||||
Documentation and a DTD/Schema for Assembly XML is forthcoming.
|
||||
|
||||
This XML is Mono's documentation format. Documentation and a DTD/Schema
|
||||
for Monodoc XML is located in cvs and can be found <a href="http://go-mono.org/monodoc.dtd">here</a>.
|
||||
|
||||
This XML could be generated by MonoDoc or the ASP.NET client.
|
||||
|
||||
More about the XML format <a href="http://go-mono.org/monodoc-xml.html">here</a>.
|
||||
** Documentation Tools
|
||||
|
||||
*** <a name="docstub">docstub</a>
|
||||
Given a type name and an assembly, generates stub Monodoc XML
|
||||
documentation for the type. Optionally, docstub can attempt to
|
||||
populate initial documentation from an XML file in the format
|
||||
published along with the ECMA standard.
|
||||
|
||||
*** <a name="docverify">docverify</a>
|
||||
Given a Monodoc XML file and an assembly, verifies that the
|
||||
documentation matches the compiled type. Checks signatures,
|
||||
parameters, et cetera.
|
||||
|
||||
*** <a name="docconv">docconv</a>
|
||||
Converts from Monodoc XML to the standard C# compiler-emitted
|
||||
XML format and vice versa.
|
||||
|
||||
*** <a name="docgen">docgen</a>
|
||||
Given an assembly and a collection of Monodoc XML files, creates
|
||||
an Assembly XML file containing all documentation and type information
|
||||
available. This output is suitable for transforming into user
|
||||
documentation.
|
||||
|
||||
*** <a name="monodoc">monodoc</a>
|
||||
A GUI tool for documentation and translation, this encapsulates
|
||||
the capabilities of docstub, docverify, docconv, and docgen in
|
||||
a friendly user interface. In addition, monodoc provides features
|
||||
to ease translation, such as side-by-side editing and coverage
|
||||
statistics.
|
||||
|
||||
*** <a name="monodoc">MonoDoc</a>
|
||||
A graphical documentation editor and viewer. Currently, MonoDoc
|
||||
consists of a Qt# application and is in heavy development.
|
||||
|
||||
*** <a name="mkmaster">MkMaster</a>
|
||||
This tool creates the Master.xml file that MonoDoc uses as a reference
|
||||
for documentation generation. This is a reflection engine that is used
|
||||
to gather metadata from assemblies and create an xml representation.
|
||||
|
||||
*** <a name="aspnet">ASP.NET</a>
|
||||
This tool is planned.
|
||||
|
||||
*** <a name="xsltool">An XSL converter</a>
|
||||
This tool is planned. If someone wants to step forward and adopt this
|
||||
project, it would be very helpful ;)
|
||||
|
||||
** Status and Roadmap
|
||||
|
||||
*** 2 January 2002
|
||||
*** 16, September 2002
|
||||
|
||||
As I write the initial version of this document, very little has been
|
||||
implemented. Currently, there is a:
|
||||
|
||||
<ul>
|
||||
<li>Preliminary version of the Monodoc XML format</li>
|
||||
<li>Preliminary version of the docstub utility</li>
|
||||
</ul>
|
||||
|
||||
Here's hoping for frequent, productive updates.
|
||||
A preliminary version of MonoDoc is in Mono's cvs. It is under heavy development.
|
||||
Once this is complete we will start documenting the API!
|
||||
|
||||
** Get Involved
|
||||
|
||||
Help us define Mono's documentation structure! Subscribe to
|
||||
Help us develop Mono's documentation tools! Subscribe to
|
||||
<a href="http://lists.ximian.com/mailman/listinfo/mono-docs-list">mono-docs-list</a>
|
||||
and wade right in.
|
||||
+1
-1
@@ -9,5 +9,5 @@
|
||||
href="http://primates.ximian.com/~miguel">http://primates.ximian.com/~miguel"</a>
|
||||
|
||||
You can also <a
|
||||
href="http://www.ximian.com/about/contact.php3">reach Ximian.</a>
|
||||
href="http://www.ximian.com/about_us/contact/">reach Ximian.</a>
|
||||
|
||||
+253
-275
@@ -6,72 +6,158 @@
|
||||
href="runtime.html">Runtime</a> description for more details
|
||||
on this part of the project.
|
||||
|
||||
The code for the C# compiler as well as the language error
|
||||
test suite and the class library are in the `mcs' package, we
|
||||
will move this later into `mono' itself.
|
||||
Some useful links: <a
|
||||
href="http://www.go-mono.org/mono-beginning.html">Resources/Beginning
|
||||
section</a>, the <a
|
||||
href="http://www.go-mono.org/faq.html">FAQ</a> and the <a
|
||||
href="http://geneura.ugr.es/~jaime/deploy/mono-common-problems.html">
|
||||
Mono Common Problems</a>.
|
||||
|
||||
In order to make mcs and the class libraries you will need a computer
|
||||
running Windows with the <strong>GNU make tools</strong> from the
|
||||
<strong>Cygwin</strong> environment, <strong>Microsoft's .NET Framework
|
||||
SDK</strong>, <strong>GLIB 2.0</strong> and
|
||||
<strong>pkg-config</strong>.
|
||||
<table>
|
||||
<tbody>
|
||||
<tr bgcolor="#DDDDDD">
|
||||
<td>
|
||||
<b>Release 0.15</b><br>
|
||||
<a href="archive/mono-0.15">Release notes</a><br>
|
||||
Aug 23rd, 2002.
|
||||
</td>
|
||||
<td>
|
||||
<table cellspacing="1" cellpadding="3">
|
||||
<tr bgcolor="#BBBBBB">
|
||||
<td>
|
||||
<b>Source Code</b>
|
||||
</td>
|
||||
<td>
|
||||
<ul>
|
||||
<li><a href="archive/mcs-0.15.tar.gz">Mono Class Libraries and C# Compiler.</a>
|
||||
<li><a href="archive/mono-0.15.tar.gz">Mono Runtime</a>
|
||||
<li><a href="archive/gc6.1alpha5.tar.gz">Boehm GC 6.1alpha5</a>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="#BBBBBB">
|
||||
<td>
|
||||
<b>Source RPMs</b>
|
||||
</td>
|
||||
<td>
|
||||
<ul>
|
||||
<li><a href="archive/libgc-6.1alpha5-1.src.rpm">libgc-6.1alpha5-1.src.rpm</a>
|
||||
<li><a href="archive/mono-0.15-1.src.rpm">mono-0.15-1.src.rpm</a>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#999999">
|
||||
<b>Red Hat 7.3/x86</b>
|
||||
<ul>
|
||||
<li><a href="archive/redhat-73-i386/libgc-6.1alpha5-1.i386.rpm">libgc-6.1alpha5-1.i386.rpm</a>
|
||||
<li><a href="archive/redhat-73-i386/libgc-devel-6.1alpha5-1.i386.rpm">libgc-devel-6.1alpha5-1.i386.rpm</a>
|
||||
<li><a href="archive/redhat-73-i386/mono-0.15-1.i386.rpm">mono-0.15-1.i386.rpm</a>
|
||||
<li><a href="archive/redhat-73-i386/mono-devel-0.15-1.i386.rpm">mono-devel-0.15-1.i386.rpm</a>
|
||||
</ul>
|
||||
</td>
|
||||
<td bgcolor="#999999">
|
||||
<b>Red Hat 7.1/x86</b>
|
||||
<ul>
|
||||
<li><a href="archive/redhat-71-i386/libgc-6.1alpha5-1.i386.rpm">libgc-6.1alpha5-1.i386.rpm</a>
|
||||
<li><a href="archive/redhat-71-i386/libgc-devel-6.1alpha5-1.i386.rpm">libgc-devel-6.1alpha5-1.i386.rpm</a>
|
||||
<li><a href="archive/redhat-71-i386/mono-0.15-1.i386.rpm">mono-0.15-1.i386.rpm</a>
|
||||
<li><a href="archive/redhat-71-i386/mono-devel-0.15-1.i386.rpm">mono-devel-0.15-1.i386.rpm</a>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td bgcolor="#999999">
|
||||
<b>Mandrake 8.2/x86</b>
|
||||
<ul>
|
||||
<li><a href="archive/mandrake-82-i386/libgc-6.1alpha5-1.i586.rpm">libgc-6.1alpha5-1.i586.rpm</a>
|
||||
<li><a href="archive/mandrake-82-i386/libgc-devel-6.1alpha5-1.i586.rpm">libgc-devel-6.1alpha5-1.i586.rpm</a>
|
||||
<li><a href="archive/mandrake-82-i386/mono-0.15-1.i586.rpm">mono-0.15-1.i586.rpm</a>
|
||||
<li><a href="archive/mandrake-82-i386/mono-devel-0.15-1.i586.rpm">mono-devel-0.15-1.i586.rpm</a>
|
||||
</ul>
|
||||
</td>
|
||||
<td bgcolor="#999999">
|
||||
<b>SuSE 8.0/x86</b>
|
||||
<ul>
|
||||
<li><a href="archive/suse-80-i386/libgc-6.1alpha5-1.i386.rpm">libgc-6.1alpha5-1.i386.rpm</a>
|
||||
<li><a href="archive/suse-80-i386/libgc-devel-6.1alpha5-1.i386.rpm">libgc-devel-6.1alpha5-1.i386.rpm</a>
|
||||
<li><a href="archive/suse-80-i386/mono-0.15-1.i386.rpm">mono-0.15-1.i386.rpm</a>
|
||||
<li><a href="archive/suse-80-i386/mono-devel-0.15-1.i386.rpm">mono-devel-0.15-1.i386.rpm</a>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr bgcolor="#999999">
|
||||
<td>
|
||||
<b>Windows (win95 friendly)</b>
|
||||
<ul>
|
||||
<li><a href="archive/mono-w32-Aug_28_2002.zip">Mono-w32</a>
|
||||
</ul>
|
||||
</td>
|
||||
<td bgcolor="#999999">
|
||||
<b>Windows Setup Wizard (NT/2000/XP)</b>
|
||||
<ul>
|
||||
<li><a href="http://www.sport-huettn.de/mono/mono-0.15-stable.exe">Mono-Setup</a>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
<tr bgcolor="#999999">
|
||||
<td bgcolor="#999999">
|
||||
<b>Red Hat null-8.0/x86</b>
|
||||
<ul>
|
||||
<li><a href="archive/redhat-null-i386/libgc-6.1alpha5-1.i386.rpm">libgc-6.1alpha5-1.i386.rpm</a>
|
||||
<li><a href="archive/redhat-null-i386/libgc-devel-6.1alpha5-1.i386.rpm">libgc-devel-6.1alpha5-1.i386.rpm</a>
|
||||
<li><a href="archive/redhat-null-i386/mono-0.15-1.i386.rpm">mono-0.15-1.i386.rpm</a>
|
||||
<li><a href="archive/redhat-null-i386/mono-devel-0.15-1.i386.rpm">mono-devel-0.15-1.i386.rpm</a>
|
||||
</ul>
|
||||
</td>
|
||||
<td bgcolor="#999999">
|
||||
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<tr bgcolor="#CCCCC">
|
||||
<td>
|
||||
<b>Regression Tests</b><br>
|
||||
</td>
|
||||
<td>
|
||||
You can get binaries for the Mono Regression Test
|
||||
Suite <a href="archive/mono-tests.tar.gz">here</a>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
When installing Cygwin, don't forget to include
|
||||
<tt>mingw-runtime</tt>. If you omit this, you will encounter
|
||||
configure problems regarding not being able to generate
|
||||
executables.
|
||||
** Binaries for other platforms.
|
||||
|
||||
<a name="sources">
|
||||
*** Sources
|
||||
|
||||
Stay up to date on the Mono team's development using the
|
||||
<a href="http://lists.ximian.com/mailman/listinfo/mono-cvs-list">
|
||||
mono-cvs-list</a> mailing list. The CVS source code can also
|
||||
be browsed <a href="http://cvs.hispalinux.es/cgi-bin/cvsweb/?cvsroot=Mono#dirlist">here</a>
|
||||
|
||||
<a name="jun-7">
|
||||
<b>Mono 0.12</b>
|
||||
|
||||
New packaged versions of the Mono C# compiler and Mono runtime
|
||||
are now available. The latest version is 0.12.
|
||||
Already daily volunteer's made binaries:
|
||||
|
||||
<ul>
|
||||
* <a href="archive/mono-0.12">Mono 0.12 release notes</a>
|
||||
|
||||
* <a href="archive/mcs-0.12.tar.gz">mcs-0.12.tar.gz</a>
|
||||
Mono C# compiler with class library source code.
|
||||
|
||||
* <a href="archive/mono-0.12.tar.gz">mono-0.12.tar.gz</a>
|
||||
Mono runtime.
|
||||
</ul>
|
||||
|
||||
* Snapshots
|
||||
|
||||
Volunteers package up daily the sources:
|
||||
|
||||
<ul>
|
||||
* <a href="http://www.atoker.com/mono">Debian Linux</a>
|
||||
* <a href="http://mono.baselabs.org/index.php/software">Red Hat Linux</a>
|
||||
* <a href="http://www.debianplanet.org/mono/">DebianPlanet</a>
|
||||
* <a href="http://www.superin.formativ.net/mono/mono.htm">Windows</a> (works without cygwin!)
|
||||
</ul>
|
||||
|
||||
* Snapshots
|
||||
|
||||
<a name="snapshots">
|
||||
For up to date sources, it is recommended that you use the Mono
|
||||
source code from either the
|
||||
<a href="http://www.go-mono.com/snapshots">nightly snapshots</a> or
|
||||
the <a href="anoncvs.html">Anonymous CVS</a>. The nightly
|
||||
snapshots are done every night at 10pm EST (Boston Time).
|
||||
|
||||
The nightly snapshots are not guaranteed to build, but most of the
|
||||
time they should. They should give you a window to see what we are
|
||||
up to.
|
||||
<a href="http://www.go-mono.com/snapshots">Nightly snapshots</a> of
|
||||
the CVS repository are made every day at 10pm EST (Boston
|
||||
Time). These are not guaranteed to build, they are just a
|
||||
snapshot of the tree.
|
||||
|
||||
You can download the GNU make tools and the Cygwin environment from
|
||||
<a href="http://www.cygwin.com">www.cygwin.com</a>.
|
||||
The <a href="anoncvs.html">anoncvs</a> mirrors provided by
|
||||
Hispalinux are updated every six hours.
|
||||
|
||||
You can download Microsoft's .NET Framework SDK from
|
||||
<a href="http://msdn.microsoft.com/downloads">
|
||||
msdn.microsoft.com/downloads</a>.
|
||||
* Compiling with scripts
|
||||
|
||||
There are scripts to help build mono for both Unix and Windows. Get
|
||||
<a href="mono-build.sh">mono-build.sh</a> for Unix, or <a
|
||||
@@ -92,25 +178,117 @@
|
||||
The script requires wget on either platform, and building the
|
||||
software requires make, gcc, automake, autoconf, and libtool.
|
||||
You should install these packages from your distribution or
|
||||
with the cygwin installer.
|
||||
with the cygwin installer. You should also take care of setting
|
||||
the right environment variables as the PKG_CONFIG_FLAGS, etc.
|
||||
|
||||
The script will download required packages from
|
||||
www.go-mono.com and do a cvs checkout of mono in the current
|
||||
directory. The cvs server chosen defaults to anonymous cvs;
|
||||
directory. <b>IMPORTANT!:</b> The cvs server chosen defaults to
|
||||
anonymous cvs;
|
||||
set your CVSROOT environment variable before running the script to
|
||||
select a particular cvs server.
|
||||
|
||||
** Mono Regression Test Suite
|
||||
|
||||
You can get binaries for the Mono Regression Test Suite <a
|
||||
href="archive/mono-tests.tar.gz">here</a>
|
||||
|
||||
<a name="install">
|
||||
** Building the software manually
|
||||
|
||||
*** Download the required software.
|
||||
You will need to obtain the Mono dependencies first: <a
|
||||
href="http://www.gtk.org">glib 2.x</a> and
|
||||
<a href="http://www.freedesktop.org/software/pkgconfig">pkg-config</a>.
|
||||
|
||||
*** Building on Linux
|
||||
|
||||
<ul>
|
||||
Unpack the Mono runtime distribution:
|
||||
<pre>
|
||||
tar xzvf mono-X.XX.tar.gz
|
||||
cd mono-X.XX
|
||||
|
||||
</pre>
|
||||
<p>
|
||||
|
||||
Then configure, compile and install:
|
||||
|
||||
<pre>
|
||||
|
||||
./configure --prefix=/usr/local
|
||||
make
|
||||
make install</pre>
|
||||
|
||||
This will give you a runtime, C# compiler and runtime
|
||||
libraries.
|
||||
|
||||
If you want to recompile the runtime and the compiler,
|
||||
follow these steps, first unpack the MCS package:
|
||||
|
||||
<pre>
|
||||
tar xzvf mcs-X.XX.tar.gz
|
||||
|
||||
cd mcs-X.XX
|
||||
</pre>
|
||||
|
||||
Then use the following command to compile and install:
|
||||
|
||||
<pre>
|
||||
|
||||
make -f makefile.gnu install prefix=/usr/local
|
||||
</pre>
|
||||
|
||||
You can change /usr/local to something else if you want.
|
||||
</ul>
|
||||
|
||||
*** On Windows, to install and work on the compiler and the class libraries:
|
||||
|
||||
**** Install Cygwin and the GNU build tools, Microsoft's .NET Framework SDK and the precompiled GLIB 2.0 and pkg-config libraries.
|
||||
|
||||
<ul>
|
||||
|
||||
* Install <a href="http://www.cygwin.com">Cygwin</a>.
|
||||
|
||||
* Install <a href="http://msdn.microsoft.com/downloads">
|
||||
Microsoft .NET Framework SDK</a>.
|
||||
|
||||
* Change to the /usr/local directory
|
||||
of your Cygwin installation.<br>
|
||||
Unzip the precompiled packages listed above.
|
||||
|
||||
</ul>
|
||||
<ul>
|
||||
|
||||
* If you downloaded the Mono
|
||||
<a href="http://www.go-mono.com/snapshots">nightly snapshot
|
||||
</a>, untar the snapshot.
|
||||
|
||||
* Change directories to "mcs".
|
||||
|
||||
* Compile:
|
||||
|
||||
<pre>
|
||||
make
|
||||
</pre>
|
||||
</ul>
|
||||
|
||||
*** On Windows, to compile the mono runtime:
|
||||
|
||||
<ul>
|
||||
|
||||
* If you downloaded the Mono
|
||||
<a href="http://www.go-mono.com/snapshots">nightly snapshot
|
||||
</a>, untar the snapshot.
|
||||
|
||||
* Change directories to "mono".
|
||||
|
||||
* Configure, compile and install:
|
||||
<pre>
|
||||
./configure --prefix=c:/mono
|
||||
make
|
||||
make install
|
||||
</pre>
|
||||
|
||||
</ul>
|
||||
|
||||
* Software resources and notes
|
||||
|
||||
The required and additional software can be downloaded here:
|
||||
|
||||
* Microsoft's .NET Framework SDK from
|
||||
<a href="http://msdn.microsoft.com/downloads">
|
||||
@@ -121,14 +299,15 @@
|
||||
Some people observed problems with autoconf 2.52. Installing
|
||||
autoconf 2.13 helped in those cases.
|
||||
|
||||
* Precompiled GLIB 1.3 and pkg-config packages (and
|
||||
* Precompiled GLIB 2.0 and pkg-config packages (and
|
||||
their dependencies) by the <a href="http://www.gimp.org/~tml/gimp/win32//index.html">GIMP for Windows</a> project from
|
||||
<a href="http://www.go-mono.com/archive/pkgconfig-0.80-tml-20020101.zip">http://www.go-mono.com/archive/pkgconfig-0.80-tml-20020101.zip</a>
|
||||
<a href="http://www.go-mono.com/archive/glib-1.3.12-20020101.zip">http://www.go-mono.com/archive/glib-1.3.12-20020101.zip</a>
|
||||
<a href="http://www.go-mono.com/archive/glib-dev-1.3.12-20020101.zip">http://www.go-mono.com/archive/glib-dev-1.3.12-20020101.zip</a>
|
||||
<a href="http://www.go-mono.com/archive/libiconv-1.7.zip">http://www.go-mono.com/archive/libiconv-1.7.zip</a>
|
||||
<a href="http://www.go-mono.com/archive/libiconv-dev-1.7.zip">http://www.go-mono.com/archive/libiconv-dev-1.7-20020101.zip</a>
|
||||
<a href="http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip">http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip</a>
|
||||
<a href="http://www.go-mono.com/archive/pkgconfig-0.11-20020310.zip">http://www.go-mono.com/archive/pkgconfig-0.11-20020310.zip</a><br>
|
||||
<a href="http://www.go-mono.com/archive/glib-2.0.4-20020703.zip">http://www.go-mono.com/archive/glib-2.0.4-20020703.zip</a> <br>
|
||||
<a href="http://www.go-mono.com/archive/glib-dev-2.0.4-20020703.zip">http://www.go-mono.com/archive/glib-dev-2.0.4-20020703.zip</a> <br>
|
||||
<a href="http://www.go-mono.com/archive/libiconv-1.7.zip">http://www.go-mono.com/archive/libiconv-1.7.zip</a> <br>
|
||||
<a href="http://www.go-mono.com/archive/libiconv-dev-1.7.zip">http://www.go-mono.com/archive/libiconv-dev-1.7-20020101.zip</a> <br>
|
||||
<a href="http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip">http://www.go-mono.com/archive/libintl-0.10.40-20020101.zip</a><br>
|
||||
|
||||
|
||||
* Download the Mono source code from the
|
||||
<a href="#feb-11">packaged versions</a> or
|
||||
@@ -142,88 +321,7 @@
|
||||
</ul>
|
||||
|
||||
|
||||
*** Install Cygwin and the GNU build tools, Microsoft's .NET Framework SDK and the precompiled GLIB 1.3 and pkg-config libraries.
|
||||
|
||||
<ul>
|
||||
|
||||
* Install <a href="http://www.cygwin.com">Cygwin</a>.
|
||||
|
||||
* Install <a href="http://msdn.microsoft.com/downloads">
|
||||
Microsoft .NET Framework SDK</a>.
|
||||
|
||||
* Change to the <strong>/usr/local</strong> directory
|
||||
of your Cygwin installation.<br>
|
||||
Unzip the precompiled packages listed above.
|
||||
|
||||
</ul>
|
||||
|
||||
*** On Windows, to install and work on the compiler and the class libraries:
|
||||
|
||||
<ul>
|
||||
|
||||
* If you downloaded the Mono
|
||||
<a href="http://www.go-mono.com/snapshots">nightly snapshot
|
||||
</a>, untar the snapshot.
|
||||
|
||||
* Change directories to <strong>"mcs"</strong>.
|
||||
|
||||
* Compile:
|
||||
|
||||
<pre>
|
||||
<strong>make windows</strong>
|
||||
</pre>
|
||||
|
||||
</ul>
|
||||
|
||||
*** On Windows, to compile the mono runtime:
|
||||
|
||||
<ul>
|
||||
|
||||
* If you downloaded the Mono
|
||||
<a href="http://www.go-mono.com/snapshots">nightly snapshot
|
||||
</a>, untar the snapshot.
|
||||
|
||||
* Change directories to <strong>"mono"</strong>.
|
||||
|
||||
* Configure, compile and install:
|
||||
|
||||
<pre><strong>
|
||||
./configure --prefix=c:/mono
|
||||
make
|
||||
make install
|
||||
</strong></pre>
|
||||
|
||||
</ul>
|
||||
|
||||
*** On Unix, to compile the mono runtime:
|
||||
|
||||
<ul>
|
||||
|
||||
* Install <a href="http://www.freedesktop.org/software/pkgconfig">pkg-config</a>.
|
||||
|
||||
* Install glib 1.3. You can download it
|
||||
from <a href="ftp://ftp.gtk.org/pub/gtk/v1.3/glib-1.3.12.tar.gz">ftp.gtk.org</a>. Maybe you need
|
||||
to modify your ACLOCAL_FLAGS for pkg-config, for example if
|
||||
your install prefix is /usr/local:
|
||||
<pre>
|
||||
<strong>export ACLOCAL_FLAGS="-I /usr/local/share/aclocal"</strong>
|
||||
</pre>
|
||||
|
||||
* If you downloaded the Mono
|
||||
<a href="http://www.go-mono.com/snapshots">nightly snapshots
|
||||
</a>, untar the snapshot.
|
||||
|
||||
* Change directories to <strong>"mono"</strong>.
|
||||
|
||||
* Configure, compile and install:
|
||||
<pre><strong>
|
||||
./configure
|
||||
make
|
||||
make install</strong>
|
||||
</pre>
|
||||
</ul>
|
||||
|
||||
*** Notes on compiling GLIB 1.3 and pkg-config from source:
|
||||
*** Notes on compiling GLIB 2.0 and pkg-config from source:
|
||||
|
||||
|
||||
<ul>
|
||||
@@ -238,12 +336,12 @@ make install</strong>
|
||||
<nobr><tt>extern char *strsignal (int sig);</tt></nobr> to
|
||||
<nobr><tt>extern const char *strsignal (int sig);</tt></nobr>.
|
||||
|
||||
<pre><strong>
|
||||
<pre>
|
||||
tar xzvf pkg-config-0.8.0.tar.gz
|
||||
cd pkg-config-0.8.0
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
make install</strong>
|
||||
make install
|
||||
</pre>
|
||||
|
||||
* Download, compile and install <a href="ftp://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.7.tar.gz">libiconv</a> from source.<br>
|
||||
@@ -254,128 +352,8 @@ make install</strong>
|
||||
|
||||
|
||||
* Download, compile and install the
|
||||
<a href="ftp://ftp.gtk.org/pub/gtk/v1.3/glib-1.3.12.tar.gz">
|
||||
glib 1.3</a> from source.
|
||||
<a href="ftp://ftp.gtk.org/pub/gtk/v2.0/glib-2.0.6.tar.gz">
|
||||
glib 2.0</a> from source.
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
<a name="oldreleases">
|
||||
|
||||
*** Old releases.
|
||||
|
||||
<ul>
|
||||
|
||||
<ul>
|
||||
<a name="apr-24">
|
||||
<b>Mono 0.11; April 24, 2002</b>
|
||||
* <a href="archive/mono-0.11">Mono 0.11 release notes</a>
|
||||
|
||||
* <a href="archive/mcs-0.11.tar.gz">mcs-0.11.tar.gz</a>
|
||||
Mono C# compiler
|
||||
* <a href="archive/mono-0.11.tar.gz">mono-0.11.tar.gz</a>
|
||||
Mono runtime
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<a name="mar-27">
|
||||
<b>Mono 0.10; March 27, 2002</b>
|
||||
* <a href="archive/mono-0.10">Mono 0.10 release notes</a>
|
||||
* <a href="archive/mcs-0.10.tar.gz">mcs-0.10.tar.gz</a>
|
||||
Mono C# compiler
|
||||
* <a href="archive/mono-0.10.tar.gz">mono-0.10.tar.gz</a>
|
||||
Mono runtime
|
||||
</ul>
|
||||
|
||||
<ul>
|
||||
<a name="feb-22">
|
||||
<b>Mono 0.9; February 22, 2002</b>
|
||||
* <a href="archive/mono-0.9">Mono 0.9 release notes</a>
|
||||
|
||||
* <a href="archive/mcs-0.9.tar.gz">mcs-0.9.tar.gz</a>
|
||||
Mono C# compiler
|
||||
* <a href="archive/mono-0.9.tar.gz">mono-0.9.tar.gz</a>
|
||||
Mono runtime
|
||||
</ul>
|
||||
|
||||
<a name="feb-11">
|
||||
<b>February 11, 2002</b>
|
||||
* <a href="archive/mcs-0.8.tar.gz">mcs-0.8.tar.gz</a>
|
||||
Mono C# compiler
|
||||
* <a href="archive/mono-0.8.tar.gz">mono-0.8.tar.gz</a>
|
||||
Mono runtime
|
||||
</ul>
|
||||
|
||||
<a name="sep-18">
|
||||
<b>September 18, 2001</b>
|
||||
<ul>
|
||||
* <a href="archive/mono-0.7.tar.gz">mono-0.7.tar.gz</a>: Mono Runtime 0.7 release.
|
||||
* <a href="archive/mcs-0.7.tar.gz">mcs-0.7.tar.gz</a>: Mono Compiler and Classes 0.7 release.
|
||||
* <a href="archive/mono-0.7">Release Notes.</a>
|
||||
</ul>
|
||||
|
||||
<a name="august-22">
|
||||
<b>August 22, 2001</b>
|
||||
<ul>
|
||||
* <a href="archive/mono-0.6.tar.gz">mono-0.6.tar.gz</a>: Mono Runtime 0.6 release.
|
||||
* <a href="archive/mono-compiler-classes-0.6.tar.gz">mono-compiler-classes-0.6.tar.gz</a>: Mono Compiler and Classes 0.6 release.
|
||||
* <a href="archive/mono-0.6">Release Notes.</a>
|
||||
</ul>
|
||||
|
||||
|
||||
<a name="july-29">
|
||||
<b>July 29, 2001</b>
|
||||
<ul>
|
||||
* <a href="archive/mono-0.5.tar.gz">mono-0.5.tar.gz</a>: Mono Runtime 0.5 release.
|
||||
* <a href="archive/mono-0.5">Release Notes.</a>
|
||||
</ul>
|
||||
|
||||
|
||||
<a name="july-22">
|
||||
<b>July 22, 2001</b>
|
||||
<ul>
|
||||
* <a href="archive/mcs-22-Jul-2001.tar.gz">mcs-22-Jul-2001.tar.gz</a>: CVS snapshot.
|
||||
* <a href="archive/mcs-Jul-22-Jul-19-2001.tar.gz">Differences since 19</a>: CVS snapshot.
|
||||
* <a href="archive/mcs-22">Release Notes.</a>
|
||||
</ul>
|
||||
|
||||
<a name="july-19">
|
||||
<b>July 19th, 2001</b>
|
||||
<ul>
|
||||
* <a href="archive/mcs-19-Jul-2001.tar.gz">mcs-19-Jul-2001.tar.gz</a>: CVS snapshot.
|
||||
* <a href="archive/mcs-Jul-17-Jul-19-2001.tar.gz">Differences since 17</a>: CVS snapshot.
|
||||
* <a href="archive/mcs-19">Release Notes.</a>
|
||||
</ul>
|
||||
|
||||
<a name="july-17">
|
||||
<b>July 17th, 2001</b>
|
||||
<ul>
|
||||
* <a href="archive/mcs-17-Jul-2001.tar.gz">mcs-17-Jul-2001.tar.gz</a>: CVS snapshot.
|
||||
* <a href="archive/mcs-Jul-15-Jul-17-2001.tar.gz">Differences since 15</a>: CVS snapshot.
|
||||
* <a href="archive/mcs-17">Release Notes.</a>
|
||||
</ul>
|
||||
|
||||
<a name="july-15">
|
||||
<b>July 15th, 2001</b>
|
||||
<ul>
|
||||
* <a href="archive/mcs-15-Jul-2001.tar.gz">mcs-15-Jul-2001.tar.gz</a>: CVS snapshot.
|
||||
* <a href="archive/mono-0.4.tar.gz">mono-0.4.tar.gz</a>: Packaged Source Code.
|
||||
* <a href="archive/mono-0.4">Release Notes.</a>
|
||||
</ul>
|
||||
|
||||
<a name="july-14">
|
||||
<b>July 14th, 2001</b>
|
||||
<ul>
|
||||
* <a href="archive/mcs-12-Jul-2001.tar.gz">mcs-12-Jul-2001.tar.gz</a>: CVS snapshot.
|
||||
* <a href="archive/mono-0.3.tar.gz">mono-0.3.tar.gz</a>: Packaged Source Code.
|
||||
</ul>
|
||||
|
||||
<a name="july-8">
|
||||
<b>July 8th, 2001</b>
|
||||
|
||||
<ul>
|
||||
* <a href="archive/mcs-08-Jul-2001.tar.gz">mcs-08-Jul-2001.tar.gz</a>: CVS Snapshot
|
||||
* <a href="archive/mono-08-Jul-2001.tar.gz">mono-08-Jul-2001.tar.gz</a>: CVS Snapshot
|
||||
</ul>
|
||||
</ul>
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
<a href="#ximian">The Ximian Role in the Mono project</a><br>
|
||||
<a href="#gnome">Mono and GNOME</a><br>
|
||||
<a href="#gui">Building GUI applications with Mono</a><br>
|
||||
<a href="#winforms">Mono and WinForms</a><br>
|
||||
<a href="#msft">Mono and Microsoft</a><br>
|
||||
<a href="#pnpproject">Mono and the Portable.NET Project</a><br>
|
||||
<a href="#webservices">Web Services</a><br>
|
||||
<a href="#asp">Mono and ASP.NET</a><br>
|
||||
<a href="#ado">Mono and ADO.NET</a><br>
|
||||
<a href="#devel">Development Tools and Issues</a><br>
|
||||
<a href="#java">Mono and Java</a><br>
|
||||
<a href="#extending">Extending Mono</a><br>
|
||||
@@ -17,9 +17,10 @@
|
||||
<a href="#licensing">Licensing</a><br>
|
||||
<a href="#patents">Patents</a><br>
|
||||
<a href="#etc">Miscellaneous Questions</a><br>
|
||||
<a href="#problems">Mono Common Problems</a><br>
|
||||
|
||||
A <a
|
||||
href="http://www.es.gnome.org/documentacion/articulos/MONO-PUF/MONO-PUF/">spanish
|
||||
href="http://www.es.gnome.org/documentacion/articulos/mono-puf/mono-puf/">Spanish
|
||||
translation</a> is also available
|
||||
|
||||
<a name="basics"></a>
|
||||
@@ -42,7 +43,7 @@ A: The ".NET Initiative" is a somewhat nebulous company-wide effort by
|
||||
framework. Mono is an implementation of the development framework,
|
||||
but not an implementation of anything else related to the .NET
|
||||
Initiative, such as Passport, software-as-a-service, or
|
||||
corporate rebranding.
|
||||
corporate re-branding.
|
||||
|
||||
Q: What technologies are included in Mono?
|
||||
|
||||
@@ -66,7 +67,7 @@ A: Mono contains a number of components useful for building new
|
||||
Windows has compilers that target the virtual machine from <a
|
||||
href="http://msdn.microsoft.com/net/thirdparty/default.asp#lang">a
|
||||
number of languages:</a> Managed C++, Java Script, Eiffel,
|
||||
Component Pascal, APL, Cobol, Oberon, Perl, Python, Scheme,
|
||||
Component Pascal, APL, Cobol, Perl, Python, Scheme,
|
||||
Smalltalk, Standard ML, Haskell, Mercury and Oberon.
|
||||
|
||||
The CLR and the Common Type System (CTS) enables applications and
|
||||
@@ -95,7 +96,7 @@ A: Yes, we will be implementing the APIs of the .NET Framework SDK
|
||||
|
||||
Q: Will you offer an ECMA-compliant set of class libraries?
|
||||
|
||||
A: Eventually we will. Our current focus is on interoperating
|
||||
A: Eventually we will. Our current focus is on inter-operating
|
||||
with the Microsoft SDK, but we will also offer an ECMA compliant
|
||||
set of libraries.
|
||||
|
||||
@@ -119,13 +120,13 @@ A: Different parts of Mono will achieve usability at different stages,
|
||||
which contains everything needed to develop applications with the base
|
||||
class libraries. This should be available at some point during 2002.
|
||||
|
||||
Other higher level class libraries (ASP.NET, ADO.NET, Windows.Forms) will
|
||||
Other higher level class libraries (ASP.NET, ADO.NET) will
|
||||
be released when they become stable.
|
||||
|
||||
Q: What major components will you include in Mono?
|
||||
|
||||
A: Hopefully everything that Microsoft ships on their Framework
|
||||
(ADO.NET, ASP.NET, Windows.Forms), and
|
||||
(ADO.NET, ASP.NET), and
|
||||
we encourage third party developers to create reusable components that
|
||||
work on both Mono and Windows.
|
||||
|
||||
@@ -194,7 +195,7 @@ A: Mono will ship on various stages as they mature. Some people
|
||||
require only a subset of the technologies, those will ship first.
|
||||
|
||||
More advanced features will take more time to develop. A support
|
||||
timeline will be available in June 2002.
|
||||
time line will be available in June 2002.
|
||||
|
||||
<a name="gnome"></a>
|
||||
** Mono and GNOME
|
||||
@@ -223,7 +224,7 @@ A: It is still far to early for discussions of "switching over." No
|
||||
|
||||
We encourage GNOME developers to continue using the existing tools,
|
||||
libraries and components. Improvements made to GNOME will have an
|
||||
impact on Mono, as they would be the "backend" for various classes.
|
||||
impact on Mono, as they would be the "back-end" for various classes.
|
||||
|
||||
Q: Will Mono include compatibility with Bonobo components? What is the
|
||||
relationship between Mono and Bonobo?
|
||||
@@ -242,6 +243,15 @@ Q: But will I be able to build GNOME applications?
|
||||
|
||||
A: Yes, we will enable people to write GNOME applications using Mono.
|
||||
|
||||
Q: Do you have C# bindings for GNOME?.
|
||||
|
||||
A: Yes, we currently bind libgnome, libgnomecanvas, and libgnomeui --
|
||||
although I dare say I have no idea how functional the bindings are
|
||||
outside of what I tested in the sample app. I imagine other libraries
|
||||
under the GNOME framework will be added on an as-needed (and as-requested)
|
||||
basis...although a truly good bonobo binding will have to wait on the CORBA
|
||||
remoting support which has been started recently.
|
||||
|
||||
<a name="gui"></a>
|
||||
** GUI applications
|
||||
|
||||
@@ -262,7 +272,7 @@ A: As long as your applications are 100% .NET and do not make use
|
||||
of P/Invoke to call Win32 functions, your smart client applications
|
||||
will run on Mono platforms.
|
||||
|
||||
Q: Where can I learn mora about Gtk#?
|
||||
Q: Where can I learn more about Gtk#?
|
||||
|
||||
A: The following <a href="http://gtk-sharp.sourceforge.net>link</a> sends you to the page of the project.
|
||||
|
||||
@@ -278,47 +288,22 @@ A: Try: mcs --unsafe -o HelloWorld.exe -r glib-sharp -r pango-sharp -r
|
||||
atk-sharp -r gdk-sharp -r gtk-sharp -r gdk-imaging-sharp
|
||||
HelloWorld.cs
|
||||
|
||||
<a name="winforms"></a>
|
||||
** Mono and WinForms
|
||||
Q: Is there any way how to connect DataAdapter to some GTK# controls?
|
||||
|
||||
Q: Can you tell me why aren't you implementing WinForms?.
|
||||
A: There is a sample file called `DbClient' in gtk-sharp/samples that you
|
||||
might to look at. It is a sample program in Gtk# that adds/updates/deletes
|
||||
information on a Postgress database. When we have the new table/tree widgets,
|
||||
I am sure someone would write an adapter for System.Data (in Gtk2 the
|
||||
tree/list widgets are written using a view/model, so you only need to write
|
||||
a model that maps to the database). You can have a look at
|
||||
gtk-sharp/sample/DbClient, where there is a GTK# application that uses
|
||||
System.Data. It does not use DataAdapter, but DataReader though.
|
||||
|
||||
A: (This is based in an original mail to mono-list written by Miguel de
|
||||
Icaza. You should read it for completion, but the core part is here).
|
||||
|
||||
First, Windows.Forms is packed with quirks and is not that great of a
|
||||
toolkit in the first place. Up to the point of the unconfirmed rumor
|
||||
that Microsoft is working on a replacement for it.
|
||||
|
||||
Once the runtime is done, we will very likely start contributing to
|
||||
the Gtk# project ourselves, and we will likely start doing feasibility
|
||||
work on getting Mono used by Gnome developers: full gnome apps and
|
||||
extending existing applications.
|
||||
|
||||
Those interested in hacking on Windows.Forms are welcome to do so,
|
||||
but Ximian will not likely look at it in the near future; if there is
|
||||
enough demand, or I can be convinced that Windows.Forms is useful for
|
||||
something Ximian might re-evaluate our resource allocation for this
|
||||
task.
|
||||
|
||||
By doing native ports, we could use the same API on all those systems.
|
||||
Also, Gtk is mature enough, we know this because we have built an entire
|
||||
desktop (and all sorts of very window system-specific hacks), and we
|
||||
have built a bunch of productivity applications with it.
|
||||
|
||||
Q: What about VCL?.
|
||||
|
||||
Someone mentioned VCL. The only problem with the VCL is that it can
|
||||
only be used for GPL applications (or I guess you could license it from
|
||||
Borland for your app), and would have to be ported from Delphi to C#
|
||||
(or someone would have to write a CIL compiler for it).
|
||||
|
||||
Q: What about doing something like the eclipse project (www.eclipse.org)?
|
||||
|
||||
A: The Eclipse toolkit is not a general purpose toolkit. It will require a
|
||||
lot of work before it is such a thing. It is a toolkit used to
|
||||
implement a development environment.
|
||||
Q: Do you have an estimate for when Windows.Forms will be released?
|
||||
|
||||
A: We do not know, volunteers are working on this, but there is no set
|
||||
date yet. The current approach is using the Wine Library to implement
|
||||
it.
|
||||
|
||||
<a name="msft"></a>
|
||||
** Mono and Microsoft
|
||||
@@ -343,7 +328,7 @@ Q: Do you fear that Microsoft will change the spec and render Mono
|
||||
|
||||
A: No. Microsoft proved with the CLI and the C# language that it was
|
||||
possible to create a powerful foundation for many languages to
|
||||
interoperate. We will always have that.
|
||||
inter-operate. We will always have that.
|
||||
|
||||
Even if changes happened in the platform which were undocumented,
|
||||
the existing platform would a value on its own.
|
||||
@@ -417,6 +402,25 @@ A: No, it will not. Microsoft Office is a Windows application. To
|
||||
learn more about running Windows applications on Intel Unix systems
|
||||
refer to <a href="http://www.winehq.com">the Wine Project</a>.
|
||||
|
||||
Q: Will I be able to compile a Microsoft VB.NET application and execute
|
||||
the resultant MSIL file under MONO on Linux without converting to C#
|
||||
and recompiling?
|
||||
|
||||
A: Once we have a complete VisualBasic runtime, yes.
|
||||
|
||||
Q: Can mono run the WebMatrix?
|
||||
|
||||
A: No. That requires System.Windows.Forms support which is not
|
||||
currently implemented.
|
||||
|
||||
Q: Does mono have something like Passport?
|
||||
Will mono have a server side Passport/Similar framework for XSP as well as client classes?
|
||||
|
||||
A: Not yet, but the client side API for authentication is not the problem.
|
||||
We will likely have a lot of other authentication APIs, like the Liberty
|
||||
Alliance APIs. The problem is people on the web provider end that might use
|
||||
this for authentication.
|
||||
|
||||
<a name="pnpproject"></a>
|
||||
** Mono and Portable.NET
|
||||
|
||||
@@ -433,7 +437,7 @@ A: Most of Mono is being written using C#, with only
|
||||
|
||||
<li> A multi-platform runtime engine: both a JIT engine and an
|
||||
interpreter exist. The JIT engine runs currently on x86
|
||||
systems, while the interpreter works on Sparc, StrongARM and
|
||||
systems, while the interpreter works on SPARC, StrongARM and
|
||||
PowerPC systems.
|
||||
|
||||
<li> Supports Linux, Windows and Solaris at this point.
|
||||
@@ -441,21 +445,21 @@ A: Most of Mono is being written using C#, with only
|
||||
<li> The JIT engine is written using a portable instruction
|
||||
selector which not only generates good code (we are told
|
||||
that we are faster than Rotor, but it is hard to tell) but
|
||||
is also the foundation to retarget the JIT engine to other
|
||||
is also the foundation to re-target the JIT engine to other
|
||||
systems.
|
||||
|
||||
The system employed is described in various compiler
|
||||
books and it is very similar to what is described in the
|
||||
book that covers LCC, the Ansi C retargetable C compiler.
|
||||
book that covers LCC, the ANSI C retargetable C compiler.
|
||||
|
||||
<li> The JIT engine supports inlining, constant folding and propagation,
|
||||
<li> The JIT engine supports in-lining, constant folding and propagation,
|
||||
|
||||
<li> Full support for remoting in the runtime, but the class
|
||||
libraries are still behind.
|
||||
|
||||
<li> The C# compiler, the JIT engine and the class libraries are
|
||||
mature enough that the whole system is self-hosting, ie, that
|
||||
it can be fully developed with itself at this point.
|
||||
mature enough that the whole system is self-hosting. This means that
|
||||
we develop Mono completely with itself at this point.
|
||||
|
||||
<li> We are not yet done, and there is a lot of work left to be
|
||||
done
|
||||
@@ -482,7 +486,7 @@ A: Mono is only related to Web Services in that it will implement the
|
||||
Q: Can I author Web Services with Mono?
|
||||
|
||||
A: You will be able to write Web Services on .NET that run on Mono and
|
||||
viceversa.
|
||||
vice-versa.
|
||||
|
||||
Q: If Mono implements the SDK classes, will I be able to write and
|
||||
execute .NET Web Services with it?
|
||||
@@ -504,9 +508,9 @@ A: Yes. The CLI contains enough information about a class that
|
||||
exposing it to other RPC systems (like CORBA) is really simple, and
|
||||
does not even require support from an object.
|
||||
|
||||
We will be implementing CORBA interoperation as an extension to the
|
||||
We will be implementing CORBA inter-operation as an extension to the
|
||||
Mono classes so that we can integrate with Bonobo, just like
|
||||
Microsoft provides COM interoperation classes and support
|
||||
Microsoft provides COM inter-operation classes and support
|
||||
mechanisms.
|
||||
|
||||
Q: Can I serialize my objects to other things other than XML?
|
||||
@@ -521,13 +525,13 @@ A: No. Mono will be using a new implementation of CORBA that isn't still started
|
||||
<a name="devel"></a>
|
||||
** Development Tools and Issues
|
||||
|
||||
Q: Will it be possible to use the CLI features without using bytecodes
|
||||
Q: Will it be possible to use the CLI features without using byte codes
|
||||
or the JIT?
|
||||
|
||||
A: Yes. The CLI engine will be made available as a shared library.
|
||||
The garbage collection engine, the threading abstraction, the
|
||||
object system, the dynamic type code system and the JIT will be
|
||||
available for C developers to integreate with their applications if
|
||||
available for C developers to integrate with their applications if
|
||||
they wish to do so.
|
||||
|
||||
Q: Will you have new development tools?
|
||||
@@ -568,7 +572,7 @@ Q: What about using something like Jabber instead of the System.Messaging
|
||||
namespace?.
|
||||
|
||||
A: In short, MSMQ is not something like Jabber, but asynchronous messaging
|
||||
through queues. Usefull queues do more than serialize messages, they are
|
||||
through queues. Useful queues do more than serialize messages, they are
|
||||
also platform bridges.
|
||||
|
||||
Q: Are you supporting XMLDocument and relatives?.
|
||||
@@ -579,14 +583,14 @@ A: Currently, we aren't implementing them yet. It would require updates to
|
||||
|
||||
Q: Is there any plan to develop an aspx server for Mono?.
|
||||
|
||||
A: The webserver turned out to be very simple compared to the rest of the
|
||||
A: The web server turned out to be very simple compared to the rest of the
|
||||
work. Gonzalo has got the page generator mostly done (a module called
|
||||
xsp, who has nothing to do with the XSP term used in the Apache Project).
|
||||
Patrik has done a lot of the work to get the ProcessRequest to work.
|
||||
You can try to help in the final touches to the System.Web classes and
|
||||
writing regression tests for the widgets we have.
|
||||
|
||||
Q: Is there any way I can develop the class libraries using linux yet?
|
||||
Q: Is there any way I can develop the class libraries using Linux yet?
|
||||
|
||||
A: Yes. Some class libraries can be developed on Linux. Search for
|
||||
Paolo's post (he lists which classes can be compiled fine now).
|
||||
@@ -594,10 +598,52 @@ A: Yes. Some class libraries can be developed on Linux. Search for
|
||||
Q: Is there any way I can install a known working copy of mono in /usr,
|
||||
and an experimental copy somewhere else, and have both copies use
|
||||
their own libraries? (I'm still not very good at library paths in
|
||||
linux)
|
||||
Linux)
|
||||
|
||||
A: Yes. Just use two installation prefixes.
|
||||
|
||||
Q: How should I write tests or a tests suite?
|
||||
|
||||
A: If you do a test suite for C#, you might want to keep it
|
||||
independent of the Mono C# compiler, so that other compiler
|
||||
implementations can later use it.
|
||||
|
||||
Q: Would it be too terrible to have another corlib signed as mscorlib?
|
||||
|
||||
A: We rename corlib to mscorlib also when saving the PE files, in fact,
|
||||
the runtime can execute program created by mono just fine.
|
||||
|
||||
Q: Is there a relatively straightforward way to repeat the steps taken
|
||||
by Paolo to get Mono completely self-hosted on Linux?
|
||||
|
||||
A: To build the compiler and class libraries in Linux, run:
|
||||
<ul><li>make -f makefile.gnu. To install them, run: </li>
|
||||
<li>make -f makefile.gnu install prefix=/opt/mono</li>
|
||||
</ul>
|
||||
|
||||
If you want to produce and distribute a monocharge tarball, run:
|
||||
make -f makefile.gnu dist
|
||||
Of course you have to run these in the top level mcs directory.
|
||||
|
||||
Q: Is it possible to build a C# file to some sort of intermediate format which
|
||||
can linked into a final module, like the traditional .c -> .o -> .so path?
|
||||
|
||||
A: You could do: mcs /target:module file1.cs, mcs /target:module file2.cs,
|
||||
mcs /target:exe file1.dll file2.dll /out:mybin.exe
|
||||
|
||||
Q: Is there any plans for implementing remoting in the near future?, When will
|
||||
work in System.Runtime.Remoting.dll start?
|
||||
|
||||
A: The remoting infrastructure is in place. Some of the channels and
|
||||
formatters are not.
|
||||
|
||||
Q: I'm wondering if there are any plans to start using nant to build the
|
||||
class lib + test lib. i think that every project need/should use an
|
||||
automated build process and nant + a couple of tools enables this. is
|
||||
the problem that the compiler can't run nant yet?
|
||||
|
||||
A: Maybe well be doing some sort of automated build process + testing when
|
||||
the summer finish.
|
||||
|
||||
<a name="asp">
|
||||
** Mono and ASP.NET
|
||||
@@ -612,6 +658,38 @@ A: Yes. The development of the support for ASP.NET comes in various stages,
|
||||
our sample code with our classes with our runtime. This is the process
|
||||
we are following. Currently Gonzalo has reached point 5.
|
||||
|
||||
Q: Do I need install cygwin to work on ASP.NET in mono or Linux is enough since
|
||||
it is self host right now.
|
||||
|
||||
A: Linux is enough.
|
||||
|
||||
Q: Any plan to make ASP.NET in mono works with Apache in Linux?.
|
||||
|
||||
A: Yes, we have plans to do so, but we need to wait for Patrik's patches to
|
||||
HttpRuntime. Once that is there, writing a mod_mono should be trivial
|
||||
(look at mono/samples/embed for a sample embedded application).
|
||||
|
||||
<a name="ado">
|
||||
** Mono and ADO.NET
|
||||
|
||||
Q: What is the status of ADO.NET support?. Could I start migrating
|
||||
applications from MS.NET to Mono?.
|
||||
|
||||
A: You could start right now using the ADO.NET support in mono, of course,
|
||||
if you want to help filling the missing gaps while you develop your app
|
||||
:-) Well, what I mean is that we're not that far to having full ADO.NET
|
||||
support in Mono, and we've got a lot of working things, so if we could
|
||||
get more help, we'd finish it really soon :-)
|
||||
|
||||
Q: In developing the data architecture for the application are there and
|
||||
objects I should stay away from in order to insure the smoothest possible
|
||||
transition (minimum code rewrite) to Mono's ADO.NET implementation? (For
|
||||
example, strongly typed datasets versus untyped datasets, etc...)
|
||||
|
||||
A: We are implementing all the classes in Microsoft .NET's System.Data, so
|
||||
you can be sure that things will work the same in Mono as with the Microsoft
|
||||
implementation.
|
||||
|
||||
<a name="java">
|
||||
** Mono and Java
|
||||
|
||||
@@ -621,7 +699,7 @@ Q: Why don't you use Java? After all, there are many languages that
|
||||
A: You can get very good tools for doing Java development on free
|
||||
systems right now. <a href="http://www.redhat.com">Red Hat</a> has
|
||||
contributed a <a href="http://gcc.gnu.org">GCC</a> <a
|
||||
href="http://gcc.gnu.org/java">frontend for Java</a> that can take
|
||||
href="http://gcc.gnu.org/java">front-end for Java</a> that can take
|
||||
Java sources or Java byte codes and generate native executables; <a
|
||||
href="http://www.transvirtual.com">Transvirtual</a> has implemented
|
||||
<a href="http://www.kaffe.org">Kaffe</a> a JIT engine for Java;
|
||||
@@ -640,10 +718,10 @@ A: Yes, Java could target the CLI. We have details on a <a
|
||||
href="ideas.html#guavac">project</a> that someone could take on to
|
||||
make this happen.
|
||||
|
||||
Microsoft has an implemenation of the Java language called J# that
|
||||
Microsoft has an implementation of the Java language called J# that
|
||||
can target the CIL execution engine.
|
||||
|
||||
Q: Is it possible to write a JVM byte code to CIL convertor?
|
||||
Q: Is it possible to write a JVM byte code to CIL converter?
|
||||
|
||||
A: Yes, it is possible. Here are a few starting point:
|
||||
|
||||
@@ -663,7 +741,7 @@ A: Yes, it is possible. Here are a few starting point:
|
||||
be translated into the equivalent "meaning" in CLR-land.
|
||||
</ul>
|
||||
|
||||
Q: Could mono become a hybrid cil/java platform?
|
||||
Q: Could mono become a hybrid CIL/java platform?
|
||||
|
||||
A: No. It is quite far from the philosophy of the project. The idea of Mono
|
||||
is, to have only _one_ VM, on which all can run. And if there existing a
|
||||
@@ -671,9 +749,15 @@ A: No. It is quite far from the philosophy of the project. The idea of Mono
|
||||
like J-Sharp on Mono, you can write programs in Java, which than can run
|
||||
on Mono. You do not need two bindings (like your example: GTK-Sharp _and_
|
||||
Java-Gnome). You need only _one_ of it (GTK-Sharp). Thats the idea of Mono.
|
||||
An other point is, that there are no people, who use OpenSource-JVMs. They
|
||||
An other point is, that there are no people, who use Open Source-JVMs. They
|
||||
all prefer Suns original. But for Unix there don't exist a .NET-Framework.
|
||||
So it is possible, that in the future Mono is the standard .NET for unixes.
|
||||
So it is possible, that in the future Mono is the standard .NET for Unixes.
|
||||
|
||||
Q: Do you plan to implement a Javascript compiler?
|
||||
|
||||
A: Yes. Eto Demerzal has started a Rhino port to C#.
|
||||
After this is completed, we will begin developing
|
||||
the JavaScript compiler.
|
||||
|
||||
<a name="extending"></a>
|
||||
** Extending Mono
|
||||
@@ -704,7 +788,7 @@ A: Embracing a good technology is good. Extending technologies in
|
||||
encourage you to make those classes operate correctly well in both
|
||||
Mono and .NET.
|
||||
|
||||
Q: Is there any way I can develop the class libraries using linux yet?
|
||||
Q: Is there any way I can develop the class libraries using Linux yet?
|
||||
|
||||
A: Yes. Some class libraries can be developed on Linux. Search for
|
||||
Paolo's post (he lists which classes can be compiled fine now).
|
||||
@@ -712,7 +796,7 @@ A: Yes. Some class libraries can be developed on Linux. Search for
|
||||
Q: Is there any way I can install a known working copy of mono in /usr,
|
||||
and an experimental copy somewhere else, and have both copies use
|
||||
their own libraries? (I'm still not very good at library paths in
|
||||
linux)
|
||||
Linux)
|
||||
|
||||
A: Yes. Just use two installation prefixes.
|
||||
|
||||
@@ -730,7 +814,7 @@ Q: What about Mono on non Linux-based systems?
|
||||
|
||||
A: Our main intention at Ximian is to be able to develop GNOME
|
||||
applications with Mono, but if you are interested in providing a
|
||||
port of the Winform classes to other platforms (frame buffer or
|
||||
port of the Winforms classes to other platforms (frame buffer or
|
||||
MacOS X for example), we would gladly integrate them, as long
|
||||
they are under an open source license.
|
||||
|
||||
@@ -740,21 +824,21 @@ A: Mono currently runs on Linux, Windows, Solaris and FreeBSD.
|
||||
There is a JIT engine available for x86 processors that can
|
||||
generate code and optimizations tailored for a particular CPU.
|
||||
|
||||
Interpreters exist for the SPARC, PowerPC and StrongARM cpus.
|
||||
Interpreters exist for the SPARC, PowerPC and StrongARM CPUs.
|
||||
|
||||
Q: Does Mono run on Windows?
|
||||
|
||||
A: Yes. The Compiler and the runtime both run on Windows.
|
||||
A: Yes. You can get pre-compiled
|
||||
binaries from <a href="http://www.go-mono.com/download.html">http://www.go-mono.com/download.html</a>
|
||||
|
||||
Q: When will mono and mcs compile on Linux?.
|
||||
Q: Does Mono run on Linux?
|
||||
|
||||
A: That happend a long time ago. Know you can download and compile
|
||||
them or even install them from already made binary packages for
|
||||
Windows and for Linux (RPM/DEB).
|
||||
A: Yes. You can get pre-compiled
|
||||
binaries from <a href="http://www.go-mono.com/download.html">http://www.go-mono.com/download.html</a>
|
||||
|
||||
Q: Will I require Cygwin to run mono?
|
||||
|
||||
A: No. While you'll need it to compile it, it runs without cygwin and does not even require cygwin1.dll
|
||||
A: No. Cygwin is only required to build Mono.
|
||||
|
||||
Q: Will Mono depend on GNOME?
|
||||
|
||||
@@ -774,6 +858,17 @@ Q: If I were about to start a Mono port to IA-64,would the same lburg code
|
||||
A: The lburg approach can be use for any processor architecture. But you might
|
||||
think in another better approach.
|
||||
|
||||
Q: Do you plan to port Rhino to C#?.
|
||||
|
||||
A: Eto Demerzal has started a Rhino port to C#.
|
||||
|
||||
Q: Has anyone succeeded in building a Mac version of the C# environment.
|
||||
If so can you explain how?
|
||||
|
||||
A: You could try to check with the Darwin people, or the Fink people.
|
||||
Mono/C# is self hosting on Linux/PPC which is the hard part, so it
|
||||
should be relatively simple to get it to work on MacOS
|
||||
|
||||
<a name="reuse"></a>
|
||||
** Reusing Existing Code
|
||||
|
||||
@@ -819,7 +914,7 @@ Q: Will built-in reporting be supported for crystal reports? This is a
|
||||
heavily used part of our system.
|
||||
|
||||
A: Probably not. Crystal Reports are propriety. Someone may try to emulate
|
||||
the behaviour, but no-one has yet volunteered.
|
||||
the behavior, but no-one has yet volunteered.
|
||||
|
||||
Q: Who about writing to the registry? As I understand it, Linux does not have
|
||||
a counterpart to the registry. Should I avoid relying on that feature?
|
||||
@@ -840,7 +935,7 @@ A: if their license is compatible with mono's, yes, we'd think about porting
|
||||
<a name="gcc"></a>
|
||||
** Mono and GCC
|
||||
|
||||
Q: Are you working on a GCC front-end to C#? A GCC backend that will
|
||||
Q: Are you working on a GCC front-end to C#? A GCC back-end that will
|
||||
generate CIL images? What about making a front-end to GCC that
|
||||
takes CIL images and generates native code?
|
||||
|
||||
@@ -906,6 +1001,14 @@ A: The C# Compiler is released under the terms of the <a
|
||||
href="http://www.opensource.org/licenses/mit-license.html">MIT X11</a>
|
||||
license.
|
||||
|
||||
The Mono runtime and the Mono C# Compiler are also available under
|
||||
a proprietary license for those who can not use the LGPL and the
|
||||
GPL in their code.
|
||||
|
||||
For licensing details, contact <a
|
||||
href="mailto:[email protected]">[email protected]</a>
|
||||
|
||||
|
||||
Q: I would like to contribute code to Mono under a particular
|
||||
license. What licenses will you accept?
|
||||
|
||||
@@ -913,7 +1016,10 @@ A: We will have to evaluate the licenses for compatibility first,
|
||||
but as a general rule, we will accept the code under the same
|
||||
terms of the "container" module.
|
||||
|
||||
<a name="patents></a>
|
||||
Q: Is the Mono
|
||||
|
||||
|
||||
<a name="patents"></a>
|
||||
** Patents
|
||||
|
||||
Q: Could patents be used to completely disable Mono (either submarine
|
||||
@@ -923,7 +1029,9 @@ Q: Could patents be used to completely disable Mono (either submarine
|
||||
A: No. First, its basic functional capabilities have pre-existed too
|
||||
long to be held up by patents. The basic components of Mono are
|
||||
technologically equivalent to Sun's Java technology, which has been
|
||||
around for years. Mono will also implement multi-language and
|
||||
around for years.
|
||||
|
||||
Mono will also implement multi-language and
|
||||
multi-architecture support, but there are previous technologies
|
||||
such as UCSD p-code and ANDF that also support multiple languages
|
||||
using a common intermediate language. The libraries are similar
|
||||
@@ -949,11 +1057,11 @@ A: The key difference between CORBA (and COM) and the CLI is that the
|
||||
CLI allows "data-level interoperability" because every
|
||||
language/component uses the same data layout and memory management.
|
||||
|
||||
This means you can operate directly upon the datatypes that someone
|
||||
This means you can operate directly upon the data types that someone
|
||||
else provides, without having to go via their interfaces. It also
|
||||
means you don't have to "marshall" (convert) parameters (data
|
||||
means you don't have to "marshal" (convert) parameters (data
|
||||
layouts are the same, so you can just pass components directly) and
|
||||
you don't have to worry about memory managment, because all
|
||||
you don't have to worry about memory management, because all
|
||||
languages/components share the same garbage collector and address
|
||||
space. This means much less copying and no need for reference
|
||||
counting.
|
||||
@@ -967,25 +1075,51 @@ Q: Will Ximian offer certifications on Mono or related technologies?.
|
||||
|
||||
A: It's possible. But there is no plan about this. So the short answer is no.
|
||||
|
||||
Q: Are there any Boehm's gc binaries?
|
||||
Q: Are there any Boehm's GC binaries?
|
||||
|
||||
A: Yes. You can find them <a href="http://java.thn.htu.se/~toor/">here</a>
|
||||
|
||||
Q: I have get into trouble when trying to build the site in my Linux box, what
|
||||
can I do?.
|
||||
|
||||
A: Try to change the line "./mono-rss.exe ../index deploy/index.rss" for
|
||||
"mono ./mono-rss.exe ../index deploy/index.rss"
|
||||
A: Yes. You can find RPMs <a href="http://java.thn.htu.se/~toor/">here</a>, though
|
||||
if your distribution provides the correct packages, you should use those.
|
||||
The suggested version of the Boehm GC is 6.1.
|
||||
|
||||
Q: How can I report a bug?
|
||||
|
||||
A: The best thing is to track down the bug and provide a simple test to
|
||||
reproduce the bug. You can then add the bug to bugzilla:
|
||||
http://bugzilla.ximian.com/enter_bug.cgi or simply send it to
|
||||
[email protected].
|
||||
reproduce the bug. You can then add the bug to the
|
||||
<a href="http://bugzilla.ximian.com/enter_bug.cgi">bugtracking system</a>.
|
||||
|
||||
Please provide information about what version of mono you're using
|
||||
and any relevant details to be able to reproduce the bug. Note that
|
||||
bugs reported on the mailing-list may be easily forgotten, so it's
|
||||
better to file them in the <a href="http://bugzilla.ximian.com/enter_bug.cgi">bug tracking system</a>.
|
||||
|
||||
Q: Does mcs support the same command line options as the MS C#
|
||||
compiler?
|
||||
|
||||
A: The Mono C# compiler on CVS now supports the same command line
|
||||
A: The Mono C# compiler now supports the same command line
|
||||
arguments as the Microsoft C# compiler does.
|
||||
|
||||
Q: How about getting searchable archives on lists.ximian.com?
|
||||
|
||||
A: You can perform a search on the mono-related mailing lists
|
||||
<a href="http://www.go-mono.com/mailing-lists.html">here</a>.
|
||||
|
||||
Q: When using mono from cvs or from a snapshot, I get an error messaage
|
||||
saying that Mono and the runtime are out of sync. How do I fix that?
|
||||
|
||||
A: If you use mono from cvs, you need to be prepared for changes in the
|
||||
runtime internals. This means that you should keep a working setup
|
||||
before blindling updating (a working setup may just be the last released
|
||||
tarball or a recent binary snapshot).
|
||||
Usually, compiling corlib with mcs before recompiling the C runtime does
|
||||
the right thing (but occasionally you may need to do it the other
|
||||
way around).
|
||||
|
||||
|
||||
|
||||
<a name="problems"></a>
|
||||
** Mono Common Problems
|
||||
|
||||
If you are having problems compiling or running Mono software
|
||||
or if you think that you found a bug, etc. Please visit the
|
||||
<a href="http://geneura.ugr.es/~jaime/deploy/mono-common-problems.html">Mono Common Problems</a> document and try there.
|
||||
|
||||
+31
@@ -0,0 +1,31 @@
|
||||
* Mono Hackers Hall Of Fame
|
||||
|
||||
Without the help, the skills and the time of many passionate developers outside of
|
||||
the Ximian Mono team, Mono would not be where it is today.
|
||||
|
||||
Many of them do it for fun, some do it because they really want a nice CLR they
|
||||
can hack on, some do it because they need a working solution to some development
|
||||
issues and mono is the ideal tool for the job.
|
||||
|
||||
Some of them may start contributing because they want a mention in the
|
||||
<b>Mono Hackers Hall Of Fame</b>! Whatever the cause, join us in a big<br>
|
||||
<h1 align="center">Thank you!</h1>
|
||||
|
||||
* Mono Hackers
|
||||
|
||||
** Sergey Chaban
|
||||
|
||||
Sergey has been a long time contributor to the project, from the early
|
||||
work on the class libraries that were critical to Mono's origin: every
|
||||
time you use a Hashtable in Mono, it runs Sergey's code, to the
|
||||
low-level optimizations on the JIT engine and to his work on ILASM and
|
||||
the PEToolkit. And countless other things.
|
||||
|
||||
** Nick Drochak
|
||||
|
||||
The first, deserved, entry in the <b>Mono Hackers Hall Of Fame</b> is for
|
||||
Nick Drochak, who joined us in the first days of Mono and built the testing
|
||||
infrastructure for the C# assemblies, fixed tons of bugs and even adventured
|
||||
himself in the lands of the C runtime. His work is invaluable for keeping
|
||||
Mono on the right track through the daily changes in the codebase.
|
||||
|
||||
@@ -5,12 +5,12 @@
|
||||
<td>
|
||||
<a href="http://www.ximian.com">Ximian</a> announced the
|
||||
launch of the Mono project, an effort to create an open source
|
||||
implementation of the .NET Development Framework.
|
||||
implementation of the .NET Development Framework.
|
||||
|
||||
Mono includes: <a href="c-sharp.html">a compiler</a> for the
|
||||
C# language, a <a href="runtime.html">runtime</a> for the
|
||||
Common Language Infrastructure (the CLR) and a set of <a
|
||||
href="class-library.html">class libraries</a>.
|
||||
Common Language Infrastructure (also refered as the CLR) and a
|
||||
set of <a href="class-library.html">class libraries</a>.
|
||||
|
||||
You can read our <a href="rationale.html">rationale</a> for
|
||||
this project. If you have questions about the project, please
|
||||
@@ -32,6 +32,11 @@
|
||||
</td>
|
||||
<td>
|
||||
<table border=1>
|
||||
<tr>
|
||||
<td colspan="3">
|
||||
<b><center>Mono Status</center></b>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<b><a href="c-sharp.html">C# Compiler</a></b>
|
||||
@@ -56,7 +61,8 @@
|
||||
<td>
|
||||
Working:<br>
|
||||
Linux/x86, Linux/PPC<br>
|
||||
In progress: StrongARM, SPARC.
|
||||
In progress:<br>
|
||||
StrongARM, SPARC.
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
@@ -80,12 +86,248 @@
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<b>Mono at the O'Reilly Open Source Conference (<a
|
||||
href="http://conferences.oreillynet.com/cs/os2002/view/e_sess/2994">here</a>
|
||||
and <a
|
||||
href="http://conferences.oreillynet.com/cs/os2002/view/e_sess/2996">here</a>)</b>
|
||||
<h3>Events</h3>
|
||||
|
||||
@item Jul 23rd, 2002
|
||||
<ul>
|
||||
<li><b><a
|
||||
href="http://www.sigs-datacom.de/sd/kongresse/dotnet_2002/index.htm">.NET
|
||||
ONE 2002:</a></b> Come see Paolo, Mike and Miguel from the Mono team at the .NET ONE conference in Frankfurt.</ul>
|
||||
</ul>
|
||||
|
||||
@item Sep 19th, 2002: Mono Survey.
|
||||
|
||||
Help us plan for the future of Mono by filing out the <a
|
||||
href="http://primates.ximian.com/~miguel/monosurvey">First Mono
|
||||
Survey</a>
|
||||
|
||||
@item Sep 17th, 2002: Mono Hackers Hall of Fame: Sergey Chaban
|
||||
|
||||
The <a href="hackers.html">Mono Hackers Hall Of Fame</a>
|
||||
continues to show our appreciation to the excellent
|
||||
contributors that made <b>mono::</b> a successful free
|
||||
software project.
|
||||
|
||||
This time the Hall of Fame welcomes Sergey Chaban. Sergey has
|
||||
been a long time contributor to the project, from the early
|
||||
work on the class libraries that were critical to Mono's
|
||||
origin: every time you use a Hashtable in Mono, it runs
|
||||
Sergey's code, to the low-level optimizations on the JIT
|
||||
engine and to his work on ILASM and the PEToolkit.
|
||||
|
||||
|
||||
@item Sep 16th, 2002: Documentation Tools, ILASM, Debugger, Mono LDAP, Winforms
|
||||
|
||||
Adam Treat has started moving the documentation universe again. We
|
||||
have a new strategy to document our APIs (given that we have
|
||||
chosen <a href="classlib-doc.html">not to document the code
|
||||
inline</a>). This includes the use of a master reference file
|
||||
that will hold the entry points to document. All master files
|
||||
for our assemblies have been checked into CVS now.
|
||||
|
||||
Sergey Chaban's Mono.PEToolkit and ILASM tools have been
|
||||
checked into CVS. Although ILASM is old and will soon be
|
||||
updated, we wanted to get the build issues sorted out.
|
||||
|
||||
Martin Baulig's Mono Debugger is still on its early stages,
|
||||
but you can run and run step by step your C# code and C code
|
||||
(including the Mono runtime). Dwarf-2 is required to compile
|
||||
your code. The regular step, step-into, and assembly-level
|
||||
step and step-into are supported. And comes with a Gtk#
|
||||
UI. The debugger is written mostly in C# with some C glue
|
||||
code. Most of the work is on the engine, we will be working
|
||||
on making a good UI in the future.
|
||||
|
||||
Chris Toshok of the Hungry Programmer's fame has checked in
|
||||
Mono.Directory.LDAP, a C# wrapper for the LDAP libraries.
|
||||
This is the substrate for implementing the
|
||||
System.DirectoryServices assembly.
|
||||
|
||||
Andrew has also continued with some of the cryptographic
|
||||
classes implemetation.
|
||||
|
||||
After much public debate, we have chosen a new <a
|
||||
href="winforms.html">strategy to implement winforms</a>.
|
||||
Implementing a Gtk, Qt or Aqua based version of Winforms was
|
||||
going to be almost as complex as implementing Wine itself. So
|
||||
the new strategy is to only roll out a WineLib-based
|
||||
implementation.
|
||||
|
||||
@item Sep 4th, 2002: .NET One 2002 Program available
|
||||
|
||||
The <a
|
||||
href="http://www.sigs-datacom.de/sd/kongresse/dotnet_2002/index.htm">.NET
|
||||
ONE 2002</a> conference in Frankfurt is now available. Paolo
|
||||
will be talking about the Mono JIT and embedding the Mono
|
||||
runtime in your Windows and Linux applications. Mike Kestner
|
||||
will talk about <a href="http://gtk-sharp.sf.net">Gtk#</a> and
|
||||
the automatic binding generator used by Gtk# and Miguel will
|
||||
be talking about the Mono project on Monday's keynote and on
|
||||
the Mono C# compiler on Tuesday.
|
||||
|
||||
@item Sep 3rd, 2002: Apache integration
|
||||
|
||||
<a
|
||||
href="http://lists.ximian.com/archives/public/mono-list/2002-September/001862.html">Sterling</a>
|
||||
announced an Apache module that hosts
|
||||
Mono, and allows CIL code to run from within Apache, giving the
|
||||
module access to the Apache runtime. This uses the Mono embedding
|
||||
API.
|
||||
|
||||
@item Aug 24th, 2002: Gtk# 0.4 released
|
||||
|
||||
Shortly after <a href="download.html">Mono 0.15</a> was
|
||||
released a fresh version of <a
|
||||
href="http://gtk-sharp.sf.net">Gtk#</a> was <a
|
||||
href="http://lists.ximian.com/archives/public/mono-list/2002-August/001702.html">announced</a>.
|
||||
|
||||
@item Aug 23rd, 2002: Mono 0.15 released
|
||||
|
||||
Mono 0.15 has been released. Source and RPMs are <a
|
||||
href="download.html">available</a>. The release notes are <a
|
||||
href="archive/mono-0.15">here</a>
|
||||
|
||||
@item Aug 21th, 2002: Portable.NET encodings integrated into Mono.
|
||||
|
||||
Rhys Weatherley has contributed the Portable.NET encoders to
|
||||
the Mono class libraries. This is a great step towards
|
||||
cooperation between these projects. Thanks to Paolo for doing the
|
||||
merger on our side.
|
||||
|
||||
His encoders are more complete than the iconv-based approach
|
||||
that mono used, which was unreliable under certain
|
||||
circumstances.
|
||||
|
||||
@item Aug 20th, 2002: Remoting work, Resources, SPARC checkins, ADO.NET
|
||||
|
||||
Mark Crichton has checked in his patches to get the SPARC port
|
||||
on par with the PPC port.
|
||||
|
||||
Dick has checked-in the resource reader and resource writers
|
||||
to the class libraries, and Dietmar checked in the C# support
|
||||
code for the remoting infrastructure.
|
||||
|
||||
More work on System.Data: the LibGDA (our OleDB backend) based
|
||||
providers are quickly maturing, and recently they executed
|
||||
their first query.
|
||||
|
||||
@item Aug 13th, 2002: MCS news, Gtk# progress, Windows.Forms, ADO.NET
|
||||
|
||||
Martin Baulig has been fixing all the known bugs in the C#
|
||||
compiler and now has moved into improving the compilation
|
||||
speed and the generated code quality of MCS. Today we got a
|
||||
50% speedup in the bootstrap of MCS going from 24 seconds to 12 seconds.
|
||||
|
||||
Gtk# has been making a lot of progress, some interesting
|
||||
corner cases are now supported:, you can now create canvas items as
|
||||
well as using the tree widget. Here is a shot of <a
|
||||
href="images/mocil.png">MonoCIL</a>.
|
||||
|
||||
On the runtime front, focus has been on improving remoting
|
||||
support, exception handling, as well as completing the support
|
||||
for structure marshaling.
|
||||
|
||||
Patrik is also back in action: the HttpRuntime infrastructure
|
||||
is rapidly improving, and Gonzalo is working into moving XSP
|
||||
into our main class library and providing the missing pieces
|
||||
to integrate with Patrik's code.
|
||||
|
||||
Dennis and his team are working on a WineLib-based
|
||||
implementation of Windows Forms to guarantee that the corner
|
||||
cases of Windows.Forms can be handled, and we are back on track again.
|
||||
|
||||
A lot more work on the ADO.NET and WebServices has also been
|
||||
checked into CVS.
|
||||
|
||||
@item Aug 1st, 2002: Mono Hackers Hall of Fame
|
||||
|
||||
The <a href="hackers.html">Mono Hackers Hall Of Fame</a> has been started
|
||||
to show our appreciation to the excellent contributors that made <b>mono::</b>
|
||||
a successful free software project.
|
||||
|
||||
The first, deserved, entry goes to
|
||||
Nick Drochak, who joined us in the first days of Mono and built the testing
|
||||
infrastructure for the C# assemblies, fixed tons of bugs and even adventured
|
||||
himself in the lands of the C runtime. His work is invaluable for keeping
|
||||
Mono on the right track through the daily changes in the codebase.
|
||||
|
||||
@item Looking for volunteers
|
||||
|
||||
We are looking for volunteers to help complete various pieces
|
||||
of Mono and help move the project forward, we need
|
||||
contributions to:
|
||||
|
||||
<ul>
|
||||
* More tests to the existing class libraries.
|
||||
|
||||
* Finish existing class libraries, check our <a
|
||||
href="class-status.html">class status</a> pages to see
|
||||
all the missing things. There are open tasks all over
|
||||
the place: XML, Database access, enterprise services,
|
||||
configuration, ASP.NET, Drawing APIs, and more.
|
||||
|
||||
* Since we have now ASP.NET running, we would like to
|
||||
create an ASP.NET application to maintain our class
|
||||
library documentation.
|
||||
|
||||
We have some special needs (read them <a
|
||||
href="classlib-doc.html">here</a>). There is a
|
||||
prototype written using Windows.Forms, but we believe
|
||||
it will be faster to have this done using ASP.NET (and
|
||||
it is also a nice way of stress testing it).
|
||||
|
||||
* Support for the VB runtime: we need contributions
|
||||
to make our VB runtime mature enough to host
|
||||
applications compiled with the VB.NET to run with
|
||||
Mono.
|
||||
|
||||
* We need people to help write the documentation: you
|
||||
can start editing our XML files by hand, and once we
|
||||
have the ASP.NET tool, upgrade to that.
|
||||
</ul>
|
||||
|
||||
@item July 31st, 2002: Flow Analysis
|
||||
|
||||
Martin has checked into CVS the data flow analysis patch for
|
||||
MCS, this means that we now correctly implement definite
|
||||
assignment in the C# language.
|
||||
|
||||
@item Jul 31st, 2002: Most ASP.NET controls render, Gtk# structs.
|
||||
|
||||
Gonzalo <a
|
||||
href="http://lists.ximian.com/archives/public/mono-list/2002-August/001234.html">posted
|
||||
an update</a> on the ASP.NET widgets that are still pending. Patrik is back, and he is
|
||||
working with Gonzalo to streamline the pipeline
|
||||
|
||||
Rachel quietly commited to Gtk-Sharp support for marshaling
|
||||
structures (very important for Gtk#). This uses extensively
|
||||
the new marshaling code that Dietmar added to the runtime.
|
||||
|
||||
Dietmar is also now sharing more code for P/Invoke using his
|
||||
intermediate representation. Another step to share more code, and
|
||||
simplify the porting and maintenance process.
|
||||
|
||||
@item Jul 27th, 2002: NGEN tool for Mono.
|
||||
|
||||
Zoltan <a
|
||||
href="http://lists.ximian.com/archives/public/mono-list/2002-July/001117.html">announced</a>
|
||||
the availability of his CIL to C compiler. This allows your Mono assemblies to be pre-compiled
|
||||
and optimized by GCC in your platform, increasing the speed significantly of your code.
|
||||
|
||||
@item Jul 26th, 2002: Mono 0.13 has been released.
|
||||
|
||||
<b>Mono 0.13 has been released!</b> (details <a
|
||||
href="archive/mono-0.13">here</a>). Get
|
||||
your sources for the <a
|
||||
href="archive/mono-0.13.tar.gz">runtime</a> and
|
||||
<a href="archive/mcs-0.13.tar.gz">compiler and class libraries</a>.
|
||||
<p>
|
||||
Alp made Debian packages and they are <a
|
||||
href="http://www.atoker.com/mono/">here</a>. Cristophe made
|
||||
packages for Red Hat and they are <a
|
||||
href="http://mono.baselabs.org/software">here</a>.
|
||||
And Windows packages have been <a href="http://www.superin.formativ.net/mono/mono.htm">contributed</a>
|
||||
|
||||
@item Jul 23rd, 2002: Mono Verifier, System.Web.Services, ASP.NET samples.
|
||||
|
||||
Mono now has a verifier. It is used by the runtime, or you can invoke it manually to
|
||||
verify an image by using the `pedump' tool.
|
||||
@@ -97,15 +339,15 @@
|
||||
|
||||
Various samples for ASP.NET have landed in CVS.
|
||||
|
||||
@item Jul 20th, 2002
|
||||
@item Jul 20th, 2002: Spanish Mono Tutorial.
|
||||
|
||||
A spanish tutorial on using Mono is <a
|
||||
href="http://www.es.gnome.org/documentacion/articulos/mono-linux/mono-linux/t1.html">here</a>.
|
||||
href="http://mono.es.gnome.org/tutoriales/mono-linux/">here</a>.
|
||||
Also the <a
|
||||
href="http://www.es.gnome.org/documentacion/articulos/MONO-PUF/MONO-PUF/">FAQ</a>
|
||||
href="http://mono.es.gnome.org/tutoriales/mono-puf/">FAQ</a>
|
||||
has been translated as well.
|
||||
|
||||
@item Jul 19th, 2002
|
||||
@item Jul 19th, 2002: File handle redirection, Embeddable Mono and Mono Linux compilation.
|
||||
|
||||
Dick's code for file handle redirection is complete and has
|
||||
now landed on the CVS repository.
|
||||
@@ -192,41 +434,6 @@
|
||||
port the JITer to new architectures, and that our trampoline
|
||||
code is cross platform.
|
||||
|
||||
@item Looking for volunteers
|
||||
|
||||
We are looking for volunteers to help complete various pieces
|
||||
of Mono and help move the project forward, we need
|
||||
contributions to:
|
||||
|
||||
<ul>
|
||||
* More tests to the existing class libraries.
|
||||
|
||||
* Finish existing class libraries, check our <a
|
||||
href="class-status.html">class status</a> pages to see
|
||||
all the missing things. There are open tasks all over
|
||||
the place: XML, Database access, enterprise services,
|
||||
configuration, ASP.NET, Drawing APIs, and more.
|
||||
|
||||
* Since we have now ASP.NET running, we would like to
|
||||
create an ASP.NET application to maintain our class
|
||||
library documentation.
|
||||
|
||||
We have some special needs (read them <a
|
||||
href="classlib-doc.html">here</a>). There is a
|
||||
prototype written using Windows.Forms, but we believe
|
||||
it will be faster to have this done using ASP.NET (and
|
||||
it is also a nice way of stress testing it).
|
||||
|
||||
* Support for the VB runtime: we need contributions
|
||||
to make our VB runtime mature enough to host
|
||||
applications compiled with the VB.NET to run with
|
||||
Mono.
|
||||
|
||||
* We need people to help write the documentation: you
|
||||
can start editing our XML files by hand, and once we
|
||||
have the ASP.NET tool, upgrade to that.
|
||||
</ul>
|
||||
|
||||
@item Jul 9th, 2002
|
||||
|
||||
Ajay was the first to notice <a
|
||||
@@ -355,10 +562,63 @@
|
||||
A big thanks goes to Dennis Hayes for getting the
|
||||
Windows.Forms work together, and commiting so many stubs for Windows.Forms.
|
||||
|
||||
@item Jun 25, 2002
|
||||
|
||||
I am updating the Mono site from the Unesco offices in
|
||||
Uruguay, the <a href="http://www.gnome.org/resources/calendar/roadshow/GNOMEenelSur.html">South-America trip</a>
|
||||
to promote free software is going very well.
|
||||
|
||||
Many news in Mono-land this week so far:
|
||||
|
||||
Mike Kestner got bindings for GtkHTML last night for Gtk#,
|
||||
this is using GtkHTML 2.0.
|
||||
|
||||
On Monday Piers Haken <a
|
||||
href="http://lists.ximian.com/archives/public/mono-list/2002-June/000380.html">contributed</a>
|
||||
the core to support XPath in Mono: most of the w3c spec is
|
||||
implemented (modulo a few pending bits).
|
||||
|
||||
Dick checked in his implementation of the Process classes:
|
||||
process forking and waiting support committed, with some functions to
|
||||
query status. This was complex as we had to emulate the Win32
|
||||
environment, but this is another step to be fully compatible.
|
||||
This means for example that any process can check on the
|
||||
status of any other process (without the parent/child relationship)
|
||||
|
||||
Of course, those interested
|
||||
in only the Unix semantics can always P/Invoke the Unix calls.
|
||||
|
||||
@item Jun 24, 2002
|
||||
|
||||
|
||||
Duncan has written a few sample <a
|
||||
href="http://primates.ximian.com/~duncan/Mono">gtk# demo apps</a>..
|
||||
href="http://primates.ximian.com/~duncan/Mono">Gtk# demo
|
||||
applications</a> (<a
|
||||
href="http://primates.ximian.com/~duncan/Mono/img/ImageViewer.png">screen
|
||||
shot</a>, <a
|
||||
href="http://primates.ximian.com/~duncan/Mono/img/ImageBrowser.png">another</a>)
|
||||
|
||||
Rachel also got the beginning of Gnome bindings (<a
|
||||
href="http://primates.ximian.com/~tvgm/gnome-hello.png">screenshot</a>).
|
||||
She also got some <a
|
||||
href="http://primates.ximian.com/~tvgm/gtk-sharp-docs/">documentation</a>
|
||||
up now.
|
||||
|
||||
@item Jun 22, 2002
|
||||
|
||||
Mono's ASP.NET has rendered its first page on Linxu for the
|
||||
first time (Gonzalo and Paolo).
|
||||
|
||||
Also, we are getting close to
|
||||
self hosting. Paolo posted a <a
|
||||
href="http://lists.ximian.com/archives/public/mono-list/2002-June/000345.html">list
|
||||
of pending issues</a> which are now very small.
|
||||
|
||||
Steam is picking up in <a
|
||||
href="http://gtk-sharp.sf.net">Gtk#</a> as the bindings become more
|
||||
complete and small applications are starting to emerge. Gtk#
|
||||
now compiles completely on Linux. This uses a lot of the XML
|
||||
libraries, which is nice to see.
|
||||
|
||||
@item Jun 20, 2002
|
||||
|
||||
|
||||
@@ -1,5 +1,9 @@
|
||||
* Java
|
||||
|
||||
<b>This is an outline on how to support Java, actual
|
||||
implementations of ideas like this can be found <a href="http://radio.weblogs.com/0109845/">here</a></b>
|
||||
|
||||
|
||||
It would be interesting to support the Java language as part
|
||||
of the Mono project.
|
||||
|
||||
|
||||
+8
-5
@@ -32,6 +32,10 @@
|
||||
monodis /home/export/martin/MONO-LINUX/bin/mcs.exe > mcs.il
|
||||
</pre>
|
||||
|
||||
This is normally done automatically, but you can also disable
|
||||
it and create them by hand. See the <tt>mono</tt> manual page
|
||||
for details.
|
||||
|
||||
Make sure that all the .il files have the same name as their corresponding
|
||||
assembly and that they're all created in the current directory.
|
||||
|
||||
@@ -43,7 +47,7 @@
|
||||
than 65.535 lines and it's type support is also very limited. You should only
|
||||
use this if your debugger doesn't support DWARF 2.
|
||||
|
||||
To generate STABS output, use the <tt>--stabs</tt> command line argument.
|
||||
To generate STABS output, use the <tt>--debug=stabs</tt> command line argument.
|
||||
|
||||
|
||||
* DWARF 2: The DWARF 2 debugging format is a very powerful debugging format
|
||||
@@ -51,10 +55,9 @@
|
||||
type support. It's the recommended format unless you need to use STABS because
|
||||
your debugger doesn't support DWARF 2.
|
||||
|
||||
To generate DWARF 2 output, use the <tt>--dwarf</tt> command line argument.
|
||||
To generate DWARF 2 output, use the <tt>--debug=dwarf</tt> command line argument.
|
||||
</ul>
|
||||
|
||||
|
||||
You need to regenerate the symbol file each time the JIT compiled a new
|
||||
method and each time you restart the JIT. You cannot reuse your symbol file
|
||||
if you start the JIT a second file, not even if you're running the same
|
||||
@@ -110,7 +113,7 @@
|
||||
assembler to produce an object file <tt>Foo-debug.o</tt>. This object file must be
|
||||
in the current directory.
|
||||
|
||||
Then start the JIT in your debugger and give it the <tt>--dwarf-plus</tt> command
|
||||
Then start the JIT in your debugger and give it the <tt>--debug=dwarf-plus</tt> command
|
||||
line argument.
|
||||
|
||||
Each time you call <tt>mono_debug_make_symbols ()</tt> from withing your debugger,
|
||||
@@ -140,7 +143,7 @@
|
||||
|
||||
** Breakpoints and single stepping
|
||||
|
||||
The JIT has a <tt>--debug</tt> command line argument to insert a breakpoint at the
|
||||
The JIT has a <tt>--break</tt> command line argument to insert a breakpoint at the
|
||||
beginning of this method. It takes a <tt>Namespace.Class:Method</tt> argument which
|
||||
is the method. This argument can be given multiple times.
|
||||
|
||||
|
||||
@@ -38,8 +38,8 @@
|
||||
|
||||
<pre>
|
||||
$ gdb ~/monocvs/mono/mono/jit/mono
|
||||
(gdb) r --dwarf --debug Foo:Main ./Foo.exe
|
||||
Starting program: /home/martin/monocvs/mono/mono/jit/mono --dwarf --debug Foo:Main ./Foo.exe
|
||||
(gdb) r --debug=dwarf --break Foo:Main ./Foo.exe
|
||||
Starting program: /home/martin/monocvs/mono/mono/jit/mono --debug=dwarf --break Foo:Main ./Foo.exe
|
||||
0x081e8911 in ?? ()
|
||||
(gdb) call mono_debug_make_symbols ()
|
||||
(gdb) add-symbol-file /tmp/Foo.o
|
||||
|
||||
@@ -39,8 +39,8 @@
|
||||
|
||||
<pre>
|
||||
$ gdb ~/monocvs/mono/mono/jit/mono
|
||||
(gdb) r --dwarf-plus --debug Foo:Main ./Foo.exe
|
||||
Starting program: /home/martin/monocvs/mono/mono/jit/mono --dwarf-plus --debug Foo:Main ./Foo.exe
|
||||
(gdb) r --debug=dwarf-plus --break Foo:Main ./Foo.exe
|
||||
Starting program: /home/martin/monocvs/mono/mono/jit/mono --debug=dwarf-plus --break Foo:Main ./Foo.exe
|
||||
Program received signal SIGTRAP, Trace/breakpoint trap.
|
||||
0x081e8681 in ?? ()
|
||||
(gdb) call mono_debug_make_symbols ()
|
||||
|
||||
+13
-6
@@ -14,7 +14,7 @@
|
||||
|
||||
<ul>
|
||||
* <a href="#JavaScript">Java Script</a>
|
||||
* <a href="java.html">Java</a>
|
||||
* <a href="#java.html">Java</a>
|
||||
* <a href="#c">C</a>
|
||||
</ul>
|
||||
|
||||
@@ -24,6 +24,13 @@
|
||||
* <a href="#Tachy">Tachy</a> (scheme-like)
|
||||
</ul>
|
||||
|
||||
<a name="Java">
|
||||
** Java
|
||||
|
||||
There is a very interesting project to make a JavaVM for .NET
|
||||
<a href="http://radio.weblogs.com/0109845/">here</a>
|
||||
|
||||
|
||||
<a name="MonoLogo">
|
||||
** MonoLogo
|
||||
|
||||
@@ -63,7 +70,7 @@
|
||||
** Delta Forth
|
||||
|
||||
The Delta Forth.NET project: <a
|
||||
href="http://www.codeproject.com/dotnet/dforthnet.asp">Home
|
||||
href="www.dataman.ro/dforth">Home
|
||||
Page</a> and <a href="http://www.dataman.ro/dforth/index.html">more
|
||||
details here</a>.
|
||||
|
||||
@@ -101,10 +108,10 @@
|
||||
Ideally GCC could be modified to generate CIL, but it is a
|
||||
big task. That would give us various compilers in one pass.
|
||||
|
||||
Rumor is that the next version of the LCC compiler will
|
||||
include an IL backend. We do not know how extensive the support
|
||||
for integration with .NET will be, but it would be an interesting
|
||||
excercise to add an extension to C to call into .NET code.
|
||||
<a href="http://www.cs.princeton.edu/software/lcc">LCC</a> 4.2
|
||||
has been recently released. This release adds support for compiling
|
||||
ANSI C programs to CIL. Note that the CIL support only works on Win32
|
||||
right now, but should be easy to convert to Mono/other architectures.
|
||||
|
||||
LCC is not an open source compiler, but it is free as long as you
|
||||
do not profit from selling it.
|
||||
|
||||
+1
-1
@@ -2,7 +2,7 @@
|
||||
|
||||
Most of the mailing lists are in english, but there is also
|
||||
Mono Hispano that has lists in Spanish. <a
|
||||
href="http://www.es.gnome.org/mailman/listinfo/mono-hispano">Mono Hispano list</a>
|
||||
href="http://mono.es.gnome.org/mailman/listinfo/mono-hispano">Mono Hispano list</a>
|
||||
|
||||
There are a number of mailing lists for Mono in English:
|
||||
|
||||
|
||||
+34
-6
@@ -1,9 +1,37 @@
|
||||
* Mono for beginners
|
||||
|
||||
Hinne Hettema has provided us a beautiful and complete
|
||||
document on how to obtain, install and test Mono on
|
||||
a Linux system.
|
||||
Hinne Hettema and Jaime Anguiano Olarra are providing us with
|
||||
nice and complete set of documents (HOWTOs) about how to install,
|
||||
configure, run and test the software developed by the Mono Project.
|
||||
|
||||
You can read them online, get PDF versions or get the XML sources.
|
||||
|
||||
|
||||
HTML Format (read it online)
|
||||
|
||||
For <a href="mono-beginning/t1.html">RPM Linux based systems</a>
|
||||
|
||||
For <a href="http://geneura.ugr.es/~jaime/mono-beginning-windows/t1.html">Microsoft Windows</a>
|
||||
|
||||
|
||||
PDF Format
|
||||
|
||||
For <a href="mono-beginning.pdf">RPM Linux based systems</a>
|
||||
|
||||
For <a href="http://geneura.ugr.es/~jaime/mono-beginning-windows/mono-beginning-windows.pdf">Microsoft Windows</a>
|
||||
|
||||
|
||||
|
||||
XML Source
|
||||
|
||||
For <a href="mono-beginning.xml">RPM Linux based systems</a>
|
||||
|
||||
For <a href="http://geneura.ugr.es/~jaime/mono-beginning-windows/mono-beginning-windows.xml">Microsoft Windows</a>
|
||||
|
||||
|
||||
Currently Hinne is working on a Mono Tools HOWTO. Which will be
|
||||
very useful for the hackers that would like to get in touch with
|
||||
Mono and Jaime is working out a Mono Beginning HOWTO for Debian
|
||||
users.
|
||||
|
||||
|
||||
You can <a href="mono-beginning/t1.html">Read it online</a>,
|
||||
download a <a href="mono-beginning.pdf">PDF</a> version, or get the
|
||||
<a href="mono-beginning.xml">source code</a> for it.
|
||||
File diff suppressed because it is too large.
Load diff
+51
-12
@@ -17,6 +17,12 @@ echo "Building Mono and dependencies in $here, installing to $here/install"
|
||||
|
||||
PATH=$here/install/bin:$here/install/lib:$PATH
|
||||
|
||||
# Make sure cygwin's libiconv is installed, or libtool blows its tiny mind
|
||||
if [ ! -f /usr/lib/libiconv.la ]; then
|
||||
echo "You need to install the cygwin \"libiconv\" package!"
|
||||
exit -1
|
||||
fi
|
||||
|
||||
# Check mono out first, so we can run aclocal from inside the mono dir (it
|
||||
# needs to see which version of the real aclocal to run)
|
||||
test -z "$CVSROOT" && CVSROOT=:pserver:[email protected]:/mono
|
||||
@@ -42,6 +48,18 @@ fi
|
||||
|
||||
cvs checkout mono || exit -1
|
||||
|
||||
echo "Checking automake version"
|
||||
automake_required="1.6.2"
|
||||
automake_version=`automake --version | head -1 | awk '{print $4}' | tr -d '[a-zA-Z]' | sed 's/-.*$//g'`
|
||||
echo "Found automake version $automake_version"
|
||||
if expr $automake_version \< $automake_required > /dev/null; then
|
||||
echo "Your automake is too old! You need version $automake_required or newer."
|
||||
exit -1
|
||||
else
|
||||
echo "Automake version new enough."
|
||||
fi
|
||||
|
||||
# Select the stable version anyway...
|
||||
if [ ! -z "${AUTO_STABLE}" -o -e /usr/autotool/stable ]; then
|
||||
export AUTO_STABLE=${AUTO_STABLE:-/usr/autotool/stable}
|
||||
export AUTO_DEVEL=${AUTO_STABLE}
|
||||
@@ -49,8 +67,7 @@ fi
|
||||
|
||||
# Need to install pkgconfig and set ACLOCAL_FLAGS if there is not a
|
||||
# pkgconfig installed already. Otherwise set PKG_CONFIG_PATH to the
|
||||
# glib we're about to install in $here/install. This script could
|
||||
# attempt to be clever and see if glib 2 is already installed, too.
|
||||
# glib we're about to install in $here/install.
|
||||
|
||||
|
||||
# --print-ac-dir was added in 1.2h according to the ChangeLog. This
|
||||
@@ -61,15 +78,17 @@ fi
|
||||
# it finds two copies of the m4 macros). The GIMP for Windows
|
||||
# pkgconfig sets its prefix based on the location of its binary, so we
|
||||
# dont need PKG_CONFIG_PATH (the internal pkgconfig config file
|
||||
# $prefix is handled similarly).
|
||||
# $prefix is handled similarly). For the cygwin pkgconfig we do need to
|
||||
# set it, and we need to edit the mingw pc files too.
|
||||
|
||||
function aclocal_scan () {
|
||||
# Quietly ignore the rogue '-I' and other aclocal flags that
|
||||
# aren't actually directories...
|
||||
#
|
||||
# cd into mono/ so that the aclocal wrapper can work out which version
|
||||
# of aclocal to run
|
||||
for i in `(cd mono && aclocal --print-ac-dir)` $ACLOCAL_FLAGS
|
||||
# of aclocal to run, and add /usr/share/aclocal too cos aclocal looks there
|
||||
# too.
|
||||
for i in `(cd mono && aclocal --print-ac-dir)` /usr/share/aclocal $ACLOCAL_FLAGS
|
||||
do
|
||||
if [ -f $i/$1 ]; then
|
||||
return 0
|
||||
@@ -96,10 +115,17 @@ function install_package() {
|
||||
fi
|
||||
}
|
||||
|
||||
if ! aclocal_scan pkg.m4 ; then
|
||||
ACLOCAL_FLAGS="-I $here/install/share/aclocal $ACLOCAL_FLAGS"
|
||||
# pkgconfig is only used during the build, so we can use the cygwin version
|
||||
# if it exists
|
||||
if aclocal_scan pkg.m4 ; then
|
||||
install_pkgconfig=no
|
||||
else
|
||||
install_pkgconfig=yes
|
||||
fi
|
||||
|
||||
# But we still need to use the mingw libs for glib & co
|
||||
ACLOCAL_FLAGS="-I $here/install/share/aclocal $ACLOCAL_FLAGS"
|
||||
|
||||
export PATH
|
||||
export ACLOCAL_FLAGS
|
||||
|
||||
@@ -110,15 +136,28 @@ fi
|
||||
|
||||
# Fetch and install pkg-config, glib, iconv, intl
|
||||
|
||||
install_package pkgconfig-0.80-tml-20020101.zip bin/pkg-config.exe pkgconfig
|
||||
install_package glib-1.3.12-20020101.zip lib/libglib-1.3-12.dll glib
|
||||
install_package glib-dev-1.3.12-20020101.zip lib/glib-1.3.lib glib-dev
|
||||
if [ $install_pkgconfig = "yes" ]; then
|
||||
install_package pkgconfig-0.11-20020310.zip bin/pkg-config.exe pkgconfig
|
||||
else
|
||||
echo "Not installing pkgconfig, you already seem to have it installed"
|
||||
fi
|
||||
install_package glib-2.0.4-20020703.zip lib/libglib-2.0-0.dll glib
|
||||
install_package glib-dev-2.0.4-20020703.zip lib/glib-2.0.lib glib-dev
|
||||
install_package libiconv-1.7.zip lib/iconv.dll iconv
|
||||
install_package libiconv-dev-1.7.zip lib/iconv.lib iconv-dev
|
||||
install_package libintl-0.10.40-20020101.zip lib/libintl-1.dll intl
|
||||
install_package libgc-dev.zip lib/gc.dll gc-dev
|
||||
|
||||
# Needed to find the libiconv bits
|
||||
if [ $install_pkgconfig = "no" ]; then
|
||||
echo "Fixing up the pkgconfig paths"
|
||||
for i in $here/install/lib/pkgconfig/*.pc
|
||||
do
|
||||
mv $i $i.orig
|
||||
sed -e "s@^prefix=/target\$@prefix=$here/install@" < $i.orig > $i
|
||||
done
|
||||
export PKG_CONFIG_PATH=$here/install/lib/pkgconfig
|
||||
fi
|
||||
|
||||
# Needed to find the libgc bits
|
||||
CPPFLAGS="$CPPFLAGS -I$here/install/include"
|
||||
LDFLAGS="$LDFLAGS -L$here/install/lib"
|
||||
export CPPFLAGS
|
||||
|
||||
+61
-12
@@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#! /usr/bin/env bash
|
||||
|
||||
# Script to automate the building of mono and its dependencies.
|
||||
# Relies on wget being installed (could make it fall back to using
|
||||
@@ -17,6 +17,44 @@ echo "Building Mono and dependencies in $here, installing to $here/install"
|
||||
PATH=$here/install/bin:$PATH
|
||||
LD_LIBRARY_PATH=$here/install/lib:$LD_LIBRARY_PATH
|
||||
|
||||
# Find a tool to fetch files. It must take an HTTP URL on the command line and
|
||||
# save the file in the current directory. (It must also talk HTTP/1.1, which
|
||||
# rules out BSD's ftp(1), at least on FreeBSD 4.4.)
|
||||
viable_downloaders="wget fetch"
|
||||
for i in $viable_downloaders
|
||||
do
|
||||
if which $i > /dev/null; then
|
||||
downloader=`which $i`
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -z "$downloader" ]; then
|
||||
echo "Can't find a commandline download tool (tried: $viable_downloaders)"
|
||||
exit -1
|
||||
else
|
||||
echo "Using $downloader to fetch files"
|
||||
fi
|
||||
|
||||
# We need to prefer GNU make if there's a choice. BSD make falls over in
|
||||
# the glib build if gtk-doc is disabled.
|
||||
viable_makers="gmake make"
|
||||
for i in $viable_makers
|
||||
do
|
||||
if which $i > /dev/null; then
|
||||
MAKE=$i
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if [ -z "$MAKE" ]; then
|
||||
echo "Can't find a make tool (tried: $viable_makers)"
|
||||
exit -1
|
||||
else
|
||||
echo "Using $MAKE"
|
||||
export MAKE
|
||||
fi
|
||||
|
||||
# Need to install pkgconfig and set ACLOCAL_FLAGS if there is not a
|
||||
# pkgconfig installed already. Otherwise set PKG_CONFIG_PATH to the
|
||||
# glib we're about to install in $here/install. This script could
|
||||
@@ -64,14 +102,14 @@ function install_package() {
|
||||
|
||||
echo "Installing $name..."
|
||||
if [ ! -f $here/$tarfile ]; then
|
||||
wget http://www.go-mono.org/archive/$tarfile
|
||||
(cd $here && $downloader http://www.go-mono.com/archive/$tarfile)
|
||||
fi
|
||||
|
||||
# Assume that the package built correctly if the dir is there
|
||||
if [ ! -d $here/$dirname ]; then
|
||||
# Build and install package
|
||||
tar xzf $here/$tarfile || exit -1
|
||||
(cd $here/$dirname; ./configure --prefix=$here/install $configure_options || exit -1; make || exit -1; make install || exit -1)
|
||||
(cd $here && tar xzf $tarfile) || exit -1
|
||||
(cd $here/$dirname; ./configure --prefix=$here/install $configure_options || exit -1; $MAKE || exit -1; $MAKE install || exit -1)
|
||||
success=$?
|
||||
if [ $success -ne 0 ]; then
|
||||
echo "***** $name build failure. Run rm -rf $here/$dirname to have this script attempt to build $name again next time"
|
||||
@@ -113,12 +151,23 @@ export LD_LIBRARY_PATH
|
||||
export ACLOCAL_FLAGS
|
||||
export PKG_CONFIG_PATH
|
||||
|
||||
CPPFLAGS="$CPPFLAGS -I$here/install/include"
|
||||
LDFLAGS="$LDFLAGS -L$here/install/lib"
|
||||
# Freebsd puts iconv in /usr/local, so see if we need to add
|
||||
# /usr/local/include and /usr/local/lib to CPPFLAGS and LDFLAGS. We could
|
||||
# skip this if it would add /usr/include and /usr/lib, but leaving it
|
||||
# shouldnt break anything.
|
||||
iconvh=`locate include/iconv.h`
|
||||
iconvh_dir=`dirname $iconvh`
|
||||
iconvlib_dir=`echo $iconvh_dir | sed -e 's/include/lib/'`
|
||||
|
||||
echo "Adding $iconvh_dir to CPPFLAGS"
|
||||
echo "Adding $iconvlib_dir to LDFLAGS"
|
||||
|
||||
CPPFLAGS="$CPPFLAGS -I$here/install/include -I$iconvh_dir"
|
||||
LDFLAGS="$LDFLAGS -L$here/install/lib -L$iconvlib_dir"
|
||||
export CPPFLAGS
|
||||
export LDFLAGS
|
||||
|
||||
# Grab pkg-config-0.8, glib-1.3.12 if necessary
|
||||
# Grab pkg-config, glib and libgc if necessary
|
||||
|
||||
if [ $install_pkgconfig = "yes" ]; then
|
||||
install_package pkgconfig-0.8.0.tar.gz pkgconfig-0.8.0 pkgconfig ""
|
||||
@@ -127,16 +176,16 @@ else
|
||||
fi
|
||||
|
||||
if [ $install_glib = "yes" ]; then
|
||||
install_package glib-1.3.13.tar.gz glib-1.3.13 glib ""
|
||||
install_package glib-2.0.6.tar.gz glib-2.0.6 glib ""
|
||||
else
|
||||
echo "Not installing glib, you already seem to have it installed"
|
||||
fi
|
||||
|
||||
if [ $install_libgc = "yes" ]; then
|
||||
LIBS="-ldl" install_package gc6.0.tar.gz gc6.0 libgc "--enable-threads=pthreads"
|
||||
install_package gc6.1alpha5.tar.gz gc6.1alpha5 libgc "--enable-threads=pthreads"
|
||||
# make install didnt do the headers!
|
||||
mkdir -p $here/install/include/gc
|
||||
cp -r $here/gc6.0/include/* $here/install/include/gc
|
||||
cp -r $here/gc6.1alpha5/include/* $here/install/include/gc
|
||||
else
|
||||
echo "Not installing libgc, you already seem to have it installed"
|
||||
fi
|
||||
@@ -166,12 +215,12 @@ elif [ ${CVSROOT:0:9} = ":pserver:" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
cvs checkout mono || exit -1
|
||||
(cd $here && cvs checkout mono) || exit -1
|
||||
|
||||
# Build and install mono
|
||||
echo "Building and installing mono"
|
||||
|
||||
(cd $here/mono; ./autogen.sh --prefix=$here/install || exit -1; make || exit -1; make install || exit -1) || exit -1
|
||||
(cd $here/mono; ./autogen.sh --prefix=$here/install || exit -1; $MAKE || exit -1; $MAKE install || exit -1) || exit -1
|
||||
|
||||
|
||||
echo ""
|
||||
|
||||
@@ -0,0 +1,246 @@
|
||||
System.Object
|
||||
System.Exception
|
||||
System.ValueType
|
||||
System.Delegate
|
||||
System.MulticastDelegate
|
||||
System.Enum
|
||||
System.Activator
|
||||
System.ArgIterator
|
||||
System.__ComObject
|
||||
System.TypedReference
|
||||
System.Security.AllowPartiallyTrustedCallersAttribute
|
||||
System.Runtime.Serialization.Formatter
|
||||
System.Runtime.Serialization.FormatterConverter
|
||||
System.Runtime.Serialization.FormatterServices
|
||||
System.Runtime.Serialization.ObjectIDGenerator
|
||||
System.Runtime.Serialization.ObjectManager
|
||||
System.Reflection.ModuleResolveEventHandler
|
||||
System.Reflection.Pointer
|
||||
System.Globalization.CompareInfo
|
||||
System.Globalization.HebrewCalendar
|
||||
System.Globalization.HijriCalendar
|
||||
System.Globalization.JapaneseCalendar
|
||||
System.Globalization.KoreanCalendar
|
||||
System.Globalization.SortKey
|
||||
System.Globalization.StringInfo
|
||||
System.Globalization.TaiwanCalendar
|
||||
System.Globalization.TextElementEnumerator
|
||||
System.Globalization.TextInfo
|
||||
System.Globalization.ThaiBuddhistCalendar
|
||||
System.IO.IsolatedStorage.IsolatedStorageFile
|
||||
System.Reflection.Emit.MethodRental
|
||||
System.Runtime.CompilerServices.AccessedThroughPropertyAttribute
|
||||
System.Runtime.CompilerServices.CallConvCdecl
|
||||
System.Runtime.CompilerServices.CallConvStdcall
|
||||
System.Runtime.CompilerServices.CallConvThiscall
|
||||
System.Runtime.CompilerServices.CallConvFastcall
|
||||
System.Runtime.CompilerServices.CustomConstantAttribute
|
||||
System.Runtime.CompilerServices.DateTimeConstantAttribute
|
||||
System.Runtime.CompilerServices.DiscardableAttribute
|
||||
System.Runtime.CompilerServices.DecimalConstantAttribute
|
||||
System.Runtime.CompilerServices.CompilationRelaxationsAttribute
|
||||
System.Runtime.CompilerServices.CompilerGlobalScopeAttribute
|
||||
System.Runtime.CompilerServices.IDispatchConstantAttribute
|
||||
System.Runtime.CompilerServices.IsVolatile
|
||||
System.Runtime.CompilerServices.IUnknownConstantAttribute
|
||||
System.Runtime.CompilerServices.RequiredAttributeAttribute
|
||||
System.Runtime.InteropServices.ArrayWithOffset
|
||||
System.Runtime.InteropServices.DispIdAttribute
|
||||
System.Runtime.InteropServices.ClassInterfaceType
|
||||
System.Runtime.InteropServices.ClassInterfaceAttribute
|
||||
System.Runtime.InteropServices.ComVisibleAttribute
|
||||
System.Runtime.InteropServices.LCIDConversionAttribute
|
||||
System.Runtime.InteropServices.ComRegisterFunctionAttribute
|
||||
System.Runtime.InteropServices.ComUnregisterFunctionAttribute
|
||||
System.Runtime.InteropServices.ProgIdAttribute
|
||||
System.Runtime.InteropServices.ImportedFromTypeLibAttribute
|
||||
System.Runtime.InteropServices.IDispatchImplType
|
||||
System.Runtime.InteropServices.IDispatchImplAttribute
|
||||
System.Runtime.InteropServices.ComSourceInterfacesAttribute
|
||||
System.Runtime.InteropServices.ComConversionLossAttribute
|
||||
System.Runtime.InteropServices.TypeLibTypeFlags
|
||||
System.Runtime.InteropServices.TypeLibFuncFlags
|
||||
System.Runtime.InteropServices.TypeLibVarFlags
|
||||
System.Runtime.InteropServices.TypeLibTypeAttribute
|
||||
System.Runtime.InteropServices.TypeLibFuncAttribute
|
||||
System.Runtime.InteropServices.TypeLibVarAttribute
|
||||
System.Runtime.InteropServices.ComImportAttribute
|
||||
System.Runtime.InteropServices.PreserveSigAttribute
|
||||
System.Runtime.InteropServices.ComAliasNameAttribute
|
||||
System.Runtime.InteropServices.AutomationProxyAttribute
|
||||
System.Runtime.InteropServices.PrimaryInteropAssemblyAttribute
|
||||
System.Runtime.InteropServices.CoClassAttribute
|
||||
System.Runtime.InteropServices.ComEventInterfaceAttribute
|
||||
System.Runtime.InteropServices.COMException
|
||||
System.Runtime.InteropServices.ComMemberType
|
||||
System.Runtime.InteropServices.CurrencyWrapper
|
||||
System.Runtime.InteropServices.DispatchWrapper
|
||||
System.Runtime.InteropServices.ErrorWrapper
|
||||
System.Runtime.InteropServices.ExtensibleClassFactory
|
||||
System.Runtime.InteropServices.HandleRef
|
||||
System.Runtime.InteropServices.InvalidComObjectException
|
||||
System.Runtime.InteropServices.InvalidOleVariantTypeException
|
||||
System.Runtime.InteropServices.TypeLibImporterFlags
|
||||
System.Runtime.InteropServices.ExporterEventKind
|
||||
System.Runtime.InteropServices.ITypeLibExporterNotifySink
|
||||
System.Runtime.InteropServices.ITypeLibConverter
|
||||
System.Runtime.InteropServices.MarshalDirectiveException
|
||||
System.Runtime.InteropServices.ObjectCreationDelegate
|
||||
System.Runtime.InteropServices.RuntimeEnvironment
|
||||
System.Runtime.InteropServices.RegistrationServices
|
||||
System.Runtime.InteropServices.SafeArrayRankMismatchException
|
||||
System.Runtime.InteropServices.SafeArrayTypeMismatchException
|
||||
System.Runtime.InteropServices.SEHException
|
||||
System.Runtime.InteropServices.TypeLibConverter
|
||||
System.Runtime.InteropServices.BIND_OPTS
|
||||
System.Runtime.InteropServices.UCOMIBindCtx
|
||||
System.Runtime.InteropServices.UCOMIConnectionPointContainer
|
||||
System.Runtime.InteropServices.UCOMIConnectionPoint
|
||||
System.Runtime.InteropServices.UCOMIEnumMoniker
|
||||
System.Runtime.InteropServices.CONNECTDATA
|
||||
System.Runtime.InteropServices.UCOMIEnumConnections
|
||||
System.Runtime.InteropServices.UCOMIEnumConnectionPoints
|
||||
System.Runtime.InteropServices.UCOMIEnumString
|
||||
System.Runtime.InteropServices.UCOMIEnumVARIANT
|
||||
System.Runtime.InteropServices.FILETIME
|
||||
System.Runtime.InteropServices.UCOMIMoniker
|
||||
System.Runtime.InteropServices.UCOMIPersistFile
|
||||
System.Runtime.InteropServices.UCOMIRunningObjectTable
|
||||
System.Runtime.InteropServices.STATSTG
|
||||
System.Runtime.InteropServices.UCOMIStream
|
||||
System.Runtime.InteropServices.DESCKIND
|
||||
System.Runtime.InteropServices.BINDPTR
|
||||
System.Runtime.InteropServices.UCOMITypeComp
|
||||
System.Runtime.InteropServices.TYPEKIND
|
||||
System.Runtime.InteropServices.TYPEFLAGS
|
||||
System.Runtime.InteropServices.IMPLTYPEFLAGS
|
||||
System.Runtime.InteropServices.TYPEATTR
|
||||
System.Runtime.InteropServices.FUNCDESC
|
||||
System.Runtime.InteropServices.IDLFLAG
|
||||
System.Runtime.InteropServices.IDLDESC
|
||||
System.Runtime.InteropServices.PARAMFLAG
|
||||
System.Runtime.InteropServices.PARAMDESC
|
||||
System.Runtime.InteropServices.TYPEDESC
|
||||
System.Runtime.InteropServices.ELEMDESC
|
||||
System.Runtime.InteropServices.VARDESC
|
||||
System.Runtime.InteropServices.DISPPARAMS
|
||||
System.Runtime.InteropServices.EXCEPINFO
|
||||
System.Runtime.InteropServices.FUNCKIND
|
||||
System.Runtime.InteropServices.INVOKEKIND
|
||||
System.Runtime.InteropServices.CALLCONV
|
||||
System.Runtime.InteropServices.FUNCFLAGS
|
||||
System.Runtime.InteropServices.VARFLAGS
|
||||
System.Runtime.InteropServices.UCOMITypeInfo
|
||||
System.Runtime.InteropServices.SYSKIND
|
||||
System.Runtime.InteropServices.LIBFLAGS
|
||||
System.Runtime.InteropServices.TYPELIBATTR
|
||||
System.Runtime.InteropServices.UCOMITypeLib
|
||||
System.Runtime.InteropServices.UnknownWrapper
|
||||
System.Runtime.Remoting.IObjectHandle
|
||||
System.Runtime.Remoting.IRemotingTypeInfo
|
||||
System.Runtime.Remoting.IChannelInfo
|
||||
System.Runtime.Remoting.IEnvoyInfo
|
||||
System.Runtime.Remoting.RemotingConfiguration
|
||||
System.Runtime.Remoting.TypeEntry
|
||||
System.Runtime.Remoting.ActivatedClientTypeEntry
|
||||
System.Runtime.Remoting.ActivatedServiceTypeEntry
|
||||
System.Runtime.Remoting.WellKnownClientTypeEntry
|
||||
System.Runtime.Remoting.WellKnownServiceTypeEntry
|
||||
System.Runtime.Remoting.RemotingException
|
||||
System.Runtime.Remoting.ServerException
|
||||
System.Runtime.Remoting.RemotingTimeoutException
|
||||
System.Runtime.Remoting.RemotingServices
|
||||
System.Runtime.Remoting.InternalRemotingServices
|
||||
System.Runtime.Remoting.SoapServices
|
||||
System.Runtime.Remoting.Activation.UrlAttribute
|
||||
System.Runtime.Remoting.Messaging.IMessageSink
|
||||
System.Runtime.Remoting.Messaging.AsyncResult
|
||||
System.Runtime.Remoting.Messaging.CallContext
|
||||
System.Runtime.Remoting.Messaging.ILogicalThreadAffinative
|
||||
System.Runtime.Remoting.Messaging.InternalMessageWrapper
|
||||
System.Runtime.Remoting.Messaging.IMethodCallMessage
|
||||
System.Runtime.Remoting.Messaging.MethodCallMessageWrapper
|
||||
System.Runtime.Remoting.Messaging.HeaderHandler
|
||||
System.Runtime.Remoting.Messaging.IMessageCtrl
|
||||
System.Runtime.Remoting.Messaging.IRemotingFormatter
|
||||
System.Runtime.Remoting.Messaging.ReturnMessage
|
||||
System.Runtime.Remoting.Messaging.MethodCall
|
||||
System.Runtime.Remoting.Messaging.ConstructionCall
|
||||
System.Runtime.Remoting.Messaging.MethodResponse
|
||||
System.Runtime.Remoting.Messaging.ConstructionResponse
|
||||
System.Runtime.Remoting.Messaging.MethodReturnMessageWrapper
|
||||
System.Runtime.Remoting.Messaging.OneWayAttribute
|
||||
System.Runtime.Remoting.Messaging.MessageSurrogateFilter
|
||||
System.Runtime.Remoting.Messaging.RemotingSurrogateSelector
|
||||
System.Runtime.Remoting.Contexts.CrossContextDelegate
|
||||
System.Runtime.Remoting.Contexts.ContextProperty
|
||||
System.Runtime.Remoting.Contexts.IContextPropertyActivator
|
||||
System.Runtime.Remoting.Contexts.IContributeClientContextSink
|
||||
System.Runtime.Remoting.Contexts.IContributeDynamicSink
|
||||
System.Runtime.Remoting.Contexts.IContributeEnvoySink
|
||||
System.Runtime.Remoting.Contexts.IContributeObjectSink
|
||||
System.Runtime.Remoting.Contexts.IContributeServerContextSink
|
||||
System.Runtime.Serialization.Formatters.InternalRM
|
||||
System.Runtime.Serialization.Formatters.InternalST
|
||||
System.Runtime.Serialization.Formatters.SoapMessage
|
||||
System.Runtime.Serialization.Formatters.SoapFault
|
||||
System.Runtime.Serialization.Formatters.ServerFault
|
||||
System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
|
||||
System.Security.Cryptography.CryptoConfig
|
||||
System.Security.Cryptography.KeyedHashAlgorithm
|
||||
System.Security.Cryptography.HMACSHA1
|
||||
System.Security.Cryptography.MACTripleDES
|
||||
System.Security.Cryptography.MaskGenerationMethod
|
||||
System.Security.Cryptography.PasswordDeriveBytes
|
||||
System.Security.Cryptography.PKCS1MaskGenerationMethod
|
||||
System.Security.Cryptography.RC2
|
||||
System.Security.Cryptography.RC2CryptoServiceProvider
|
||||
System.Security.Cryptography.RSACryptoServiceProvider
|
||||
System.Security.Cryptography.RSAOAEPKeyExchangeDeformatter
|
||||
System.Security.Cryptography.RSAOAEPKeyExchangeFormatter
|
||||
System.Security.Cryptography.RSAPKCS1KeyExchangeDeformatter
|
||||
System.Security.Cryptography.RSAPKCS1KeyExchangeFormatter
|
||||
System.Security.Cryptography.RSAPKCS1SignatureDeformatter
|
||||
System.Security.Cryptography.RSAPKCS1SignatureFormatter
|
||||
System.Security.Cryptography.SHA1Managed
|
||||
System.Security.Cryptography.TripleDES
|
||||
System.Security.Cryptography.TripleDESCryptoServiceProvider
|
||||
System.Security.Permissions.EnvironmentPermission
|
||||
System.Security.Permissions.FileDialogPermission
|
||||
System.Security.Permissions.IsolatedStorageFilePermission
|
||||
System.Security.Permissions.PrincipalPermissionAttribute
|
||||
System.Security.Permissions.SecurityPermissionAttribute
|
||||
System.Security.Permissions.PublisherIdentityPermissionAttribute
|
||||
System.Security.Permissions.PublisherIdentityPermission
|
||||
System.Security.Permissions.ReflectionPermission
|
||||
System.Security.Permissions.RegistryPermission
|
||||
System.Security.Permissions.PrincipalPermission
|
||||
System.Security.Permissions.SiteIdentityPermission
|
||||
System.Security.Permissions.StrongNameIdentityPermission
|
||||
System.Security.Permissions.StrongNamePublicKeyBlob
|
||||
System.Security.Permissions.UIPermission
|
||||
System.Security.Permissions.UrlIdentityPermission
|
||||
System.Security.Permissions.ZoneIdentityPermission
|
||||
System.Security.Policy.ApplicationDirectory
|
||||
System.Security.Policy.ApplicationDirectoryMembershipCondition
|
||||
System.Security.Policy.FirstMatchCodeGroup
|
||||
System.Security.Policy.Hash
|
||||
System.Security.Policy.HashMembershipCondition
|
||||
System.Security.Policy.NetCodeGroup
|
||||
System.Security.Policy.PermissionRequestEvidence
|
||||
System.Security.Policy.Publisher
|
||||
System.Security.Policy.PublisherMembershipCondition
|
||||
System.Security.Policy.Site
|
||||
System.Security.Policy.SiteMembershipCondition
|
||||
System.Security.Policy.StrongName
|
||||
System.Security.Policy.StrongNameMembershipCondition
|
||||
System.Security.Policy.UnionCodeGroup
|
||||
System.Security.Policy.Url
|
||||
System.Security.Policy.UrlMembershipCondition
|
||||
System.Security.Policy.Zone
|
||||
System.Security.Policy.ZoneMembershipCondition
|
||||
System.Security.Principal.WindowsIdentity
|
||||
System.Security.Principal.WindowsImpersonationContext
|
||||
System.Security.Principal.WindowsPrincipal
|
||||
System.Threading.CompressedStack
|
||||
|
||||
@@ -3,28 +3,31 @@
|
||||
|
||||
** Status
|
||||
|
||||
It passes and compiles the same amount of mono tests as on the x86 architecture.
|
||||
It passes and compiles the same amount of mono tests as on the x86 architecture.
|
||||
|
||||
mcs is self hosting on Linux/PPC.
|
||||
|
||||
** To do
|
||||
mcs is self hosting on Linux/PPC.
|
||||
|
||||
*** Interpreter
|
||||
|
||||
Up to date.
|
||||
Up to date.
|
||||
|
||||
*** Jitter
|
||||
|
||||
Start the port
|
||||
Start the port
|
||||
|
||||
** Documentation
|
||||
|
||||
<B>PowerPC architecture:</B>
|
||||
*** PowerPC architecture:
|
||||
|
||||
<A HREF="http://e-www.motorola.com/brdata/PDFDB/docs/MPCFPE32B.pdf">PowerPC Programming environments manual</A><BR>
|
||||
<A HREF="http://e-www.motorola.com/brdata/PDFDB/docs/MPC7410UM.pdf">G4 (7410) User's manual</A>
|
||||
|
||||
<B>Calling conventions:</B>
|
||||
There's a very nice introduction to PowerPC assembly language
|
||||
at <a
|
||||
href="http://www-106.ibm.com/developerworks/library/l-ppc/">http://www-106.ibm.com/developerworks/library/l-ppc/</a>.
|
||||
|
||||
*** Calling conventions:
|
||||
|
||||
<a href="http://www.esofta.com/softspecs.html">The PowerPC SystemV ABI specification</a>
|
||||
|
||||
<add me>
|
||||
|
||||
+9
-5
@@ -7,17 +7,21 @@
|
||||
1,Class Status,class-status.html,class-status.src,cm/cormissing.css,cm/cormissing.js
|
||||
2,corlib,class-status-corlib.html,class-status-corlib.src,cm/cormissing.css,cm/cormissing.js
|
||||
2,System,class-status-System.html,class-status-System.src,cm/cormissing.css,cm/cormissing.js
|
||||
2,System.Xml,class-status-System.Xml.html,class-status-System.Xml.src,cm/cormissing.css,cm/cormissing.js
|
||||
2,System.Data,class-status-System.Data.html,class-status-System.Data.src,cm/cormissing.css,cm/cormissing.js
|
||||
2,System.Drawing,class-status-System.Drawing.html,class-status-System.Drawing.src,cm/cormissing.css,cm/cormissing.js
|
||||
2,System.Web,class-status-System.Web.html,class-status-System.Web.src,cm/cormissing.css,cm/cormissing.js
|
||||
2,System.Web.Services,class-status-System.Web.Services.html,class-status-System.Web.Services.src,cm/cormissing.css,cm/cormissing.js
|
||||
2,Xml,class-status-System.Xml.html,class-status-System.Xml.src,cm/cormissing.css,cm/cormissing.js
|
||||
2,Data,class-status-System.Data.html,class-status-System.Data.src,cm/cormissing.css,cm/cormissing.js
|
||||
2,Drawing,class-status-System.Drawing.html,class-status-System.Drawing.src,cm/cormissing.css,cm/cormissing.js
|
||||
2,Web,class-status-System.Web.html,class-status-System.Web.src,cm/cormissing.css,cm/cormissing.js
|
||||
2,Web.Services,class-status-System.Web.Services.html,class-status-System.Web.Services.src,cm/cormissing.css,cm/cormissing.js
|
||||
2,Microsoft.VisualBasic,class-status-Microsoft.VisualBasic.html,class-status-Microsoft.VisualBasic.src,cm/cormissing.css,cm/cormissing.js
|
||||
2,EnterpriseServices,class-status-System.EnterpriseServices.html,class-status-System.EnterpriseServices.src,cm/cormissing.css,cm/cormissing.js
|
||||
2,Formatters.Soap,class-status-System.Runtime.Serialization.Formatters.Soap.html,class-status-System.Runtime.Serialization.Formatters.Soap.src,cm/cormissing.css,cm/cormissing.js
|
||||
1,C# Compiler,c-sharp.html,c-sharp.src
|
||||
1,Status,status.html,status.src
|
||||
0,Download,download.html,download.src
|
||||
1,CVS access,ccvs.html,ccvs.src
|
||||
1,AnonCVS access,anoncvs.html,anoncvs.src
|
||||
0,Contributing,contributing.html,contributing.src
|
||||
1,Hackers,hackers.html,hackers.src
|
||||
1,Documentation,documentation.html,documentation.src
|
||||
1,Class Docs,classlib-doc.html,classlib-doc.src
|
||||
1,Doc format,monodoc-xml.html,monodoc-xml.src
|
||||
|
||||
Executable
BIN
Binary file not shown.
|
After Width: | Height: | Size: 6.1 KiB |
+55
-49
@@ -4,57 +4,63 @@ CSC=csc
|
||||
CORCOMPARE=../../../mcs/tools/corcompare
|
||||
|
||||
OBJECTS= \
|
||||
deploy/ado-net.html \
|
||||
deploy/anoncvs.html \
|
||||
deploy/asp-net.html \
|
||||
deploy/books.html \
|
||||
deploy/contributing.html \
|
||||
deploy/class-status.html \
|
||||
deploy/class-status-corlib.html \
|
||||
deploy/class-status-System.html \
|
||||
deploy/class-status-System.Xml.html \
|
||||
deploy/class-status-System.Drawing.html \
|
||||
deploy/class-status-System.Data.html \
|
||||
deploy/class-status-System.Web.html \
|
||||
deploy/class-status-System.Web.Services.html \
|
||||
deploy/class-library.html \
|
||||
deploy/classlib-doc.html \
|
||||
deploy/contact.html \
|
||||
deploy/c-sharp.html \
|
||||
deploy/ccvs.html \
|
||||
deploy/documentation.html \
|
||||
deploy/download.html \
|
||||
deploy/faq.html \
|
||||
deploy/gcc-frontend.html \
|
||||
deploy/index.html \
|
||||
deploy/ideas.html \
|
||||
deploy/java.html \
|
||||
deploy/jit-debug.html \
|
||||
deploy/jit-debug-sample.html \
|
||||
deploy/jit-debug-sample2.html \
|
||||
deploy/languages.html \
|
||||
deploy/mailing-lists.html \
|
||||
deploy/mono-beginning.html \
|
||||
deploy/mono-beginning-xml.html \
|
||||
deploy/mono-contribution-howto.html \
|
||||
deploy/monodoc-xml.html \
|
||||
deploy/papers.html \
|
||||
deploy/passport.html \
|
||||
deploy/plans.html \
|
||||
deploy/porting.html \
|
||||
deploy/ppc.html \
|
||||
deploy/rationale.html \
|
||||
deploy/resources.html \
|
||||
deploy/roadmap.html \
|
||||
deploy/runtime.html \
|
||||
deploy/status.html \
|
||||
deploy/testing.html \
|
||||
deploy/tools.html \
|
||||
deploy/ado-net.html \
|
||||
deploy/anoncvs.html \
|
||||
deploy/asp-net.html \
|
||||
deploy/books.html \
|
||||
deploy/contributing.html \
|
||||
deploy/class-status.html \
|
||||
deploy/class-status-corlib.html \
|
||||
deploy/class-status-System.html \
|
||||
deploy/class-status-System.Xml.html \
|
||||
deploy/class-status-System.Drawing.html \
|
||||
deploy/class-status-System.Data.html \
|
||||
deploy/class-status-System.Web.html \
|
||||
deploy/class-status-System.Web.Services.html \
|
||||
deploy/class-status-Microsoft.VisualBasic.html \
|
||||
deploy/class-status-System.EnterpriseServices.html \
|
||||
deploy/class-status-System.Runtime.Serialization.Formatters.Soap.html \
|
||||
deploy/class-library.html \
|
||||
deploy/classlib-doc.html \
|
||||
deploy/contact.html \
|
||||
deploy/c-sharp.html \
|
||||
deploy/ccvs.html \
|
||||
deploy/documentation.html \
|
||||
deploy/download.html \
|
||||
deploy/faq.html \
|
||||
deploy/gcc-frontend.html \
|
||||
deploy/hackers.html \
|
||||
deploy/index.html \
|
||||
deploy/ideas.html \
|
||||
deploy/java.html \
|
||||
deploy/jit-debug.html \
|
||||
deploy/jit-debug-sample.html \
|
||||
deploy/jit-debug-sample2.html \
|
||||
deploy/languages.html \
|
||||
deploy/mailing-lists.html \
|
||||
deploy/mono-beginning.html \
|
||||
deploy/mono-contribution-howto.html \
|
||||
deploy/monodoc-xml.html \
|
||||
deploy/papers.html \
|
||||
deploy/passport.html \
|
||||
deploy/plans.html \
|
||||
deploy/porting.html \
|
||||
deploy/ppc.html \
|
||||
deploy/rationale.html \
|
||||
deploy/resources.html \
|
||||
deploy/roadmap.html \
|
||||
deploy/runtime.html \
|
||||
deploy/status.html \
|
||||
deploy/testing.html \
|
||||
deploy/tools.html \
|
||||
deploy/winforms.html
|
||||
#2,Configuration.Install,class-status-System.Configuration.Install.html,class-status-System.Configuration.Install.src,cm/cormissing.css,cm/cormissing.js
|
||||
#2,Runtime.Remoting,class-status-System.Runtime.Remoting.html,class-status-System.Runtime.Remoting.src,cm/cormissing.css,cm/cormissing.js
|
||||
|
||||
# deploy/class-status-System.html \
|
||||
# deploy/class-status-System.Configuration.Install.html \
|
||||
# deploy/class-status-System.Runtime.Remoting.html \
|
||||
|
||||
NON_HTML_SOURCES= \
|
||||
NON_HTML_SOURCES= \
|
||||
../mono-build.sh \
|
||||
../mono-build-w32.sh
|
||||
|
||||
@@ -62,7 +68,7 @@ NON_HTML_SOURCES= \
|
||||
all: $(OBJECTS) deploy/index.rss
|
||||
perl process.pl commands template.html.in deploy
|
||||
|
||||
tutorial: mono-beginning.html.stamp mono-beginning.pdf
|
||||
tutorial: mono-beginning.html.stamp mono-beginning.pdf
|
||||
cp -a mono-beginning mono-beginning.xml mono-beginning.pdf deploy
|
||||
|
||||
mono-beginning.html.stamp: mono-beginning.xml
|
||||
|
||||
@@ -2,10 +2,11 @@
|
||||
<html>
|
||||
<head>
|
||||
<title>#TITLE#</title>
|
||||
<!-- background-image: url("images/bgsquares.gif"); -->
|
||||
<style type="text/css">
|
||||
<!--
|
||||
body { font-family: "trebuchet ms", lucida, verdana, helvetica;
|
||||
background-image: url("images/bgsquares.gif");
|
||||
|
||||
background-attachment: fixed; }
|
||||
body, td, table { font-family: "trebuchet ms", lucida, verdana, helvetica;
|
||||
font-size: 14px; }
|
||||
@@ -27,7 +28,7 @@
|
||||
a.navi2:visited { color: #cccccc; }
|
||||
a.navi2:hover { color: #ee9900; text-decoration: underline; }
|
||||
|
||||
// -->
|
||||
// -->
|
||||
</style>
|
||||
#CSS#
|
||||
#SCRIPT#
|
||||
@@ -38,7 +39,7 @@
|
||||
<tr>
|
||||
<td><img src="images/pixel.gif" alt=""></td><!-- left border -->
|
||||
<td colspan="4">
|
||||
<a href="http://www.go-mono.com"><img src="images/mono.gif"
|
||||
<a href="http://www.go-mono.com"><img src="images/mono-new.gif"
|
||||
alt="mono-logo" border="0"></a></td>
|
||||
<td><img src="images/pixel.gif" alt=""></td><!-- right border -->
|
||||
</tr>
|
||||
|
||||
+25
-17
@@ -1,9 +1,20 @@
|
||||
* System.Windows.Forms
|
||||
|
||||
System.Windows.Forms eventually will support multiple
|
||||
toolkits. Ximian will be delivering a product that will allow
|
||||
for System.Windows.Forms applications to integrate with GNOME
|
||||
through Gtk and MacOS X using Cocoa.
|
||||
System.Windows.Forms is currently being implemented using the
|
||||
Win32 API, we will be using <a
|
||||
href="http://www.winehq.com">WineLib</a> on Unix systems to
|
||||
emulate the Win32 API.
|
||||
|
||||
Although the original plans were to use Gtk on X and Cocoa on
|
||||
MacOS X, it would be very hard to emulate the event model in
|
||||
which some Winforms applications depend, and it would be very
|
||||
hard to implement the Wndproc method.
|
||||
|
||||
In terms of integrating visually with the desktop, we are
|
||||
hoping to contribute to the Wine project an mechanism to make
|
||||
it use the Gtk+ themes on X11 and Cocoa on MacOS to render the
|
||||
widgets, and get the native look and feel on each of these
|
||||
platforms.
|
||||
|
||||
There are no current plans to support embedded devices, but
|
||||
Gtk/FrameBuffer is an option. If you have suggestions or
|
||||
@@ -12,19 +23,15 @@
|
||||
|
||||
* Contributing
|
||||
|
||||
Currently Ximian developers are busy making our JIT engine
|
||||
feature complete, and dealing with the low-level details of
|
||||
the Mono runtime.
|
||||
|
||||
If you are interested in contributing, you can start stubbing
|
||||
out classes and providing enumerations. That will help us
|
||||
significantly when we start working on the actual bindings.
|
||||
|
||||
Christian Meyer is currently organizing this effort.
|
||||
The Winforms effort is being coordinated by <a
|
||||
href="mailto:[email protected]">Dennis Hayes</a>. If you are
|
||||
interested in helping out with this effort, get in touch with
|
||||
him.
|
||||
|
||||
* System.Drawing
|
||||
|
||||
Using existing libraries to implement some of the functionality required
|
||||
Using existing libraries to implement some of the
|
||||
functionality required:
|
||||
|
||||
<ul>
|
||||
* gdk-pixbuf is a generic image loader that loads an image
|
||||
@@ -75,12 +82,13 @@
|
||||
MacOS
|
||||
System.Drawing.Blah
|
||||
MacOS ports of "System.Drawing.Blah"
|
||||
Win32
|
||||
WineLIB
|
||||
System.Drawing.Blah
|
||||
Win32 ports of "System.Drawing.Blah"
|
||||
|
||||
Then we use nant targets to include/exclude the right set of
|
||||
files to create the assembly.
|
||||
Notice that there is a proof of concept Gtk-backend for
|
||||
Windows.Forms, but nobody is working on it, and for the
|
||||
reasons stated before it is not a long term strategy.
|
||||
|
||||
* Open questions:
|
||||
|
||||
|
||||
+1
-1
@@ -1,3 +1,3 @@
|
||||
EXTRA_DIST = gc-issues jit-thoughts object-layout unmanaged-calls \
|
||||
exceptions jit-trampolines stack-alignment
|
||||
exceptions jit-trampolines stack-alignment embedded-api
|
||||
|
||||
@@ -0,0 +1,227 @@
|
||||
|
||||
Embedding the Mono runtime, preliminary version
|
||||
|
||||
Miguel de Icaza, Paolo Molaro.
|
||||
|
||||
This document describes how to embed the Mono runtime in your
|
||||
application, and how to invoke CIL methods from C, and how to
|
||||
invoke C code from CIL.
|
||||
|
||||
* Embedding the runtime.
|
||||
|
||||
Embedding the runtime consists of various steps:
|
||||
|
||||
* Compiling and linking the Mono runtime
|
||||
|
||||
* Initializing the Mono runtime
|
||||
|
||||
* Optionally expose C code to the C#/CIL universe.
|
||||
|
||||
These are discussed in detail next.
|
||||
|
||||
** Compiling and Linking
|
||||
|
||||
To embed the runtime, you have to link your code against the
|
||||
Mono runtime libraries. To do this, you want to pass the
|
||||
flags returned by pkg-config to your compiler:
|
||||
|
||||
pkg-config --cflags --libs mono
|
||||
|
||||
Like this:
|
||||
|
||||
gcc sample.c `pkg-config --cflags --libs mono`
|
||||
|
||||
You can separate the compilation flags from the linking flags, for
|
||||
instance, you can use the following macros in your makefile:
|
||||
|
||||
CFLAGS=`pkg-config --cflags mono`
|
||||
LDFLAGS=`pkg-config --libs mono`
|
||||
|
||||
** Initializing the Mono runtime
|
||||
|
||||
To initialize the runtime, call mono_jit_init, like this:
|
||||
|
||||
MonoDomain *domain;
|
||||
|
||||
domain = mono_jit_init ("domain-name");
|
||||
|
||||
That will return a MonoDomain where your code will be
|
||||
executed. You can create multiple domains. Each domain is
|
||||
isolated from the other domains and code in one domain will
|
||||
not interfere with code in other domains. This is useful if
|
||||
you want to host different applications in your program.
|
||||
|
||||
Then you can load an assembly containing code into the domain:
|
||||
|
||||
MonoAssembly *assembly;
|
||||
|
||||
assembly = mono_domain_assembly_open ("file.dll");
|
||||
if (!assembly)
|
||||
error ();
|
||||
|
||||
In the above example, the contents of `file.dll' will be
|
||||
loaded into the domain. This only loads the code, but it will
|
||||
not execute anything yet. You can replace `file.dll' with
|
||||
another transport file, like `file.exe'
|
||||
|
||||
To start executing code, you must invoke a method in the
|
||||
assembly, or if you have provided a static Main method (an
|
||||
entry point), you can use the convenience function:
|
||||
|
||||
retval = mono_jit_exec (domain, assembly, argc - 1, argv + 1);
|
||||
|
||||
If you want to invoke a different method, look at the
|
||||
`Invoking Methods in the CIL universe' section later on.
|
||||
|
||||
** Shutting down the runtime
|
||||
|
||||
To shutdown the Mono runtime, you have to clean up all the
|
||||
domains that were created, use this function:
|
||||
|
||||
mono_jit_cleanup (domain);
|
||||
|
||||
* Exposing C code to the CIL universe
|
||||
|
||||
The Mono runtime provides two mechanisms to expose C code to
|
||||
the CIL universe: internal calls and native C code. Internal
|
||||
calls are tightly integrated with the runtime, and have the
|
||||
least overhead, as they use the same data types that the
|
||||
runtime uses.
|
||||
|
||||
The other option is to use the Platform Invoke (P/Invoke) to
|
||||
call C code from the CIL universe, using the standard P/Invoke
|
||||
mechanisms.
|
||||
|
||||
To register an internal call, use this call in the C code:
|
||||
|
||||
mono_add_internal_call ("Hello::Sample", sample);
|
||||
|
||||
Now, you need to declare this on the C# side:
|
||||
|
||||
using System;
|
||||
using System.Runtime.CompilerServices;
|
||||
|
||||
class Hello {
|
||||
[MethodImplAttribute(MethodImplOptions.InternalCall)]
|
||||
extern static string Sample ();
|
||||
}
|
||||
|
||||
Since this routine returns a string, here is the C definition:
|
||||
|
||||
static MonoString*
|
||||
Sample ()
|
||||
{
|
||||
return mono_string_new (mono_domain_get (), "Hello!");
|
||||
}
|
||||
|
||||
Notice that we have to return a `MonoString', and we use the
|
||||
`mono_string_new' API call to obtain this from a string.
|
||||
|
||||
* Invoking Methods in the CIL universe
|
||||
|
||||
Calling a method in the CIL universe from C requires a number of steps:
|
||||
|
||||
* Obtaining the MonoMethod handle to the method.
|
||||
|
||||
* The method invocation.
|
||||
|
||||
** Obtaining a MonoMethod
|
||||
|
||||
To get a MonoMethod there are several ways.
|
||||
|
||||
You can get a MonoClass (the structure representing a type)
|
||||
using:
|
||||
|
||||
MonoClass *
|
||||
mono_class_from_name (MonoImage *image, const char* name_space, const char *name);
|
||||
|
||||
and then loop in the returned class method array until you get
|
||||
the one you're looking for. There are examples of such
|
||||
searches as static functions in several C files in
|
||||
metadata/*.c: we need to expose one through the API and remove
|
||||
the duplicates.
|
||||
|
||||
The other, simpler, way is to use the functions in
|
||||
debug-helpers.h: there are examples of their use in monograph,
|
||||
mint and the jit as well. You basically use a string
|
||||
description of the method, like:
|
||||
|
||||
"System.Object:GetHashCode()"
|
||||
|
||||
and create a MonoMethodDesc out of it with:
|
||||
|
||||
MonoMethodDesc* mono_method_desc_new (const char *name, gboolean include_namespace);
|
||||
|
||||
You can then use:
|
||||
|
||||
MonoMethod* mono_method_desc_search_in_class (MonoMethodDesc *desc, MonoClass *klass);
|
||||
MonoMethod* mono_method_desc_search_in_image (MonoMethodDesc *desc, MonoImage *image);
|
||||
|
||||
to search for the method in a class or in an image. You would
|
||||
tipically do this just once at the start of the program and
|
||||
store the result for reuse somewhere.
|
||||
|
||||
** Invoking a Method
|
||||
|
||||
There are two functions to call a managed method:
|
||||
|
||||
MonoObject*
|
||||
mono_runtime_invoke (MonoMethod *method, void *obj, void **params,
|
||||
MonoObject **exc);
|
||||
and
|
||||
MonoObject*
|
||||
mono_runtime_invoke_array (MonoMethod *method, void *obj, MonoArray *params,
|
||||
MonoObject **exc);
|
||||
|
||||
obj is the 'this' pointer, it should be NULL for static
|
||||
methods, a MonoObject* for object instances and a pointer to
|
||||
the value type for value types.
|
||||
|
||||
The params array contains the arguments to the method with the
|
||||
same convention: MonoObject* pointers for object instances and
|
||||
pointers to the value type otherwise. The _invoke_array
|
||||
variant takes a C# object[] as the params argument (MonoArray
|
||||
*params): in this case the value types are boxed inside the
|
||||
respective reference representation.
|
||||
|
||||
From unmanaged code you'll usually use the
|
||||
mono_runtime_invoke() variant.
|
||||
|
||||
Note that this function doesn't handle virtual methods for
|
||||
you, it will exec the exact method you pass: we still need to
|
||||
expose a function to lookup the derived class implementation
|
||||
of a virtual method (there are examples of this in the code,
|
||||
though).
|
||||
|
||||
You can pass NULL as the exc argument if you don't want to
|
||||
catch exceptions, otherwise, *exc will be set to the exception
|
||||
thrown, if any. if an exception is thrown, you can't use the
|
||||
MonoObject* result from the function.
|
||||
|
||||
If the method returns a value type, it is boxed in an object
|
||||
reference.
|
||||
|
||||
We have plans for providing an additional method that returns
|
||||
an unmanaged->managed thunk like this:
|
||||
|
||||
void* mono_method_get_unmanaged_thunk (MonoMethod *method);
|
||||
|
||||
You'll be able to store the returned pointer in a function
|
||||
pointer with the proper signature and call that directly from
|
||||
C:
|
||||
|
||||
typedef gint32 (*GetHashCode) (MonoObject *obj);
|
||||
|
||||
GetHashCode func = mono_method_get_unmanaged_thunk (System_Object_GetHashCode_method);
|
||||
|
||||
gint32 hashvalue = func (myobject);
|
||||
|
||||
It may not be possible to manage exceptions in that case,
|
||||
though. I need to think more about it.
|
||||
|
||||
* Samples
|
||||
|
||||
See the sample programs inmono/sample/embed for examples of
|
||||
embedding the Mono runtime in your application.
|
||||
|
||||
|
||||
@@ -0,0 +1,26 @@
|
||||
Runtime support for Remoting
|
||||
============================
|
||||
|
||||
The runtime supports a special objects called "TransparentProxy". You can
|
||||
create objects of this type by calling GetTransparentProxy() on a "RealProxy"
|
||||
object.
|
||||
|
||||
LDFLD/STFLD for transparent proxies
|
||||
===================================
|
||||
|
||||
Access to fields must be redirected to the remote object. System.Object has
|
||||
some special methods for that:
|
||||
|
||||
void FieldGetter (string typeName, string fieldName, ref object val);
|
||||
|
||||
void FieldSetter (string typeName, string fieldName, object val);
|
||||
|
||||
This methods are never called on actual object. The are only used to pack
|
||||
LDFLD/STFLD operations into method call messages, which are then passed to the
|
||||
RealProxy::Invoke() method.
|
||||
|
||||
There are two helper methods which can be used by the JIT and the interpreter
|
||||
to convert LDFLD/STFLD operations into messages and then call
|
||||
RealProxy::Invoke(): mono_store_remote_field() and mono_load_remote_field().
|
||||
|
||||
|
||||
@@ -11,6 +11,13 @@ compiler, and a set of source files. Extra options or arguments can
|
||||
be provided in a response file. Response files are referenced by
|
||||
prepending the @ symbol to the response file name.
|
||||
.PP
|
||||
The Mono C# compiler accepts the same options than the Microsoft C#
|
||||
compiler does. Those options can start with a slash or a dash
|
||||
(/checked is the same as -checked). Additionally to this, the
|
||||
GNU-like options are supported, those begin with "--". All
|
||||
MCS-specific flags which are not available in the Microsoft C#
|
||||
compiler are available only with the GNU-style options.
|
||||
.PP
|
||||
C# source files must end with a ".cs" extension. Compilation of C#
|
||||
source code requires all the files that make up a library, module or
|
||||
executable to be provided on the command line. There is no support
|
||||
@@ -29,17 +36,38 @@ Executables are not bound to a specific CPU or operating system.
|
||||
.I \-\-about
|
||||
Displays information about the Mono C# compiler
|
||||
.TP
|
||||
.I \-\-checked
|
||||
.I -checked, -checked+
|
||||
Sets the default compilation mode to `checked'. This makes all
|
||||
the math operations checked (the default is unchecked).
|
||||
.TP
|
||||
.I \-\-define SYMBOL
|
||||
Defines a symbol named SYMBOL. This can be tested in the source code
|
||||
by the pre-processor.
|
||||
.I -checked-
|
||||
Sets the default compilation mode to `unchecked'. This makes all
|
||||
the math operations unchecked (this is the default).
|
||||
.TP
|
||||
.I \-\-debug or \-g
|
||||
.I -codepage:ID
|
||||
Specifies the code page used to process the input files from the
|
||||
point it is specified on. By default files will be processed in the
|
||||
Latin-1 code page. The compiler will also automatically detect
|
||||
Unicode files that have an embedded byte mark at the beginning. The
|
||||
special ID "utf8" can be used to switch to utf8 and the ID "reset"
|
||||
restores the automatic handling of code pages.
|
||||
.TP
|
||||
.I \-define:SYMLIST, -d:SYMLIST
|
||||
Defines the symbol listed by the semi-colon separeted list SYMLIST
|
||||
SYMBOL. This can be tested in the source code by the pre-processor,
|
||||
or can be used by methods that have been tagged with the Conditional
|
||||
attribute.
|
||||
.TP
|
||||
.I \-debug, \-debug+, \-g
|
||||
Generate debugging information.
|
||||
.TP
|
||||
.I \-debug-
|
||||
Do not generate debugging information.
|
||||
.TP
|
||||
.I \-\-expect-error X L
|
||||
The compiler will expect the code to generate an error
|
||||
named `X' in line `L'. This is only used by the test suite.
|
||||
.TP
|
||||
.I \-\-fatal
|
||||
This is used for debugging the compiler. This makes the error emission
|
||||
generate an exception that can be caught by a debugger.
|
||||
@@ -48,49 +76,50 @@ generate an exception that can be caught by a debugger.
|
||||
Generates a stack trace at the time the error is reported, useful for
|
||||
debugging the compiler.
|
||||
.TP
|
||||
.I -lib:PATHLIST
|
||||
Each path specified in the comma-separated list will direct the
|
||||
compiler to look for libraries in that specified path.
|
||||
.TP
|
||||
.I \-L PATH
|
||||
Directs the compiler to look for libraries in the specified path.
|
||||
Multiple paths can be provided.
|
||||
Multiple paths can be provided by using the option multiple times.
|
||||
.TP
|
||||
.I \-\-nostdlib
|
||||
.I \-nostdlib, -nostdlib+
|
||||
Use this flag if you want to compile the core library. This makes the
|
||||
compiler load its internal types from the assembly being compiled.
|
||||
.TP
|
||||
.I \-\-noconfig
|
||||
.I \-noconfig, \-noconfig+
|
||||
Disables the default compiler configuration to be loaded. The
|
||||
compiler by default has references to the system assemblies.
|
||||
.TP
|
||||
.I \-\-nowarn XXX
|
||||
Makes the compiler ignore warning XXX.
|
||||
.I \-nowarn:WARNLIST
|
||||
Makes the compiler ignore warnings specified in the comma-separeted
|
||||
list WARNLIST>
|
||||
.TP
|
||||
.I \-o FNAME
|
||||
.I -out:FNAME, -o FNAME
|
||||
Names the output file to be generated.
|
||||
.TP
|
||||
.I \-\-optimize
|
||||
Turns on optimizations in the compiler.
|
||||
.TP
|
||||
.I \-\-parse
|
||||
Used for benchmarking. The compiler will only parse its input files.
|
||||
.TP
|
||||
.I \-\-probe X L
|
||||
Probes for the code to generate an error named `X' in line `L'. This
|
||||
is only used by the test suite.
|
||||
.TP
|
||||
.I /linkres:RESOURCE
|
||||
Links to the given resources
|
||||
.I /resource:RESOURCE[,ID]
|
||||
Embeds to the given resource file. The optional ID can be used to
|
||||
give a different name to the resource. If not specified, the resource
|
||||
name will be the file name.
|
||||
.TP
|
||||
.I \-\-recurse PATTERN
|
||||
.I /linkresource:RESOURCE[,ID]
|
||||
Links to the specified RESOURCE. The optional ID can be used to give
|
||||
a name to the linked resource.
|
||||
.TP
|
||||
.I \-recurse:PATTERN, --recurse PATTERN
|
||||
Does recursive compilation using the specified pattern. In Unix the
|
||||
shell will perform globbing, so you migth want to use it like this:
|
||||
.PP
|
||||
.nf
|
||||
bash$ mcs --recurse '*.cs'
|
||||
bash$ mcs -recurse:'*.cs'
|
||||
.fi
|
||||
.TP
|
||||
.I \-\-linkres FILE
|
||||
Links FILE as a resource of the resulting assembly.
|
||||
.TP
|
||||
.I \-\-target KIND
|
||||
.I \-target:KIND, \-t:KIND
|
||||
Used to specify the desired target. The possible values are: exe,
|
||||
winexe, library and module.
|
||||
.TP
|
||||
@@ -98,17 +127,17 @@ winexe, library and module.
|
||||
Another debugging flag. Used to display the times at various points
|
||||
in the compilation process.
|
||||
.TP
|
||||
.I \-\-unsafe
|
||||
.I \-unsafe, -unsafe+
|
||||
Enables compilation of unsafe code.
|
||||
.TP
|
||||
.I \-\-werror
|
||||
.I \-warnaserror, \-warnaserror+
|
||||
Treat warnings as errors.
|
||||
.TP
|
||||
.I \-\-wlevel LEVEL
|
||||
.I \-warn:LEVEL
|
||||
Sets the warning level. 0 is the lowest warning level, and 4 is the
|
||||
highest. The default is 2.
|
||||
.TP
|
||||
.I \-r ASSEMBLY
|
||||
.I -r:ASSEMBLY, \-r ASSEMBLY
|
||||
Reference the named assembly. Use this to use classes from the named
|
||||
assembly in your program. The assembly will be loaded from either the
|
||||
system directory where all the assemblies live, or from the path
|
||||
@@ -156,8 +185,8 @@ During compilation the MCS compiler defines the __MonoCS__ symbol,
|
||||
this can be used by pre-processor instructions to compile Mono C#
|
||||
compiler specific code.
|
||||
.SH AUTHORS
|
||||
The Mono C# Compiler was written by Miguel de Icaza and Ravi Pratap at
|
||||
Ximian.
|
||||
The Mono C# Compiler was written by Miguel de Icaza, Ravi Pratap and
|
||||
Martin Baulig at Ximian.
|
||||
.PP
|
||||
.SH LICENSE
|
||||
The Mono Compiler Suite is released under the terms of the GNU GPL.
|
||||
|
||||
+10
-10
@@ -77,7 +77,8 @@ See DEBUGGING FORMATS for details.
|
||||
.TP
|
||||
.I "--break method"
|
||||
Inserts a breakpoint before the method whose name is `method'
|
||||
(namespace.class:methodname).
|
||||
(namespace.class:methodname). Use `Main' as method name to insert a breakpoint on the
|
||||
application's main method.
|
||||
.TP
|
||||
.I "--precompile name"
|
||||
Compiles the given class (namespace.name), method (namespace.name:methodname)
|
||||
@@ -95,12 +96,9 @@ Writes out stabs debug information.
|
||||
.I "dwarf"
|
||||
Writes out dwarf debug information.
|
||||
.TP
|
||||
.I "dwarf-plus"
|
||||
Uses an extended debugging information file which has been generated
|
||||
by MCS. This extended debugging information will allow you to debug
|
||||
C# source code rather than IL code. To use it, just run the JIT in
|
||||
your debugger and call "mono_debug_make_symbols" each time the program
|
||||
stops.
|
||||
.I "mono"
|
||||
Use a symbol file which has been created by MCS. It can be used to get
|
||||
source lines in stack traces.
|
||||
.PP
|
||||
The "stabs" and "dwarf" formats support the following options:
|
||||
.TP
|
||||
@@ -130,10 +128,12 @@ behaviour.
|
||||
Update the *.il files if their assemblies have changed, but only if the
|
||||
file already exists.
|
||||
.PP
|
||||
The "dwarf-plus" format supports the following options:
|
||||
.SH ENVIRONMENT VARIABLES
|
||||
.TP
|
||||
.I "dont_fallback"
|
||||
Don't fallback to normal dwarf2 if the symbol file cannot be found.
|
||||
.I "MONO_PATH"
|
||||
Provides a search path to mono and mint where to look for library files.
|
||||
Directories are separated by the platform path separator (colons on unix). Example:
|
||||
.B /home/username/lib:/usr/local/mono/lib
|
||||
.PP
|
||||
.SH FILES
|
||||
On Unix assemblies are loaded from the installation lib directory. If you set
|
||||
|
||||
Executable
+340
@@ -0,0 +1,340 @@
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
Version 2, June 1991
|
||||
|
||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||
59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
Everyone is permitted to copy and distribute verbatim copies
|
||||
of this license document, but changing it is not allowed.
|
||||
|
||||
Preamble
|
||||
|
||||
The licenses for most software are designed to take away your
|
||||
freedom to share and change it. By contrast, the GNU General Public
|
||||
License is intended to guarantee your freedom to share and change free
|
||||
software--to make sure the software is free for all its users. This
|
||||
General Public License applies to most of the Free Software
|
||||
Foundation's software and to any other program whose authors commit to
|
||||
using it. (Some other Free Software Foundation software is covered by
|
||||
the GNU Library General Public License instead.) You can apply it to
|
||||
your programs, too.
|
||||
|
||||
When we speak of free software, we are referring to freedom, not
|
||||
price. Our General Public Licenses are designed to make sure that you
|
||||
have the freedom to distribute copies of free software (and charge for
|
||||
this service if you wish), that you receive source code or can get it
|
||||
if you want it, that you can change the software or use pieces of it
|
||||
in new free programs; and that you know you can do these things.
|
||||
|
||||
To protect your rights, we need to make restrictions that forbid
|
||||
anyone to deny you these rights or to ask you to surrender the rights.
|
||||
These restrictions translate to certain responsibilities for you if you
|
||||
distribute copies of the software, or if you modify it.
|
||||
|
||||
For example, if you distribute copies of such a program, whether
|
||||
gratis or for a fee, you must give the recipients all the rights that
|
||||
you have. You must make sure that they, too, receive or can get the
|
||||
source code. And you must show them these terms so they know their
|
||||
rights.
|
||||
|
||||
We protect your rights with two steps: (1) copyright the software, and
|
||||
(2) offer you this license which gives you legal permission to copy,
|
||||
distribute and/or modify the software.
|
||||
|
||||
Also, for each author's protection and ours, we want to make certain
|
||||
that everyone understands that there is no warranty for this free
|
||||
software. If the software is modified by someone else and passed on, we
|
||||
want its recipients to know that what they have is not the original, so
|
||||
that any problems introduced by others will not reflect on the original
|
||||
authors' reputations.
|
||||
|
||||
Finally, any free program is threatened constantly by software
|
||||
patents. We wish to avoid the danger that redistributors of a free
|
||||
program will individually obtain patent licenses, in effect making the
|
||||
program proprietary. To prevent this, we have made it clear that any
|
||||
patent must be licensed for everyone's free use or not licensed at all.
|
||||
|
||||
The precise terms and conditions for copying, distribution and
|
||||
modification follow.
|
||||
|
||||
GNU GENERAL PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. This License applies to any program or other work which contains
|
||||
a notice placed by the copyright holder saying it may be distributed
|
||||
under the terms of this General Public License. The "Program", below,
|
||||
refers to any such program or work, and a "work based on the Program"
|
||||
means either the Program or any derivative work under copyright law:
|
||||
that is to say, a work containing the Program or a portion of it,
|
||||
either verbatim or with modifications and/or translated into another
|
||||
language. (Hereinafter, translation is included without limitation in
|
||||
the term "modification".) Each licensee is addressed as "you".
|
||||
|
||||
Activities other than copying, distribution and modification are not
|
||||
covered by this License; they are outside its scope. The act of
|
||||
running the Program is not restricted, and the output from the Program
|
||||
is covered only if its contents constitute a work based on the
|
||||
Program (independent of having been made by running the Program).
|
||||
Whether that is true depends on what the Program does.
|
||||
|
||||
1. You may copy and distribute verbatim copies of the Program's
|
||||
source code as you receive it, in any medium, provided that you
|
||||
conspicuously and appropriately publish on each copy an appropriate
|
||||
copyright notice and disclaimer of warranty; keep intact all the
|
||||
notices that refer to this License and to the absence of any warranty;
|
||||
and give any other recipients of the Program a copy of this License
|
||||
along with the Program.
|
||||
|
||||
You may charge a fee for the physical act of transferring a copy, and
|
||||
you may at your option offer warranty protection in exchange for a fee.
|
||||
|
||||
2. You may modify your copy or copies of the Program or any portion
|
||||
of it, thus forming a work based on the Program, and copy and
|
||||
distribute such modifications or work under the terms of Section 1
|
||||
above, provided that you also meet all of these conditions:
|
||||
|
||||
a) You must cause the modified files to carry prominent notices
|
||||
stating that you changed the files and the date of any change.
|
||||
|
||||
b) You must cause any work that you distribute or publish, that in
|
||||
whole or in part contains or is derived from the Program or any
|
||||
part thereof, to be licensed as a whole at no charge to all third
|
||||
parties under the terms of this License.
|
||||
|
||||
c) If the modified program normally reads commands interactively
|
||||
when run, you must cause it, when started running for such
|
||||
interactive use in the most ordinary way, to print or display an
|
||||
announcement including an appropriate copyright notice and a
|
||||
notice that there is no warranty (or else, saying that you provide
|
||||
a warranty) and that users may redistribute the program under
|
||||
these conditions, and telling the user how to view a copy of this
|
||||
License. (Exception: if the Program itself is interactive but
|
||||
does not normally print such an announcement, your work based on
|
||||
the Program is not required to print an announcement.)
|
||||
|
||||
These requirements apply to the modified work as a whole. If
|
||||
identifiable sections of that work are not derived from the Program,
|
||||
and can be reasonably considered independent and separate works in
|
||||
themselves, then this License, and its terms, do not apply to those
|
||||
sections when you distribute them as separate works. But when you
|
||||
distribute the same sections as part of a whole which is a work based
|
||||
on the Program, the distribution of the whole must be on the terms of
|
||||
this License, whose permissions for other licensees extend to the
|
||||
entire whole, and thus to each and every part regardless of who wrote it.
|
||||
|
||||
Thus, it is not the intent of this section to claim rights or contest
|
||||
your rights to work written entirely by you; rather, the intent is to
|
||||
exercise the right to control the distribution of derivative or
|
||||
collective works based on the Program.
|
||||
|
||||
In addition, mere aggregation of another work not based on the Program
|
||||
with the Program (or with a work based on the Program) on a volume of
|
||||
a storage or distribution medium does not bring the other work under
|
||||
the scope of this License.
|
||||
|
||||
3. You may copy and distribute the Program (or a work based on it,
|
||||
under Section 2) in object code or executable form under the terms of
|
||||
Sections 1 and 2 above provided that you also do one of the following:
|
||||
|
||||
a) Accompany it with the complete corresponding machine-readable
|
||||
source code, which must be distributed under the terms of Sections
|
||||
1 and 2 above on a medium customarily used for software interchange; or,
|
||||
|
||||
b) Accompany it with a written offer, valid for at least three
|
||||
years, to give any third party, for a charge no more than your
|
||||
cost of physically performing source distribution, a complete
|
||||
machine-readable copy of the corresponding source code, to be
|
||||
distributed under the terms of Sections 1 and 2 above on a medium
|
||||
customarily used for software interchange; or,
|
||||
|
||||
c) Accompany it with the information you received as to the offer
|
||||
to distribute corresponding source code. (This alternative is
|
||||
allowed only for noncommercial distribution and only if you
|
||||
received the program in object code or executable form with such
|
||||
an offer, in accord with Subsection b above.)
|
||||
|
||||
The source code for a work means the preferred form of the work for
|
||||
making modifications to it. For an executable work, complete source
|
||||
code means all the source code for all modules it contains, plus any
|
||||
associated interface definition files, plus the scripts used to
|
||||
control compilation and installation of the executable. However, as a
|
||||
special exception, the source code distributed need not include
|
||||
anything that is normally distributed (in either source or binary
|
||||
form) with the major components (compiler, kernel, and so on) of the
|
||||
operating system on which the executable runs, unless that component
|
||||
itself accompanies the executable.
|
||||
|
||||
If distribution of executable or object code is made by offering
|
||||
access to copy from a designated place, then offering equivalent
|
||||
access to copy the source code from the same place counts as
|
||||
distribution of the source code, even though third parties are not
|
||||
compelled to copy the source along with the object code.
|
||||
|
||||
4. You may not copy, modify, sublicense, or distribute the Program
|
||||
except as expressly provided under this License. Any attempt
|
||||
otherwise to copy, modify, sublicense or distribute the Program is
|
||||
void, and will automatically terminate your rights under this License.
|
||||
However, parties who have received copies, or rights, from you under
|
||||
this License will not have their licenses terminated so long as such
|
||||
parties remain in full compliance.
|
||||
|
||||
5. You are not required to accept this License, since you have not
|
||||
signed it. However, nothing else grants you permission to modify or
|
||||
distribute the Program or its derivative works. These actions are
|
||||
prohibited by law if you do not accept this License. Therefore, by
|
||||
modifying or distributing the Program (or any work based on the
|
||||
Program), you indicate your acceptance of this License to do so, and
|
||||
all its terms and conditions for copying, distributing or modifying
|
||||
the Program or works based on it.
|
||||
|
||||
6. Each time you redistribute the Program (or any work based on the
|
||||
Program), the recipient automatically receives a license from the
|
||||
original licensor to copy, distribute or modify the Program subject to
|
||||
these terms and conditions. You may not impose any further
|
||||
restrictions on the recipients' exercise of the rights granted herein.
|
||||
You are not responsible for enforcing compliance by third parties to
|
||||
this License.
|
||||
|
||||
7. If, as a consequence of a court judgment or allegation of patent
|
||||
infringement or for any other reason (not limited to patent issues),
|
||||
conditions are imposed on you (whether by court order, agreement or
|
||||
otherwise) that contradict the conditions of this License, they do not
|
||||
excuse you from the conditions of this License. If you cannot
|
||||
distribute so as to satisfy simultaneously your obligations under this
|
||||
License and any other pertinent obligations, then as a consequence you
|
||||
may not distribute the Program at all. For example, if a patent
|
||||
license would not permit royalty-free redistribution of the Program by
|
||||
all those who receive copies directly or indirectly through you, then
|
||||
the only way you could satisfy both it and this License would be to
|
||||
refrain entirely from distribution of the Program.
|
||||
|
||||
If any portion of this section is held invalid or unenforceable under
|
||||
any particular circumstance, the balance of the section is intended to
|
||||
apply and the section as a whole is intended to apply in other
|
||||
circumstances.
|
||||
|
||||
It is not the purpose of this section to induce you to infringe any
|
||||
patents or other property right claims or to contest validity of any
|
||||
such claims; this section has the sole purpose of protecting the
|
||||
integrity of the free software distribution system, which is
|
||||
implemented by public license practices. Many people have made
|
||||
generous contributions to the wide range of software distributed
|
||||
through that system in reliance on consistent application of that
|
||||
system; it is up to the author/donor to decide if he or she is willing
|
||||
to distribute software through any other system and a licensee cannot
|
||||
impose that choice.
|
||||
|
||||
This section is intended to make thoroughly clear what is believed to
|
||||
be a consequence of the rest of this License.
|
||||
|
||||
8. If the distribution and/or use of the Program is restricted in
|
||||
certain countries either by patents or by copyrighted interfaces, the
|
||||
original copyright holder who places the Program under this License
|
||||
may add an explicit geographical distribution limitation excluding
|
||||
those countries, so that distribution is permitted only in or among
|
||||
countries not thus excluded. In such case, this License incorporates
|
||||
the limitation as if written in the body of this License.
|
||||
|
||||
9. The Free Software Foundation may publish revised and/or new versions
|
||||
of the General Public License from time to time. Such new versions will
|
||||
be similar in spirit to the present version, but may differ in detail to
|
||||
address new problems or concerns.
|
||||
|
||||
Each version is given a distinguishing version number. If the Program
|
||||
specifies a version number of this License which applies to it and "any
|
||||
later version", you have the option of following the terms and conditions
|
||||
either of that version or of any later version published by the Free
|
||||
Software Foundation. If the Program does not specify a version number of
|
||||
this License, you may choose any version ever published by the Free Software
|
||||
Foundation.
|
||||
|
||||
10. If you wish to incorporate parts of the Program into other free
|
||||
programs whose distribution conditions are different, write to the author
|
||||
to ask for permission. For software which is copyrighted by the Free
|
||||
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||
make exceptions for this. Our decision will be guided by the two goals
|
||||
of preserving the free status of all derivatives of our free software and
|
||||
of promoting the sharing and reuse of software generally.
|
||||
|
||||
NO WARRANTY
|
||||
|
||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||
REPAIR OR CORRECTION.
|
||||
|
||||
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||
POSSIBILITY OF SUCH DAMAGES.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
How to Apply These Terms to Your New Programs
|
||||
|
||||
If you develop a new program, and you want it to be of the greatest
|
||||
possible use to the public, the best way to achieve this is to make it
|
||||
free software which everyone can redistribute and change under these terms.
|
||||
|
||||
To do so, attach the following notices to the program. It is safest
|
||||
to attach them to the start of each source file to most effectively
|
||||
convey the exclusion of warranty; and each file should have at least
|
||||
the "copyright" line and a pointer to where the full notice is found.
|
||||
|
||||
<one line to give the program's name and a brief idea of what it does.>
|
||||
Copyright (C) <year> <name of author>
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation; either version 2 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
|
||||
Also add information on how to contact you by electronic and paper mail.
|
||||
|
||||
If the program is interactive, make it output a short notice like this
|
||||
when it starts in an interactive mode:
|
||||
|
||||
Gnomovision version 69, Copyright (C) year name of author
|
||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||
This is free software, and you are welcome to redistribute it
|
||||
under certain conditions; type `show c' for details.
|
||||
|
||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||
parts of the General Public License. Of course, the commands you use may
|
||||
be called something other than `show w' and `show c'; they could even be
|
||||
mouse-clicks or menu items--whatever suits your program.
|
||||
|
||||
You should also get your employer (if you work as a programmer) or your
|
||||
school, if any, to sign a "copyright disclaimer" for the program, if
|
||||
necessary. Here is a sample; alter the names:
|
||||
|
||||
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
||||
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
||||
|
||||
<signature of Ty Coon>, 1 April 1989
|
||||
Ty Coon, President of Vice
|
||||
|
||||
This General Public License does not permit incorporating your program into
|
||||
proprietary programs. If your program is a subroutine library, you may
|
||||
consider it more useful to permit linking proprietary applications with the
|
||||
library. If this is what you want to do, use the GNU Library General
|
||||
Public License instead of this License.
|
||||
@@ -1,3 +1,63 @@
|
||||
2002-09-14 Piers Haken <[email protected]>
|
||||
|
||||
* */makefile.gnu:
|
||||
use $(topdir)
|
||||
build nunit into $(topdir)/class/lib
|
||||
|
||||
2002-08-27 Gonzalo Paniagua Javier <[email protected]>
|
||||
|
||||
* makefile.gnu:
|
||||
* class/library.make:
|
||||
* class/makefile.gnu:
|
||||
* class/I18N/makefile.gnu
|
||||
* class/corlib/makefile.gnu:
|
||||
* class/corlib/Test/ChangeLog:
|
||||
* class/corlib/Test/corlib_linux_test.args:
|
||||
* class/corlib/Test/makefile.gnu:
|
||||
* class/corlib/Test/run_test.sh:
|
||||
* jay/makefile.gnu:
|
||||
* mcs/makefile.gnu:
|
||||
* monoresgen/makefile.gnu:
|
||||
* nunit/makefile.gnu:
|
||||
|
||||
Allow running 'make -f makefile.gnu test' from top directory.
|
||||
In the libraries makefile.gnu you just have to add TEST_DIR=dirname
|
||||
with the name where tests reside.
|
||||
|
||||
2002-08-23 Martin Baulig <[email protected]>
|
||||
|
||||
* class/makefile.gnu: Add class/Mono.CSharp.Debugger to the build.
|
||||
|
||||
2002-08-13 Piers Haken <[email protected]>
|
||||
|
||||
* class/library.make: merge back original makefile.gnu behavior
|
||||
* */makefile.gnu: merge back original makefile.gnu behavior
|
||||
|
||||
2002-08-12 Piers Haken <[email protected]>
|
||||
|
||||
* class/library.make: use 'find' to specify source files, instead of static files
|
||||
* */makefile.gnu: specify include/exclude patterns for source files
|
||||
|
||||
2002-08-07 Peter Williams <[email protected]>
|
||||
|
||||
* class/library.make (.makefrag): Fix this rule a bit; was using
|
||||
$^ instead of $<
|
||||
|
||||
2002-07-29 Peter Williams <[email protected]>
|
||||
|
||||
* makefile.gnu: 'make install' wasn't actually working due to $@,
|
||||
fix it.
|
||||
|
||||
2002-07-29 Martin Baulig <[email protected]>
|
||||
|
||||
* makefile.gnu: Don't force people to install. The default must also
|
||||
be `all' and not `install'.
|
||||
|
||||
2002-07-26 Alp Toker <[email protected]>
|
||||
|
||||
* INSTALL: Wrote a guide to mcs installation.
|
||||
* README: Updated to reflect the new INSTALL guide.
|
||||
|
||||
2002-07-23 Alp Toker <[email protected]>
|
||||
|
||||
* makefile.gnu: Added an install target (which sets permissions and
|
||||
|
||||
+53
@@ -0,0 +1,53 @@
|
||||
Basic Installation
|
||||
==================
|
||||
|
||||
The Mono project has developed mono, an x86-specific CL JIT compiler and
|
||||
mint, a portable CLI interpreter. The build process of each of these
|
||||
depends on nothing more than a C compiler, glib2 and libgc.
|
||||
|
||||
However, to provide a working runtime environment, these programs must
|
||||
be supplemented by corlib, a CLR assembly to which they are closely
|
||||
tied. This package provides the C# sources for corlib as well as some
|
||||
additional assemblies and mcs, the Mono C# compiler.
|
||||
|
||||
To build this package, you must already have a C# compiler installed.
|
||||
Build instructions for *NIX and Microsoft Windows follow.
|
||||
|
||||
Building mcs on *NIX
|
||||
====================
|
||||
|
||||
mcs provides a set of makefiles which make it easy to build and install
|
||||
mcs on *NIX systems like Linux or FreeBSD where mcs is already
|
||||
installed.
|
||||
|
||||
To build the compiler and class libraries, run:
|
||||
|
||||
make -f makefile.gnu
|
||||
|
||||
The libraries will be placed in the directory class/lib/ and the mcs
|
||||
compiler executable in mcs/.
|
||||
|
||||
To install them, run the following, where prefix identifies where you
|
||||
want the files installed:
|
||||
|
||||
make -f makefile.gnu install prefix=/usr/local
|
||||
|
||||
If you are tracking Mono's development, you may sometimes need to share
|
||||
the compiled libraries with others. If you want to produce an easily
|
||||
distributable tarball, run:
|
||||
|
||||
make -f makefile.gnu dist
|
||||
|
||||
Building mcs on Windows
|
||||
=======================
|
||||
|
||||
It is also possible to build mcs on Windows using the Microsoft .NET
|
||||
framework. This may be convenient if you do not have access to a working
|
||||
mcs setup. To build the compiler and class libraries, run:
|
||||
|
||||
make
|
||||
|
||||
The libraries will be placed in the directory class/lib/ and the mcs
|
||||
compiler executable in mcs/. They can then be copied to /usr/lib and
|
||||
/usr/bin or wherever desired on the target system.
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
Basic Installation
|
||||
==================
|
||||
|
||||
The Mono project has developed mono, an x86-specific CL JIT compiler and
|
||||
mint, a portable CLI interpreter. The build process of each of these
|
||||
depends on nothing more than a C compiler, glib2 and libgc.
|
||||
|
||||
However, to provide a working runtime environment, these programs must
|
||||
be supplemented by corlib, a CLR assembly to which they are closely
|
||||
tied. This package provides the C# sources for corlib as well as some
|
||||
additional assemblies and mcs, the Mono C# compiler.
|
||||
|
||||
To build this package, you must already have a C# compiler installed.
|
||||
Build instructions for *NIX and Microsoft Windows follow.
|
||||
|
||||
Building mcs on *NIX
|
||||
====================
|
||||
|
||||
mcs provides a set of makefiles which make it easy to build and install
|
||||
mcs on *NIX systems like Linux or FreeBSD where mcs is already
|
||||
installed.
|
||||
|
||||
To build the compiler and class libraries, run:
|
||||
|
||||
make -f makefile.gnu
|
||||
|
||||
The libraries will be placed in the directory class/lib/ and the mcs
|
||||
compiler executable in mcs/.
|
||||
|
||||
To install them, run the following, where prefix identifies where you
|
||||
want the files installed:
|
||||
|
||||
make -f makefile.gnu install prefix=/usr/local
|
||||
|
||||
If you are tracking Mono's development, you may sometimes need to share
|
||||
the compiled libraries with others. If you want to produce an easily
|
||||
distributable tarball, run:
|
||||
|
||||
make -f makefile.gnu dist
|
||||
|
||||
Building mcs on Windows
|
||||
=======================
|
||||
|
||||
It is also possible to build mcs on Windows using the Microsoft .NET
|
||||
framework. This may be convenient if you do not have access to a working
|
||||
mcs setup. To build the compiler and class libraries, run:
|
||||
|
||||
make
|
||||
|
||||
The libraries will be placed in the directory class/lib/ and the mcs
|
||||
compiler executable in mcs/. They can then be copied to /usr/lib and
|
||||
/usr/bin or wherever desired on the target system.
|
||||
|
||||
+45
@@ -2,6 +2,8 @@
|
||||
This contains the Mono C# compiler as well as the Mono runtime
|
||||
library.
|
||||
|
||||
See INSTALL for a guide to building and installing mcs.
|
||||
|
||||
Layout:
|
||||
|
||||
class/
|
||||
@@ -21,3 +23,46 @@ Layout:
|
||||
|
||||
Thanks a lot to Sergey Chaban for his help during the development of
|
||||
the C# compiler.
|
||||
|
||||
LICENSE
|
||||
|
||||
The mcs C# compiler and monoresgen are licensed to you under the GPL, version 2.
|
||||
The complete text of the GPL is in the 'COPYING' file.
|
||||
|
||||
Copyright (C) 2001-2002 Ximian, Inc.
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of version 2 of the GNU General Public License as
|
||||
published by the Free Software Foundation.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
||||
|
||||
The class libraries are licensed according to the following license:
|
||||
|
||||
Copyright (C) 2001-2002 Ximian, Inc.
|
||||
|
||||
Permission is hereby granted, free of charge, to any person obtaining a
|
||||
copy of this software and associated documentation files (the "Software"),
|
||||
to deal in the Software without restriction, including without limitation
|
||||
the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
and/or sell copies of the Software, and to permit persons to whom the
|
||||
Software is furnished to do so, subject to the following conditions:
|
||||
|
||||
The above copyright notice and this permission notice shall be included
|
||||
in all copies or substantial portions of the Software.
|
||||
|
||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
OTHER DEALINGS IN THE SOFTWARE.
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
Makefile
|
||||
Makefile.in
|
||||
.deps
|
||||
*.dll
|
||||
I18N-handlers.def
|
||||
@@ -0,0 +1,849 @@
|
||||
/*
|
||||
* CP932.cs - Japanese (Shift-JIS) code page.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
namespace I18N.CJK
|
||||
{
|
||||
|
||||
using System;
|
||||
using System.Text;
|
||||
using I18N.Common;
|
||||
|
||||
public unsafe class CP932 : Encoding
|
||||
{
|
||||
// Magic number used by Windows for the Shift-JIS code page.
|
||||
private const int SHIFTJIS_CODE_PAGE = 932;
|
||||
|
||||
// Internal state.
|
||||
private JISConvert convert;
|
||||
|
||||
// Constructor.
|
||||
public CP932() : base(SHIFTJIS_CODE_PAGE)
|
||||
{
|
||||
// Load the JIS conversion tables.
|
||||
convert = JISConvert.Convert;
|
||||
}
|
||||
|
||||
// Get the number of bytes needed to encode a character buffer.
|
||||
public override int GetByteCount(char[] chars, int index, int count)
|
||||
{
|
||||
// Validate the parameters.
|
||||
if(chars == null)
|
||||
{
|
||||
throw new ArgumentNullException("chars");
|
||||
}
|
||||
if(index < 0 || index > chars.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("index", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(count < 0 || count > (chars.Length - index))
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("count", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
|
||||
// Determine the length of the final output.
|
||||
int length = 0;
|
||||
int ch, value;
|
||||
#if __PNET__
|
||||
byte *cjkToJis = convert.cjkToJis;
|
||||
byte *extraToJis = convert.extraToJis;
|
||||
#else
|
||||
byte[] cjkToJis = convert.cjkToJis;
|
||||
byte[] extraToJis = convert.extraToJis;
|
||||
#endif
|
||||
while(count > 0)
|
||||
{
|
||||
ch = chars[index++];
|
||||
--count;
|
||||
++length;
|
||||
if(ch < 0x0080)
|
||||
{
|
||||
// Character maps to itself.
|
||||
continue;
|
||||
}
|
||||
else if(ch < 0x0100)
|
||||
{
|
||||
// Check for special Latin 1 characters that
|
||||
// can be mapped to double-byte code points.
|
||||
if(ch == 0x00A2 || ch == 0x00A3 || ch == 0x00A7 ||
|
||||
ch == 0x00A8 || ch == 0x00AC || ch == 0x00B0 ||
|
||||
ch == 0x00B1 || ch == 0x00B4 || ch == 0x00B6 ||
|
||||
ch == 0x00D7 || ch == 0x00F7)
|
||||
{
|
||||
++length;
|
||||
}
|
||||
}
|
||||
else if(ch >= 0x0391 && ch <= 0x0451)
|
||||
{
|
||||
// Greek subset characters.
|
||||
++length;
|
||||
}
|
||||
else if(ch >= 0x2010 && ch <= 0x9FA5)
|
||||
{
|
||||
// This range contains the bulk of the CJK set.
|
||||
value = (ch - 0x2010) * 2;
|
||||
value = ((int)(cjkToJis[value])) |
|
||||
(((int)(cjkToJis[value + 1])) << 8);
|
||||
if(value >= 0x0100)
|
||||
{
|
||||
++length;
|
||||
}
|
||||
}
|
||||
else if(ch >= 0xFF01 && ch <= 0xFFEF)
|
||||
{
|
||||
// This range contains extra characters,
|
||||
// including half-width katakana.
|
||||
value = (ch - 0xFF01) * 2;
|
||||
value = ((int)(extraToJis[value])) |
|
||||
(((int)(extraToJis[value + 1])) << 8);
|
||||
if(value >= 0x0100)
|
||||
{
|
||||
++length;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Return the length to the caller.
|
||||
return length;
|
||||
}
|
||||
|
||||
// Get the bytes that result from encoding a character buffer.
|
||||
public override int GetBytes(char[] chars, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
// Validate the parameters.
|
||||
if(chars == null)
|
||||
{
|
||||
throw new ArgumentNullException("chars");
|
||||
}
|
||||
if(bytes == null)
|
||||
{
|
||||
throw new ArgumentNullException("bytes");
|
||||
}
|
||||
if(charIndex < 0 || charIndex > chars.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("charIndex", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(charCount < 0 || charCount > (chars.Length - charIndex))
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("charCount", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(byteIndex < 0 || byteIndex > bytes.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("byteIndex", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
|
||||
// Convert the characters into their byte form.
|
||||
int posn = byteIndex;
|
||||
int byteLength = bytes.Length;
|
||||
int ch, value;
|
||||
#if __PNET__
|
||||
byte *cjkToJis = convert.cjkToJis;
|
||||
byte *greekToJis = convert.greekToJis;
|
||||
byte *extraToJis = convert.extraToJis;
|
||||
#else
|
||||
byte[] cjkToJis = convert.cjkToJis;
|
||||
byte[] greekToJis = convert.greekToJis;
|
||||
byte[] extraToJis = convert.extraToJis;
|
||||
#endif
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = chars[charIndex++];
|
||||
--charCount;
|
||||
if(posn >= byteLength)
|
||||
{
|
||||
throw new ArgumentException
|
||||
(Strings.GetString("Arg_InsufficientSpace"),
|
||||
"bytes");
|
||||
}
|
||||
if(ch < 0x0080)
|
||||
{
|
||||
// Character maps to itself.
|
||||
bytes[posn++] = (byte)ch;
|
||||
continue;
|
||||
}
|
||||
else if(ch < 0x0100)
|
||||
{
|
||||
// Check for special Latin 1 characters that
|
||||
// can be mapped to double-byte code points.
|
||||
if(ch == 0x00A2 || ch == 0x00A3 || ch == 0x00A7 ||
|
||||
ch == 0x00A8 || ch == 0x00AC || ch == 0x00B0 ||
|
||||
ch == 0x00B1 || ch == 0x00B4 || ch == 0x00B6 ||
|
||||
ch == 0x00D7 || ch == 0x00F7)
|
||||
{
|
||||
if((posn + 1) >= byteLength)
|
||||
{
|
||||
throw new ArgumentException
|
||||
(Strings.GetString
|
||||
("Arg_InsufficientSpace"), "bytes");
|
||||
}
|
||||
switch(ch)
|
||||
{
|
||||
case 0x00A2:
|
||||
bytes[posn++] = (byte)0x81;
|
||||
bytes[posn++] = (byte)0x91;
|
||||
break;
|
||||
|
||||
case 0x00A3:
|
||||
bytes[posn++] = (byte)0x81;
|
||||
bytes[posn++] = (byte)0x92;
|
||||
break;
|
||||
|
||||
case 0x00A7:
|
||||
bytes[posn++] = (byte)0x81;
|
||||
bytes[posn++] = (byte)0x98;
|
||||
break;
|
||||
|
||||
case 0x00A8:
|
||||
bytes[posn++] = (byte)0x81;
|
||||
bytes[posn++] = (byte)0x4E;
|
||||
break;
|
||||
|
||||
case 0x00AC:
|
||||
bytes[posn++] = (byte)0x81;
|
||||
bytes[posn++] = (byte)0xCA;
|
||||
break;
|
||||
|
||||
case 0x00B0:
|
||||
bytes[posn++] = (byte)0x81;
|
||||
bytes[posn++] = (byte)0x8B;
|
||||
break;
|
||||
|
||||
case 0x00B1:
|
||||
bytes[posn++] = (byte)0x81;
|
||||
bytes[posn++] = (byte)0x7D;
|
||||
break;
|
||||
|
||||
case 0x00B4:
|
||||
bytes[posn++] = (byte)0x81;
|
||||
bytes[posn++] = (byte)0x4C;
|
||||
break;
|
||||
|
||||
case 0x00B6:
|
||||
bytes[posn++] = (byte)0x81;
|
||||
bytes[posn++] = (byte)0xF7;
|
||||
break;
|
||||
|
||||
case 0x00D7:
|
||||
bytes[posn++] = (byte)0x81;
|
||||
bytes[posn++] = (byte)0x7E;
|
||||
break;
|
||||
|
||||
case 0x00F7:
|
||||
bytes[posn++] = (byte)0x81;
|
||||
bytes[posn++] = (byte)0x80;
|
||||
break;
|
||||
}
|
||||
}
|
||||
else if(ch == 0x00A5)
|
||||
{
|
||||
// Yen sign.
|
||||
bytes[posn++] = (byte)0x5C;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Invalid character.
|
||||
bytes[posn++] = (byte)'?';
|
||||
}
|
||||
continue;
|
||||
}
|
||||
else if(ch >= 0x0391 && ch <= 0x0451)
|
||||
{
|
||||
// Greek subset characters.
|
||||
value = (ch - 0x0391) * 2;
|
||||
value = ((int)(greekToJis[value])) |
|
||||
(((int)(greekToJis[value + 1])) << 8);
|
||||
}
|
||||
else if(ch >= 0x2010 && ch <= 0x9FA5)
|
||||
{
|
||||
// This range contains the bulk of the CJK set.
|
||||
value = (ch - 0x2010) * 2;
|
||||
value = ((int)(cjkToJis[value])) |
|
||||
(((int)(cjkToJis[value + 1])) << 8);
|
||||
}
|
||||
else if(ch >= 0xFF01 && ch <= 0xFFEF)
|
||||
{
|
||||
// This range contains extra characters,
|
||||
// including half-width katakana.
|
||||
value = (ch - 0xFF01) * 2;
|
||||
value = ((int)(extraToJis[value])) |
|
||||
(((int)(extraToJis[value + 1])) << 8);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Invalid character.
|
||||
value = 0;
|
||||
}
|
||||
if(value == 0)
|
||||
{
|
||||
bytes[posn++] = (byte)'?';
|
||||
}
|
||||
else if(value < 0x0100)
|
||||
{
|
||||
bytes[posn++] = (byte)value;
|
||||
}
|
||||
else if((posn + 1) >= byteLength)
|
||||
{
|
||||
throw new ArgumentException
|
||||
(Strings.GetString("Arg_InsufficientSpace"),
|
||||
"bytes");
|
||||
}
|
||||
else if(value < 0x8000)
|
||||
{
|
||||
// JIS X 0208 character.
|
||||
value -= 0x0100;
|
||||
ch = (value / 0xBC);
|
||||
value = (value % 0xBC) + 0x40;
|
||||
if(value >= 0x7F)
|
||||
{
|
||||
++value;
|
||||
}
|
||||
if(ch < (0x9F - 0x80))
|
||||
{
|
||||
bytes[posn++] = (byte)(ch + 0x81);
|
||||
}
|
||||
else
|
||||
{
|
||||
bytes[posn++] = (byte)(ch - (0x9F - 0x80) + 0xE0);
|
||||
}
|
||||
bytes[posn++] = (byte)value;
|
||||
}
|
||||
else
|
||||
{
|
||||
// JIS X 0212 character, which Shift-JIS doesn't
|
||||
// support, but we've already allocated two slots.
|
||||
bytes[posn++] = (byte)'?';
|
||||
bytes[posn++] = (byte)'?';
|
||||
}
|
||||
}
|
||||
|
||||
// Return the final length to the caller.
|
||||
return posn - byteIndex;
|
||||
}
|
||||
|
||||
// Get the number of characters needed to decode a byte buffer.
|
||||
public override int GetCharCount(byte[] bytes, int index, int count)
|
||||
{
|
||||
// Validate the parameters.
|
||||
if(bytes == null)
|
||||
{
|
||||
throw new ArgumentNullException("bytes");
|
||||
}
|
||||
if(index < 0 || index > bytes.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("index", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(count < 0 || count > (bytes.Length - index))
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("count", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
|
||||
// Determine the total length of the converted string.
|
||||
int length = 0;
|
||||
int byteval;
|
||||
while(count > 0)
|
||||
{
|
||||
byteval = bytes[index++];
|
||||
--count;
|
||||
++length;
|
||||
if(byteval < 0x80)
|
||||
{
|
||||
// Ordinary ASCII/Latin1 character, or the
|
||||
// single-byte Yen or overline signs.
|
||||
continue;
|
||||
}
|
||||
else if(byteval >= 0xA1 && byteval <= 0xDF)
|
||||
{
|
||||
// Half-width katakana.
|
||||
continue;
|
||||
}
|
||||
else if(byteval < 0x81 ||
|
||||
(byteval > 0x9F && byteval < 0xE0) ||
|
||||
byteval > 0xEF)
|
||||
{
|
||||
// Invalid first byte.
|
||||
continue;
|
||||
}
|
||||
if(count == 0)
|
||||
{
|
||||
// Missing second byte.
|
||||
continue;
|
||||
}
|
||||
++index;
|
||||
--count;
|
||||
}
|
||||
|
||||
// Return the total length.
|
||||
return length;
|
||||
}
|
||||
|
||||
// Get the characters that result from decoding a byte buffer.
|
||||
public override int GetChars(byte[] bytes, int byteIndex, int byteCount,
|
||||
char[] chars, int charIndex)
|
||||
{
|
||||
// Validate the parameters.
|
||||
if(bytes == null)
|
||||
{
|
||||
throw new ArgumentNullException("bytes");
|
||||
}
|
||||
if(chars == null)
|
||||
{
|
||||
throw new ArgumentNullException("chars");
|
||||
}
|
||||
if(byteIndex < 0 || byteIndex > bytes.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("byteIndex", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(byteCount < 0 || byteCount > (bytes.Length - byteIndex))
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("byteCount", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(charIndex < 0 || charIndex > chars.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("charIndex", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
|
||||
// Determine the total length of the converted string.
|
||||
int charLength = chars.Length;
|
||||
int posn = charIndex;
|
||||
int length = 0;
|
||||
int byteval, value;
|
||||
#if __PNET__
|
||||
byte *table = convert.jisx0208ToUnicode;
|
||||
#else
|
||||
byte[] table = convert.jisx0208ToUnicode;
|
||||
#endif
|
||||
while(byteCount > 0)
|
||||
{
|
||||
byteval = bytes[byteIndex++];
|
||||
--byteCount;
|
||||
++length;
|
||||
if(posn >= charLength)
|
||||
{
|
||||
throw new ArgumentException
|
||||
(Strings.GetString("Arg_InsufficientSpace"),
|
||||
"chars");
|
||||
}
|
||||
if(byteval == 0x5C)
|
||||
{
|
||||
// Yen sign.
|
||||
chars[posn++] = '\u00A5';
|
||||
continue;
|
||||
}
|
||||
else if(byteval == 0x7E)
|
||||
{
|
||||
// Overline symbol.
|
||||
chars[posn++] = '\u203E';
|
||||
continue;
|
||||
}
|
||||
else if(byteval < 0x80)
|
||||
{
|
||||
// Ordinary ASCII/Latin1 character.
|
||||
chars[posn++] = (char)byteval;
|
||||
continue;
|
||||
}
|
||||
else if(byteval >= 0xA1 && byteval <= 0xDF)
|
||||
{
|
||||
// Half-width katakana.
|
||||
chars[posn++] = (char)(byteval - 0xA1 + 0xFF61);
|
||||
continue;
|
||||
}
|
||||
else if(byteval >= 0x81 && byteval <= 0x9F)
|
||||
{
|
||||
value = (byteval - 0x81) * 0xBC;
|
||||
}
|
||||
else if(byteval >= 0xE0 && byteval <= 0xEF)
|
||||
{
|
||||
value = (byteval - 0xE0 + (0xA0 - 0x81)) * 0xBC;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Invalid first byte.
|
||||
chars[posn++] = '?';
|
||||
continue;
|
||||
}
|
||||
if(byteCount == 0)
|
||||
{
|
||||
// Missing second byte.
|
||||
chars[posn++] = '?';
|
||||
continue;
|
||||
}
|
||||
byteval = bytes[byteIndex++];
|
||||
--byteCount;
|
||||
if(byteval >= 0x40 && byteval <= 0x7E)
|
||||
{
|
||||
value += (byteval - 0x40);
|
||||
}
|
||||
else if(byteval >= 0x80 && byteval <= 0xFC)
|
||||
{
|
||||
value += (byteval - 0x80 + 0x3F);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Invalid second byte.
|
||||
chars[posn++] = '?';
|
||||
continue;
|
||||
}
|
||||
value *= 2;
|
||||
value = ((int)(table[value])) |
|
||||
(((int)(table[value + 1])) << 8);
|
||||
if(value != 0)
|
||||
{
|
||||
chars[posn++] = (char)value;
|
||||
}
|
||||
else
|
||||
{
|
||||
chars[posn++] = '?';
|
||||
}
|
||||
}
|
||||
|
||||
// Return the total length.
|
||||
return posn - charIndex;
|
||||
}
|
||||
|
||||
// Get the maximum number of bytes needed to encode a
|
||||
// specified number of characters.
|
||||
public override int GetMaxByteCount(int charCount)
|
||||
{
|
||||
if(charCount < 0)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("charCount",
|
||||
Strings.GetString("ArgRange_NonNegative"));
|
||||
}
|
||||
return charCount * 2;
|
||||
}
|
||||
|
||||
// Get the maximum number of characters needed to decode a
|
||||
// specified number of bytes.
|
||||
public override int GetMaxCharCount(int byteCount)
|
||||
{
|
||||
if(byteCount < 0)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("byteCount",
|
||||
Strings.GetString("ArgRange_NonNegative"));
|
||||
}
|
||||
return byteCount;
|
||||
}
|
||||
|
||||
// Get a decoder that handles a rolling Shift-JIS state.
|
||||
public override Decoder GetDecoder()
|
||||
{
|
||||
return new CP932Decoder(convert);
|
||||
}
|
||||
|
||||
#if !ECMA_COMPAT
|
||||
|
||||
// Get the mail body name for this encoding.
|
||||
public override String BodyName
|
||||
{
|
||||
get
|
||||
{
|
||||
return "iso-2022-jp";
|
||||
}
|
||||
}
|
||||
|
||||
// Get the human-readable name for this encoding.
|
||||
public override String EncodingName
|
||||
{
|
||||
get
|
||||
{
|
||||
return "Japanese (Shift-JIS)";
|
||||
}
|
||||
}
|
||||
|
||||
// Get the mail agent header name for this encoding.
|
||||
public override String HeaderName
|
||||
{
|
||||
get
|
||||
{
|
||||
return "iso-2022-jp";
|
||||
}
|
||||
}
|
||||
|
||||
// Determine if this encoding can be displayed in a Web browser.
|
||||
public override bool IsBrowserDisplay
|
||||
{
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// Determine if this encoding can be saved from a Web browser.
|
||||
public override bool IsBrowserSave
|
||||
{
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// Determine if this encoding can be displayed in a mail/news agent.
|
||||
public override bool IsMailNewsDisplay
|
||||
{
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// Determine if this encoding can be saved from a mail/news agent.
|
||||
public override bool IsMailNewsSave
|
||||
{
|
||||
get
|
||||
{
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
// Get the IANA-preferred Web name for this encoding.
|
||||
public override String WebName
|
||||
{
|
||||
get
|
||||
{
|
||||
return "shift_jis";
|
||||
}
|
||||
}
|
||||
|
||||
// Get the Windows code page represented by this object.
|
||||
public override int WindowsCodePage
|
||||
{
|
||||
get
|
||||
{
|
||||
return SHIFTJIS_CODE_PAGE;
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ECMA_COMPAT
|
||||
|
||||
// Decoder that handles a rolling Shift-JIS state.
|
||||
private sealed class CP932Decoder : Decoder
|
||||
{
|
||||
private JISConvert convert;
|
||||
private int lastByte;
|
||||
|
||||
// Constructor.
|
||||
public CP932Decoder(JISConvert convert)
|
||||
{
|
||||
this.convert = convert;
|
||||
this.lastByte = 0;
|
||||
}
|
||||
|
||||
// Override inherited methods.
|
||||
public override int GetCharCount(byte[] bytes, int index, int count)
|
||||
{
|
||||
// Validate the parameters.
|
||||
if(bytes == null)
|
||||
{
|
||||
throw new ArgumentNullException("bytes");
|
||||
}
|
||||
if(index < 0 || index > bytes.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("index", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(count < 0 || count > (bytes.Length - index))
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("count", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
|
||||
// Determine the total length of the converted string.
|
||||
int length = 0;
|
||||
int byteval;
|
||||
int last = lastByte;
|
||||
while(count > 0)
|
||||
{
|
||||
byteval = bytes[index++];
|
||||
--count;
|
||||
if(last == 0)
|
||||
{
|
||||
if((byteval >= 0x81 && byteval <= 0x9F) ||
|
||||
(byteval >= 0xE0 && byteval <= 0xEF))
|
||||
{
|
||||
// First byte in a double-byte sequence.
|
||||
last = byteval;
|
||||
}
|
||||
++length;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Second byte in a double-byte sequence.
|
||||
last = 0;
|
||||
}
|
||||
}
|
||||
|
||||
// Return the total length.
|
||||
return length;
|
||||
}
|
||||
public override int GetChars(byte[] bytes, int byteIndex,
|
||||
int byteCount, char[] chars,
|
||||
int charIndex)
|
||||
{
|
||||
// Validate the parameters.
|
||||
if(bytes == null)
|
||||
{
|
||||
throw new ArgumentNullException("bytes");
|
||||
}
|
||||
if(chars == null)
|
||||
{
|
||||
throw new ArgumentNullException("chars");
|
||||
}
|
||||
if(byteIndex < 0 || byteIndex > bytes.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("byteIndex", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(byteCount < 0 || byteCount > (bytes.Length - byteIndex))
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("byteCount", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(charIndex < 0 || charIndex > chars.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("charIndex", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
|
||||
// Decode the bytes in the buffer.
|
||||
int posn = charIndex;
|
||||
int charLength = chars.Length;
|
||||
int byteval, value;
|
||||
int last = lastByte;
|
||||
#if __PNET__
|
||||
byte *table = convert.jisx0208ToUnicode;
|
||||
#else
|
||||
byte[] table = convert.jisx0208ToUnicode;
|
||||
#endif
|
||||
while(byteCount > 0)
|
||||
{
|
||||
byteval = bytes[byteIndex++];
|
||||
--byteCount;
|
||||
if(last == 0)
|
||||
{
|
||||
if(posn >= charLength)
|
||||
{
|
||||
throw new ArgumentException
|
||||
(Strings.GetString
|
||||
("Arg_InsufficientSpace"), "chars");
|
||||
}
|
||||
if((byteval >= 0x81 && byteval <= 0x9F) ||
|
||||
(byteval >= 0xE0 && byteval <= 0xEF))
|
||||
{
|
||||
// First byte in a double-byte sequence.
|
||||
last = byteval;
|
||||
}
|
||||
else if(byteval == 0x5C)
|
||||
{
|
||||
// Yen sign.
|
||||
chars[posn++] ='\u00A5';
|
||||
}
|
||||
else if(byteval == 0x7E)
|
||||
{
|
||||
// Overline symbol.
|
||||
chars[posn++] ='\u203E';
|
||||
}
|
||||
else if(byteval < 0x80)
|
||||
{
|
||||
// Ordinary ASCII/Latin1 character.
|
||||
chars[posn++] = (char)byteval;
|
||||
}
|
||||
else if(byteval >= 0xA1 && byteval <= 0xDF)
|
||||
{
|
||||
// Half-width katakana character.
|
||||
chars[posn++] = (char)(byteval - 0xA1 + 0xFF61);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Invalid first byte.
|
||||
chars[posn++] = '?';
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Second byte in a double-byte sequence.
|
||||
if(last >= 0x81 && last <= 0x9F)
|
||||
{
|
||||
value = (last - 0x81) * 0xBC;
|
||||
}
|
||||
else
|
||||
{
|
||||
value = (last - 0xE0 + (0xA0 - 0x81)) * 0xBC;
|
||||
}
|
||||
last = 0;
|
||||
if(byteval >= 0x40 && byteval <= 0x7E)
|
||||
{
|
||||
value += (byteval - 0x40);
|
||||
}
|
||||
else if(byteval >= 0x80 && byteval <= 0xFC)
|
||||
{
|
||||
value += (byteval - 0x80 + 0x3F);
|
||||
}
|
||||
else
|
||||
{
|
||||
// Invalid second byte.
|
||||
chars[posn++] = '?';
|
||||
continue;
|
||||
}
|
||||
value *= 2;
|
||||
value = ((int)(table[value])) |
|
||||
(((int)(table[value + 1])) << 8);
|
||||
if(value != 0)
|
||||
{
|
||||
chars[posn++] = (char)value;
|
||||
}
|
||||
else
|
||||
{
|
||||
chars[posn++] = '?';
|
||||
}
|
||||
}
|
||||
}
|
||||
lastByte = last;
|
||||
|
||||
// Return the final length to the caller.
|
||||
return posn - charIndex;
|
||||
}
|
||||
|
||||
} // class CP932Decoder
|
||||
|
||||
}; // class CP932
|
||||
|
||||
public class ENCshift_jis : CP932
|
||||
{
|
||||
public ENCshift_jis() : base() {}
|
||||
|
||||
}; // class ENCshift_jis
|
||||
|
||||
}; // namespace I18N.CJK
|
||||
@@ -0,0 +1,143 @@
|
||||
/*
|
||||
* CodeTable.cs - Implementation of the "System.Text.CodeTable" class.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
namespace I18N.CJK
|
||||
{
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
using System.Runtime.CompilerServices;
|
||||
using I18N.Common;
|
||||
|
||||
// This class assists encoding classes for the large CJK character
|
||||
// sets by providing pointer access to table data in the resource
|
||||
// section of the current assembly.
|
||||
//
|
||||
// Code tables are named by their resource (e.g. "jis.table") and
|
||||
// contain one or more sections. Each section has an 8-byte header,
|
||||
// consisting of a 32-bit section number and a 32-bit section length.
|
||||
// The alignment of the data in the table is not guaranteed.
|
||||
|
||||
internal unsafe sealed class CodeTable : IDisposable
|
||||
{
|
||||
// Internal state.
|
||||
private Stream stream;
|
||||
|
||||
// Load a code table from the resource section of this assembly.
|
||||
public CodeTable(String name)
|
||||
{
|
||||
stream = (Assembly.GetExecutingAssembly()
|
||||
.GetManifestResourceStream(name));
|
||||
if(stream == null)
|
||||
{
|
||||
throw new NotSupportedException
|
||||
(String.Format
|
||||
(Strings.GetString("NotSupp_MissingCodeTable"),
|
||||
name));
|
||||
}
|
||||
}
|
||||
|
||||
// Implement the IDisposable interface.
|
||||
public void Dispose()
|
||||
{
|
||||
if(stream != null)
|
||||
{
|
||||
stream.Close();
|
||||
stream = null;
|
||||
}
|
||||
}
|
||||
|
||||
// Get the starting address for a particular section within
|
||||
// the code table. This address is guaranteed to persist
|
||||
// after "Dispose" is called.
|
||||
#if __PNET__
|
||||
public byte *GetSection(int num)
|
||||
#else
|
||||
public byte[] GetSection(int num)
|
||||
#endif
|
||||
{
|
||||
// If the table has been disposed, then bail out.
|
||||
if(stream == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Scan through the stream looking for the section.
|
||||
long posn = 0;
|
||||
long length = stream.Length;
|
||||
byte[] header = new byte [8];
|
||||
int sectNum, sectLen;
|
||||
while((posn + 8) <= length)
|
||||
{
|
||||
// Read the next header block.
|
||||
stream.Position = posn;
|
||||
if(stream.Read(header, 0, 8) != 8)
|
||||
{
|
||||
break;
|
||||
}
|
||||
|
||||
// Decode the fields in the header block.
|
||||
sectNum = ((int)(header[0])) |
|
||||
(((int)(header[1])) << 8) |
|
||||
(((int)(header[2])) << 16) |
|
||||
(((int)(header[3])) << 24);
|
||||
sectLen = ((int)(header[4])) |
|
||||
(((int)(header[5])) << 8) |
|
||||
(((int)(header[6])) << 16) |
|
||||
(((int)(header[7])) << 24);
|
||||
|
||||
// Is this the section we are looking for?
|
||||
if(sectNum == num)
|
||||
{
|
||||
#if __PNET__
|
||||
return GetAddress(stream, posn + 8);
|
||||
#else
|
||||
byte[] buf = new byte [sectLen];
|
||||
if(stream.Read(buf, 0, sectLen) != sectLen)
|
||||
{
|
||||
break;
|
||||
}
|
||||
return buf;
|
||||
#endif
|
||||
}
|
||||
|
||||
// Advance to the next section.
|
||||
posn += 8 + sectLen;
|
||||
}
|
||||
|
||||
// We were unable to find the requested section.
|
||||
return null;
|
||||
}
|
||||
|
||||
#if __PNET__
|
||||
// Back door access into the engine to get the address of
|
||||
// an offset within a manifest resource stream.
|
||||
[MethodImpl(MethodImplOptions.InternalCall)]
|
||||
extern private static byte *GetAddress(Stream stream, long position);
|
||||
#endif
|
||||
|
||||
}; // class CodeTable
|
||||
|
||||
}; // namespace I18N.CJK
|
||||
@@ -0,0 +1,97 @@
|
||||
/*
|
||||
* JISConvert.cs - Implementation of the "System.Text.JISConvert" class.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
namespace I18N.CJK
|
||||
{
|
||||
|
||||
using System;
|
||||
|
||||
// This class assists other encoding classes in converting back
|
||||
// and forth between JIS character sets and Unicode. It uses
|
||||
// several large tables to do this, some of which are stored in
|
||||
// the resource section of the assembly for efficient access.
|
||||
|
||||
internal unsafe sealed class JISConvert
|
||||
{
|
||||
// Table identifiers.
|
||||
private const int JISX0208_To_Unicode = 1;
|
||||
private const int JISX0212_To_Unicode = 2;
|
||||
private const int CJK_To_JIS = 3;
|
||||
private const int Greek_To_JIS = 4;
|
||||
private const int Extra_To_JIS = 5;
|
||||
|
||||
// Public access to the conversion tables.
|
||||
#if __PNET__
|
||||
public byte *jisx0208ToUnicode;
|
||||
public byte *jisx0212ToUnicode;
|
||||
public byte *cjkToJis;
|
||||
public byte *greekToJis;
|
||||
public byte *extraToJis;
|
||||
#else
|
||||
public byte[] jisx0208ToUnicode;
|
||||
public byte[] jisx0212ToUnicode;
|
||||
public byte[] cjkToJis;
|
||||
public byte[] greekToJis;
|
||||
public byte[] extraToJis;
|
||||
#endif
|
||||
|
||||
// Constructor.
|
||||
private JISConvert()
|
||||
{
|
||||
// Load the conversion tables.
|
||||
CodeTable table = new CodeTable("jis.table");
|
||||
jisx0208ToUnicode = table.GetSection(JISX0208_To_Unicode);
|
||||
jisx0212ToUnicode = table.GetSection(JISX0212_To_Unicode);
|
||||
cjkToJis = table.GetSection(CJK_To_JIS);
|
||||
greekToJis = table.GetSection(Greek_To_JIS);
|
||||
extraToJis = table.GetSection(Extra_To_JIS);
|
||||
table.Dispose();
|
||||
}
|
||||
|
||||
// The one and only JIS conversion object in the system.
|
||||
private static JISConvert convert;
|
||||
|
||||
// Get the primary JIS conversion object.
|
||||
public static JISConvert Convert
|
||||
{
|
||||
get
|
||||
{
|
||||
lock(typeof(JISConvert))
|
||||
{
|
||||
if(convert != null)
|
||||
{
|
||||
return convert;
|
||||
}
|
||||
else
|
||||
{
|
||||
convert = new JISConvert();
|
||||
return convert;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}; // class JISConvert
|
||||
|
||||
}; // namespace I18N.CJK
|
||||
Binary file not shown.
Executable
+3
@@ -0,0 +1,3 @@
|
||||
CP932.cs
|
||||
CodeTable.cs
|
||||
JISConvert.cs
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
topdir = ../../..
|
||||
|
||||
LIBRARY = $(topdir)/class/lib/I18N.CJK.dll
|
||||
|
||||
LIB_LIST = list.unix
|
||||
LIB_FLAGS = --unsafe --resource jis.table -r corlib -r mscorlib -r I18N
|
||||
|
||||
SOURCES_INCLUDE=*.cs
|
||||
SOURCES_EXCLUDE=
|
||||
|
||||
export MONO_PATH_PREFIX = $(topdir)/class/lib:
|
||||
|
||||
include $(topdir)/class/library.make
|
||||
@@ -0,0 +1,401 @@
|
||||
/*
|
||||
* ByteEncoding.cs - Implementation of the "I18N.Common.ByteEncoding" class.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
namespace I18N.Common
|
||||
{
|
||||
|
||||
using System;
|
||||
using System.Text;
|
||||
|
||||
// This class provides an abstract base for encodings that use a single
|
||||
// byte per character. The bulk of the work is done in this class, with
|
||||
// subclasses providing implementations of the "ToBytes" methods to perform
|
||||
// the char->byte conversion.
|
||||
|
||||
public abstract class ByteEncoding : Encoding
|
||||
{
|
||||
// Internal state.
|
||||
protected char[] toChars;
|
||||
protected String encodingName;
|
||||
protected String bodyName;
|
||||
protected String headerName;
|
||||
protected String webName;
|
||||
protected bool isBrowserDisplay;
|
||||
protected bool isBrowserSave;
|
||||
protected bool isMailNewsDisplay;
|
||||
protected bool isMailNewsSave;
|
||||
protected int windowsCodePage;
|
||||
|
||||
// Constructor.
|
||||
protected ByteEncoding(int codePage, char[] toChars,
|
||||
String encodingName, String bodyName,
|
||||
String headerName, String webName,
|
||||
bool isBrowserDisplay, bool isBrowserSave,
|
||||
bool isMailNewsDisplay, bool isMailNewsSave,
|
||||
int windowsCodePage)
|
||||
: base(codePage)
|
||||
{
|
||||
this.toChars = toChars;
|
||||
this.encodingName = encodingName;
|
||||
this.bodyName = bodyName;
|
||||
this.headerName = headerName;
|
||||
this.webName = webName;
|
||||
this.isBrowserDisplay = isBrowserDisplay;
|
||||
this.isBrowserSave = isBrowserSave;
|
||||
this.isMailNewsDisplay = isMailNewsDisplay;
|
||||
this.isMailNewsSave = isMailNewsSave;
|
||||
this.windowsCodePage = windowsCodePage;
|
||||
}
|
||||
|
||||
// Get the number of bytes needed to encode a character buffer.
|
||||
public override int GetByteCount(char[] chars, int index, int count)
|
||||
{
|
||||
if(chars == null)
|
||||
{
|
||||
throw new ArgumentNullException("chars");
|
||||
}
|
||||
if(index < 0 || index > chars.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("index", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(count < 0 || count > (chars.Length - index))
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("count", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
return count;
|
||||
}
|
||||
|
||||
// Convenience wrappers for "GetByteCount".
|
||||
public override int GetByteCount(String s)
|
||||
{
|
||||
if(s == null)
|
||||
{
|
||||
throw new ArgumentNullException("s");
|
||||
}
|
||||
return s.Length;
|
||||
}
|
||||
|
||||
// Convert an array of characters into a byte buffer,
|
||||
// once the parameters have been validated.
|
||||
protected abstract void ToBytes(char[] chars, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex);
|
||||
|
||||
// Convert a string into a byte buffer, once the parameters
|
||||
// have been validated.
|
||||
protected abstract void ToBytes(String s, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex);
|
||||
|
||||
// Get the bytes that result from encoding a character buffer.
|
||||
public override int GetBytes(char[] chars, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
if(chars == null)
|
||||
{
|
||||
throw new ArgumentNullException("chars");
|
||||
}
|
||||
if(bytes == null)
|
||||
{
|
||||
throw new ArgumentNullException("bytes");
|
||||
}
|
||||
if(charIndex < 0 || charIndex > chars.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("charIndex", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(charCount < 0 || charCount > (chars.Length - charIndex))
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("charCount", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(byteIndex < 0 || byteIndex > bytes.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("byteIndex", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if((bytes.Length - byteIndex) < charCount)
|
||||
{
|
||||
throw new ArgumentException
|
||||
(Strings.GetString("Arg_InsufficientSpace"));
|
||||
}
|
||||
ToBytes(chars, charIndex, charCount, bytes, byteIndex);
|
||||
return charCount;
|
||||
}
|
||||
|
||||
// Convenience wrappers for "GetBytes".
|
||||
public override int GetBytes(String s, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
if(s == null)
|
||||
{
|
||||
throw new ArgumentNullException("s");
|
||||
}
|
||||
if(bytes == null)
|
||||
{
|
||||
throw new ArgumentNullException("bytes");
|
||||
}
|
||||
if(charIndex < 0 || charIndex > s.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("charIndex",
|
||||
Strings.GetString("ArgRange_StringIndex"));
|
||||
}
|
||||
if(charCount < 0 || charCount > (s.Length - charIndex))
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("charCount",
|
||||
Strings.GetString("ArgRange_StringRange"));
|
||||
}
|
||||
if(byteIndex < 0 || byteIndex > bytes.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("byteIndex", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if((bytes.Length - byteIndex) < charCount)
|
||||
{
|
||||
throw new ArgumentException
|
||||
(Strings.GetString("Arg_InsufficientSpace"));
|
||||
}
|
||||
ToBytes(s, charIndex, charCount, bytes, byteIndex);
|
||||
return charCount;
|
||||
}
|
||||
|
||||
// Get the number of characters needed to decode a byte buffer.
|
||||
public override int GetCharCount(byte[] bytes, int index, int count)
|
||||
{
|
||||
if(bytes == null)
|
||||
{
|
||||
throw new ArgumentNullException("bytes");
|
||||
}
|
||||
if(index < 0 || index > bytes.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("index", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(count < 0 || count > (bytes.Length - index))
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("count", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
return count;
|
||||
}
|
||||
|
||||
// Get the characters that result from decoding a byte buffer.
|
||||
public override int GetChars(byte[] bytes, int byteIndex, int byteCount,
|
||||
char[] chars, int charIndex)
|
||||
{
|
||||
if(bytes == null)
|
||||
{
|
||||
throw new ArgumentNullException("bytes");
|
||||
}
|
||||
if(chars == null)
|
||||
{
|
||||
throw new ArgumentNullException("chars");
|
||||
}
|
||||
if(byteIndex < 0 || byteIndex > bytes.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("byteIndex", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(byteCount < 0 || byteCount > (bytes.Length - byteIndex))
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("byteCount", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(charIndex < 0 || charIndex > chars.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("charIndex", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if((chars.Length - charIndex) < byteCount)
|
||||
{
|
||||
throw new ArgumentException
|
||||
(Strings.GetString("Arg_InsufficientSpace"));
|
||||
}
|
||||
int count = byteCount;
|
||||
char[] cvt = toChars;
|
||||
while(count-- > 0)
|
||||
{
|
||||
chars[charIndex++] = cvt[(int)(bytes[byteIndex++])];
|
||||
}
|
||||
return byteCount;
|
||||
}
|
||||
|
||||
// Get the maximum number of bytes needed to encode a
|
||||
// specified number of characters.
|
||||
public override int GetMaxByteCount(int charCount)
|
||||
{
|
||||
if(charCount < 0)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("charCount",
|
||||
Strings.GetString("ArgRange_NonNegative"));
|
||||
}
|
||||
return charCount;
|
||||
}
|
||||
|
||||
// Get the maximum number of characters needed to decode a
|
||||
// specified number of bytes.
|
||||
public override int GetMaxCharCount(int byteCount)
|
||||
{
|
||||
if(byteCount < 0)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("byteCount",
|
||||
Strings.GetString("ArgRange_NonNegative"));
|
||||
}
|
||||
return byteCount;
|
||||
}
|
||||
|
||||
// Decode a buffer of bytes into a string.
|
||||
public override String GetString(byte[] bytes, int index, int count)
|
||||
{
|
||||
if(bytes == null)
|
||||
{
|
||||
throw new ArgumentNullException("bytes");
|
||||
}
|
||||
if(index < 0 || index > bytes.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("index", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(count < 0 || count > (bytes.Length - index))
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("count", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
StringBuilder s = new StringBuilder();
|
||||
char[] cvt = toChars;
|
||||
while(count-- > 0)
|
||||
{
|
||||
s.Append(cvt[(int)(bytes[index++])]);
|
||||
}
|
||||
return s.ToString();
|
||||
}
|
||||
public override String GetString(byte[] bytes)
|
||||
{
|
||||
if(bytes == null)
|
||||
{
|
||||
throw new ArgumentNullException("bytes");
|
||||
}
|
||||
int count = bytes.Length;
|
||||
int posn = 0;
|
||||
StringBuilder s = new StringBuilder();
|
||||
char[] cvt = toChars;
|
||||
while(count-- > 0)
|
||||
{
|
||||
s.Append(cvt[(int)(bytes[posn])]);
|
||||
}
|
||||
return s.ToString();
|
||||
}
|
||||
|
||||
#if !ECMA_COMPAT
|
||||
|
||||
// Get the mail body name for this encoding.
|
||||
public override String BodyName
|
||||
{
|
||||
get
|
||||
{
|
||||
return bodyName;
|
||||
}
|
||||
}
|
||||
|
||||
// Get the human-readable name for this encoding.
|
||||
public override String EncodingName
|
||||
{
|
||||
get
|
||||
{
|
||||
return encodingName;
|
||||
}
|
||||
}
|
||||
|
||||
// Get the mail agent header name for this encoding.
|
||||
public override String HeaderName
|
||||
{
|
||||
get
|
||||
{
|
||||
return headerName;
|
||||
}
|
||||
}
|
||||
|
||||
// Determine if this encoding can be displayed in a Web browser.
|
||||
public override bool IsBrowserDisplay
|
||||
{
|
||||
get
|
||||
{
|
||||
return isBrowserDisplay;
|
||||
}
|
||||
}
|
||||
|
||||
// Determine if this encoding can be saved from a Web browser.
|
||||
public override bool IsBrowserSave
|
||||
{
|
||||
get
|
||||
{
|
||||
return isBrowserSave;
|
||||
}
|
||||
}
|
||||
|
||||
// Determine if this encoding can be displayed in a mail/news agent.
|
||||
public override bool IsMailNewsDisplay
|
||||
{
|
||||
get
|
||||
{
|
||||
return isMailNewsDisplay;
|
||||
}
|
||||
}
|
||||
|
||||
// Determine if this encoding can be saved from a mail/news agent.
|
||||
public override bool IsMailNewsSave
|
||||
{
|
||||
get
|
||||
{
|
||||
return isMailNewsSave;
|
||||
}
|
||||
}
|
||||
|
||||
// Get the IANA-preferred Web name for this encoding.
|
||||
public override String WebName
|
||||
{
|
||||
get
|
||||
{
|
||||
return webName;
|
||||
}
|
||||
}
|
||||
|
||||
// Get the Windows code page represented by this object.
|
||||
public override int WindowsCodePage
|
||||
{
|
||||
get
|
||||
{
|
||||
return windowsCodePage;
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ECMA_COMPAT
|
||||
|
||||
}; // class ByteEncoding
|
||||
|
||||
}; // namespace I18N.Encoding
|
||||
@@ -0,0 +1,198 @@
|
||||
/*
|
||||
* Handlers.cs - Implementation of the "I18N.Common.Handlers" class.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
namespace I18N.Common
|
||||
{
|
||||
|
||||
using System;
|
||||
|
||||
// This class provides an internal list of handlers, for runtime
|
||||
// engines that do not implement the altered "GetFile" semantics.
|
||||
// The list must be kept up to date manually.
|
||||
|
||||
public sealed class Handlers
|
||||
{
|
||||
public static readonly String[] List = {
|
||||
"I18N.CJK.CP932",
|
||||
"I18N.CJK.ENCshift_jis",
|
||||
"I18N.MidEast.CP1254",
|
||||
"I18N.MidEast.ENCwindows_1254",
|
||||
"I18N.MidEast.CP1255",
|
||||
"I18N.MidEast.ENCwindows_1255",
|
||||
"I18N.MidEast.CP1256",
|
||||
"I18N.MidEast.ENCwindows_1256",
|
||||
"I18N.MidEast.CP28596",
|
||||
"I18N.MidEast.ENCiso_8859_6",
|
||||
"I18N.MidEast.CP28598",
|
||||
"I18N.MidEast.ENCiso_8859_8",
|
||||
"I18N.MidEast.CP28599",
|
||||
"I18N.MidEast.ENCiso_8859_9",
|
||||
"I18N.MidEast.CP38598",
|
||||
"I18N.MidEast.ENCwindows_38598",
|
||||
"I18N.Other.CP1251",
|
||||
"I18N.Other.ENCwindows_1251",
|
||||
"I18N.Other.CP1257",
|
||||
"I18N.Other.ENCwindows_1257",
|
||||
"I18N.Other.CP1258",
|
||||
"I18N.Other.ENCwindows_1258",
|
||||
"I18N.Other.CP20866",
|
||||
"I18N.Other.ENCkoi8_r",
|
||||
"I18N.Other.CP21866",
|
||||
"I18N.Other.ENCkoi8_u",
|
||||
"I18N.Other.CP28594",
|
||||
"I18N.Other.ENCiso_8859_4",
|
||||
"I18N.Other.CP28595",
|
||||
"I18N.Other.ENCiso_8859_5",
|
||||
"I18N.Other.ISCIIEncoding",
|
||||
"I18N.Other.CP57002",
|
||||
"I18N.Other.CP57003",
|
||||
"I18N.Other.CP57004",
|
||||
"I18N.Other.CP57005",
|
||||
"I18N.Other.CP57006",
|
||||
"I18N.Other.CP57007",
|
||||
"I18N.Other.CP57008",
|
||||
"I18N.Other.CP57009",
|
||||
"I18N.Other.CP57010",
|
||||
"I18N.Other.CP57011",
|
||||
"I18N.Other.ENCx_iscii_de",
|
||||
"I18N.Other.ENCx_iscii_be",
|
||||
"I18N.Other.ENCx_iscii_ta",
|
||||
"I18N.Other.ENCx_iscii_te",
|
||||
"I18N.Other.ENCx_iscii_as",
|
||||
"I18N.Other.ENCx_iscii_or",
|
||||
"I18N.Other.ENCx_iscii_ka",
|
||||
"I18N.Other.ENCx_iscii_ma",
|
||||
"I18N.Other.ENCx_iscii_gu",
|
||||
"I18N.Other.ENCx_iscii_pa",
|
||||
"I18N.Other.CP874",
|
||||
"I18N.Other.ENCwindows_874",
|
||||
"I18N.Rare.CP1026",
|
||||
"I18N.Rare.ENCibm1026",
|
||||
"I18N.Rare.CP1047",
|
||||
"I18N.Rare.ENCibm1047",
|
||||
"I18N.Rare.CP1140",
|
||||
"I18N.Rare.ENCibm01140",
|
||||
"I18N.Rare.CP1141",
|
||||
"I18N.Rare.ENCibm01141",
|
||||
"I18N.Rare.CP1142",
|
||||
"I18N.Rare.ENCibm01142",
|
||||
"I18N.Rare.CP1143",
|
||||
"I18N.Rare.ENCibm01143",
|
||||
"I18N.Rare.CP1144",
|
||||
"I18N.Rare.ENCibm1144",
|
||||
"I18N.Rare.CP1145",
|
||||
"I18N.Rare.ENCibm1145",
|
||||
"I18N.Rare.CP1146",
|
||||
"I18N.Rare.ENCibm1146",
|
||||
"I18N.Rare.CP1147",
|
||||
"I18N.Rare.ENCibm1147",
|
||||
"I18N.Rare.CP1148",
|
||||
"I18N.Rare.ENCibm1148",
|
||||
"I18N.Rare.CP1149",
|
||||
"I18N.Rare.ENCibm1149",
|
||||
"I18N.Rare.CP20273",
|
||||
"I18N.Rare.ENCibm273",
|
||||
"I18N.Rare.CP20277",
|
||||
"I18N.Rare.ENCibm277",
|
||||
"I18N.Rare.CP20278",
|
||||
"I18N.Rare.ENCibm278",
|
||||
"I18N.Rare.CP20280",
|
||||
"I18N.Rare.ENCibm280",
|
||||
"I18N.Rare.CP20284",
|
||||
"I18N.Rare.ENCibm284",
|
||||
"I18N.Rare.CP20285",
|
||||
"I18N.Rare.ENCibm285",
|
||||
"I18N.Rare.CP20290",
|
||||
"I18N.Rare.ENCibm290",
|
||||
"I18N.Rare.CP20297",
|
||||
"I18N.Rare.ENCibm297",
|
||||
"I18N.Rare.CP20420",
|
||||
"I18N.Rare.ENCibm420",
|
||||
"I18N.Rare.CP20424",
|
||||
"I18N.Rare.ENCibm424",
|
||||
"I18N.Rare.CP20871",
|
||||
"I18N.Rare.ENCibm871",
|
||||
"I18N.Rare.CP21025",
|
||||
"I18N.Rare.ENCibm1025",
|
||||
"I18N.Rare.CP37",
|
||||
"I18N.Rare.ENCibm037",
|
||||
"I18N.Rare.CP500",
|
||||
"I18N.Rare.ENCibm500",
|
||||
"I18N.Rare.CP708",
|
||||
"I18N.Rare.ENCasmo_708",
|
||||
"I18N.Rare.CP852",
|
||||
"I18N.Rare.ENCibm852",
|
||||
"I18N.Rare.CP855",
|
||||
"I18N.Rare.ENCibm855",
|
||||
"I18N.Rare.CP857",
|
||||
"I18N.Rare.ENCibm857",
|
||||
"I18N.Rare.CP858",
|
||||
"I18N.Rare.ENCibm00858",
|
||||
"I18N.Rare.CP862",
|
||||
"I18N.Rare.ENCibm862",
|
||||
"I18N.Rare.CP864",
|
||||
"I18N.Rare.ENCibm864",
|
||||
"I18N.Rare.CP866",
|
||||
"I18N.Rare.ENCibm866",
|
||||
"I18N.Rare.CP869",
|
||||
"I18N.Rare.ENCibm869",
|
||||
"I18N.Rare.CP870",
|
||||
"I18N.Rare.ENCibm870",
|
||||
"I18N.Rare.CP875",
|
||||
"I18N.Rare.ENCibm875",
|
||||
"I18N.West.CP10000",
|
||||
"I18N.West.ENCmacintosh",
|
||||
"I18N.West.CP10079",
|
||||
"I18N.West.ENCx_mac_icelandic",
|
||||
"I18N.West.CP1250",
|
||||
"I18N.West.ENCwindows_1250",
|
||||
"I18N.West.CP1252",
|
||||
"I18N.West.ENCwindows_1252",
|
||||
"I18N.West.CP1253",
|
||||
"I18N.West.ENCwindows_1253",
|
||||
"I18N.West.CP28592",
|
||||
"I18N.West.ENCiso_8859_2",
|
||||
"I18N.West.CP28593",
|
||||
"I18N.West.ENCiso_8859_3",
|
||||
"I18N.West.CP28597",
|
||||
"I18N.West.ENCiso_8859_7",
|
||||
"I18N.West.CP28605",
|
||||
"I18N.West.ENCiso_8859_15",
|
||||
"I18N.West.CP437",
|
||||
"I18N.West.ENCibm437",
|
||||
"I18N.West.CP850",
|
||||
"I18N.West.ENCibm850",
|
||||
"I18N.West.CP860",
|
||||
"I18N.West.ENCibm860",
|
||||
"I18N.West.CP861",
|
||||
"I18N.West.ENCibm861",
|
||||
"I18N.West.CP863",
|
||||
"I18N.West.ENCibm863",
|
||||
"I18N.West.CP865",
|
||||
"I18N.West.ENCibm865"
|
||||
};
|
||||
|
||||
}; // class Handlers
|
||||
|
||||
}; // namespace I18N.Common
|
||||
@@ -0,0 +1,336 @@
|
||||
/*
|
||||
* Manager.cs - Implementation of the "I18N.Common.Manager" class.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
namespace I18N.Common
|
||||
{
|
||||
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Globalization;
|
||||
using System.Collections;
|
||||
using System.Reflection;
|
||||
using System.Security;
|
||||
|
||||
// This class provides the primary entry point into the I18N
|
||||
// library. Users of the library start by getting the value
|
||||
// of the "PrimaryManager" property. They then invoke methods
|
||||
// on the manager to obtain further I18N information.
|
||||
|
||||
public class Manager
|
||||
{
|
||||
// The primary I18N manager.
|
||||
private static Manager manager;
|
||||
|
||||
// Internal state.
|
||||
private Hashtable handlers; // List of all handler classes.
|
||||
private Hashtable active; // Currently active handlers.
|
||||
private Hashtable assemblies; // Currently loaded region assemblies.
|
||||
|
||||
// Constructor.
|
||||
private Manager()
|
||||
{
|
||||
handlers = new Hashtable();
|
||||
active = new Hashtable(16);
|
||||
assemblies = new Hashtable(8);
|
||||
LoadClassList();
|
||||
}
|
||||
|
||||
// Get the primary I18N manager instance.
|
||||
public static Manager PrimaryManager
|
||||
{
|
||||
get
|
||||
{
|
||||
lock(typeof(Manager))
|
||||
{
|
||||
if(manager == null)
|
||||
{
|
||||
manager = new Manager();
|
||||
}
|
||||
return manager;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Normalize a name.
|
||||
private static String Normalize(String name)
|
||||
{
|
||||
#if ECMA_COMPAT
|
||||
return (name.ToLower()).Replace('-', '_');
|
||||
#else
|
||||
return (name.ToLower(CultureInfo.InvariantCulture))
|
||||
.Replace('-', '_');
|
||||
#endif
|
||||
}
|
||||
|
||||
// Get an encoding object for a specific code page.
|
||||
// Returns NULL if the code page is not available.
|
||||
public Encoding GetEncoding(int codePage)
|
||||
{
|
||||
return (Instantiate("CP" + codePage.ToString()) as Encoding);
|
||||
}
|
||||
|
||||
// Get an encoding object for a specific Web encoding.
|
||||
// Returns NULL if the encoding is not available.
|
||||
public Encoding GetEncoding(String name)
|
||||
{
|
||||
// Validate the parameter.
|
||||
if(name == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Normalize the encoding name.
|
||||
name = Normalize(name);
|
||||
|
||||
// Try to find a class called "ENCname".
|
||||
return (Instantiate("ENC" + name) as Encoding);
|
||||
}
|
||||
|
||||
// List of hex digits for use by "GetCulture".
|
||||
private const String hex = "0123456789abcdef";
|
||||
|
||||
// Get a specific culture by identifier. Returns NULL
|
||||
// if the culture information is not available.
|
||||
public CultureInfo GetCulture(int culture, bool useUserOverride)
|
||||
{
|
||||
// Create the hex version of the culture identifier.
|
||||
StringBuilder builder = new StringBuilder();
|
||||
builder.Append(hex[(culture >> 12) & 0x0F]);
|
||||
builder.Append(hex[(culture >> 8) & 0x0F]);
|
||||
builder.Append(hex[(culture >> 4) & 0x0F]);
|
||||
builder.Append(hex[culture & 0x0F]);
|
||||
String name = builder.ToString();
|
||||
|
||||
// Try looking for an override culture handler.
|
||||
if(useUserOverride)
|
||||
{
|
||||
Object obj = Instantiate("CIDO" + name);
|
||||
if(obj != null)
|
||||
{
|
||||
return (obj as CultureInfo);
|
||||
}
|
||||
}
|
||||
|
||||
// Look for the generic non-override culture.
|
||||
return (Instantiate("CID" + name) as CultureInfo);
|
||||
}
|
||||
|
||||
// Get a specific culture by name. Returns NULL if the
|
||||
// culture informaion is not available.
|
||||
public CultureInfo GetCulture(String name, bool useUserOverride)
|
||||
{
|
||||
// Validate the parameter.
|
||||
if(name == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Normalize the culture name.
|
||||
name = Normalize(name);
|
||||
|
||||
// Try looking for an override culture handler.
|
||||
if(useUserOverride)
|
||||
{
|
||||
Object obj = Instantiate("CNO" + name.ToString());
|
||||
if(obj != null)
|
||||
{
|
||||
return (obj as CultureInfo);
|
||||
}
|
||||
}
|
||||
|
||||
// Look for the generic non-override culture.
|
||||
return (Instantiate("CN" + name.ToString()) as CultureInfo);
|
||||
}
|
||||
|
||||
// Instantiate a handler class. Returns null if it is not
|
||||
// possible to instantiate the class.
|
||||
internal Object Instantiate(String name)
|
||||
{
|
||||
Object handler;
|
||||
String region;
|
||||
Assembly assembly;
|
||||
Type type;
|
||||
|
||||
lock(this)
|
||||
{
|
||||
// See if we already have an active handler by this name.
|
||||
handler = active[name];
|
||||
if(handler != null)
|
||||
{
|
||||
return handler;
|
||||
}
|
||||
|
||||
// Determine which region assembly handles the class.
|
||||
region = (String)(handlers[name]);
|
||||
if(region == null)
|
||||
{
|
||||
// The class does not exist in any region assembly.
|
||||
return null;
|
||||
}
|
||||
|
||||
// Find the region-specific assembly and load it.
|
||||
assembly = (Assembly)(assemblies[region]);
|
||||
if(assembly == null)
|
||||
{
|
||||
try
|
||||
{
|
||||
assembly = Assembly.Load(region);
|
||||
}
|
||||
catch(SystemException)
|
||||
{
|
||||
assembly = null;
|
||||
}
|
||||
if(assembly == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
assemblies[region] = assembly;
|
||||
}
|
||||
|
||||
// Look for the class within the region-specific assembly.
|
||||
type = assembly.GetType(region + "." + name);
|
||||
if(type == null)
|
||||
{
|
||||
return null;
|
||||
}
|
||||
|
||||
// Invoke the constructor, which we assume is public
|
||||
// and has zero arguments.
|
||||
try
|
||||
{
|
||||
handler = type.InvokeMember
|
||||
(String.Empty,
|
||||
BindingFlags.CreateInstance |
|
||||
BindingFlags.Public |
|
||||
BindingFlags.NonPublic |
|
||||
BindingFlags.Instance,
|
||||
null, null, null, null, null, null);
|
||||
}
|
||||
catch(MissingMethodException)
|
||||
{
|
||||
// The constructor was not present.
|
||||
return null;
|
||||
}
|
||||
catch(SecurityException)
|
||||
{
|
||||
// The constructor was inaccessible.
|
||||
return null;
|
||||
}
|
||||
|
||||
// Add the handler to the active handlers cache.
|
||||
active.Add(name, handler);
|
||||
|
||||
// Return the handler to the caller.
|
||||
return handler;
|
||||
}
|
||||
}
|
||||
|
||||
// Load the list of classes that are present in all region assemblies.
|
||||
private void LoadClassList()
|
||||
{
|
||||
FileStream stream;
|
||||
|
||||
// Look for "I18N-handlers.def" in the same directory
|
||||
// as this assembly. Note: this assumes that the
|
||||
// "Assembly.GetFile" method can access files that
|
||||
// aren't explicitly part of the assembly manifest.
|
||||
//
|
||||
// This is necessary because the "I18N-handlers.def"
|
||||
// file is generated after the "i18n" assembly is
|
||||
// compiled and linked. So it cannot be embedded
|
||||
// directly into the assembly manifest.
|
||||
try
|
||||
{
|
||||
stream = Assembly.GetExecutingAssembly()
|
||||
.GetFile("I18N-handlers.def");
|
||||
if(stream == null)
|
||||
{
|
||||
return;
|
||||
}
|
||||
}
|
||||
catch(FileNotFoundException)
|
||||
{
|
||||
// The file does not exist, or the runtime engine
|
||||
// refuses to implement the necessary semantics.
|
||||
// Fall back to an internal list, which must be
|
||||
// kept up to date manually.
|
||||
LoadInternalClasses();
|
||||
return;
|
||||
}
|
||||
|
||||
// Load the class list from the stream.
|
||||
StreamReader reader = new StreamReader(stream);
|
||||
String line;
|
||||
int posn;
|
||||
while((line = reader.ReadLine()) != null)
|
||||
{
|
||||
// Skip comment lines in the input.
|
||||
if(line.Length == 0 || line[0] == '#')
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
// Split the line into namespace and name. We assume
|
||||
// that the line has the form "I18N.<Region>.<Name>".
|
||||
posn = line.LastIndexOf('.');
|
||||
if(posn != -1)
|
||||
{
|
||||
// Add the namespace to the "handlers" hash,
|
||||
// attached to the name of the handler class.
|
||||
String name = line.Substring(posn + 1);
|
||||
if(!handlers.Contains(name))
|
||||
{
|
||||
handlers.Add(name, line.Substring(0, posn));
|
||||
}
|
||||
}
|
||||
}
|
||||
reader.Close();
|
||||
}
|
||||
|
||||
// Load the list of classes from the internal list.
|
||||
private void LoadInternalClasses()
|
||||
{
|
||||
int posn;
|
||||
foreach(String line in Handlers.List)
|
||||
{
|
||||
// Split the line into namespace and name. We assume
|
||||
// that the line has the form "I18N.<Region>.<Name>".
|
||||
posn = line.LastIndexOf('.');
|
||||
if(posn != -1)
|
||||
{
|
||||
// Add the namespace to the "handlers" hash,
|
||||
// attached to the name of the handler class.
|
||||
String name = line.Substring(posn + 1);
|
||||
if(!handlers.Contains(name))
|
||||
{
|
||||
handlers.Add(name, line.Substring(0, posn));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}; // class Manager
|
||||
|
||||
}; // namespace I18N.Common
|
||||
@@ -0,0 +1,56 @@
|
||||
/*
|
||||
* Strings.cs - Implementation of the "I18N.Common.Strings" class.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
namespace I18N.Common
|
||||
{
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
using System.Resources;
|
||||
|
||||
// This class provides string resource support to the rest
|
||||
// of the I18N library assemblies.
|
||||
|
||||
public sealed class Strings
|
||||
{
|
||||
// Cached copy of the resources for this assembly.
|
||||
private static ResourceManager resources = null;
|
||||
|
||||
// Helper for obtaining string resources for this assembly.
|
||||
public static String GetString(String tag)
|
||||
{
|
||||
lock(typeof(Strings))
|
||||
{
|
||||
if(resources == null)
|
||||
{
|
||||
resources = new ResourceManager
|
||||
("I18N", Assembly.GetExecutingAssembly());
|
||||
}
|
||||
return resources.GetString(tag, null);
|
||||
}
|
||||
}
|
||||
|
||||
}; // class Strings
|
||||
|
||||
}; // namespace I18N.Common
|
||||
Executable
+4
@@ -0,0 +1,4 @@
|
||||
ByteEncoding.cs
|
||||
Handlers.cs
|
||||
Manager.cs
|
||||
Strings.cs
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
topdir = ../../..
|
||||
|
||||
LIBRARY = $(topdir)/class/lib/I18N.dll
|
||||
|
||||
LIB_LIST = list.unix
|
||||
LIB_FLAGS = -r corlib -r mscorlib
|
||||
|
||||
SOURCES_INCLUDE=*.cs
|
||||
SOURCES_EXCLUDE=
|
||||
|
||||
export MONO_PATH_PREFIX = $(topdir)/class/lib:
|
||||
|
||||
include $(topdir)/class/library.make
|
||||
@@ -0,0 +1,116 @@
|
||||
<?xml version="1.0"?>
|
||||
<project name="pnetlib I18N" default="build">
|
||||
<property name="debug" value="false"/>
|
||||
<target name="build">
|
||||
|
||||
<!-- Build the primary I18N.dll library -->
|
||||
<csc output="../lib/I18N.dll" target="library" debug="${debug}">
|
||||
<arg value="/nowarn:1595"/>
|
||||
<arg value="/unsafe"/>
|
||||
<arg value="/noconfig"/> <!-- don't reference ms assemblies -->
|
||||
<arg value="/lib:../lib/"/>
|
||||
<arg value="/r:corlib.dll"/>
|
||||
|
||||
<sources>
|
||||
<includes name="Common/*.cs"/>
|
||||
</sources>
|
||||
|
||||
<!--<resources>
|
||||
<file name="../resources/en_US/I18N/I18N.resources"/>
|
||||
</resources>-->
|
||||
|
||||
</csc>
|
||||
|
||||
<!-- Build the I18N.CJK.dll library -->
|
||||
<csc output="../lib/I18N.CJK.dll" target="library" debug="${debug}">
|
||||
<arg value="/unsafe"/>
|
||||
<arg value="/noconfig"/> <!-- don't reference ms assemblies -->
|
||||
<arg value="/lib:../lib/"/>
|
||||
<arg value="/r:I18N.dll"/>
|
||||
<arg value="/resource:CJK/jis.table"/>
|
||||
|
||||
<sources>
|
||||
<includes name="CJK/*.cs"/>
|
||||
</sources>
|
||||
|
||||
<!--<resources>
|
||||
<file name="CJK/jis.table"/>
|
||||
</resources>-->
|
||||
|
||||
|
||||
</csc>
|
||||
|
||||
<!-- Build the I18N.MidEast.dll library -->
|
||||
<csc output="../lib/I18N.MidEast.dll" target="library" debug="${debug}">
|
||||
<arg value="/unsafe"/>
|
||||
<arg value="/noconfig"/> <!-- don't reference ms assemblies -->
|
||||
<arg value="/lib:../lib/"/>
|
||||
<arg value="/r:I18N.dll"/>
|
||||
|
||||
<sources>
|
||||
<includes name="MidEast/*.cs"/>
|
||||
</sources>
|
||||
|
||||
</csc>
|
||||
|
||||
<!-- Build the I18N.Other.dll library -->
|
||||
<csc output="../lib/I18N.Other.dll" target="library" debug="${debug}">
|
||||
<arg value="/unsafe"/>
|
||||
<arg value="/noconfig"/> <!-- don't reference ms assemblies -->
|
||||
<arg value="/lib:../lib/"/>
|
||||
<arg value="/r:I18N.dll"/>
|
||||
|
||||
<sources>
|
||||
<includes name="Other/*.cs"/>
|
||||
</sources>
|
||||
|
||||
</csc>
|
||||
|
||||
<!-- Build the I18N.Rare.dll library -->
|
||||
<csc output="../lib/I18N.Rare.dll" target="library" debug="${debug}">
|
||||
<arg value="/unsafe"/>
|
||||
<arg value="/noconfig"/> <!-- don't reference ms assemblies -->
|
||||
<arg value="/lib:../lib/"/>
|
||||
<arg value="/r:I18N.dll"/>
|
||||
|
||||
<sources>
|
||||
<includes name="Rare/*.cs"/>
|
||||
</sources>
|
||||
|
||||
</csc>
|
||||
|
||||
<!-- Build the I18N.West.dll library -->
|
||||
<csc output="../lib/I18N.West.dll" target="library" debug="${debug}">
|
||||
<arg value="/unsafe"/>
|
||||
<arg value="/noconfig"/> <!-- don't reference ms assemblies -->
|
||||
<arg value="/lib:../lib/"/>
|
||||
<arg value="/r:I18N.dll"/>
|
||||
|
||||
<sources>
|
||||
<includes name="West/*.cs"/>
|
||||
</sources>
|
||||
|
||||
</csc>
|
||||
|
||||
</target>
|
||||
<target name="clean">
|
||||
<delete failonerror="false">
|
||||
<fileset basedir="../lib">
|
||||
<includes name="I18N.dll"/>
|
||||
<includes name="I18N.CJK.dll"/>
|
||||
<includes name="I18N.MidEast.dll"/>
|
||||
<includes name="I18N.Other.dll"/>
|
||||
<includes name="I18N.Rare.dll"/>
|
||||
<includes name="I18N.West.dll"/>
|
||||
</fileset>
|
||||
</delete>
|
||||
<!-- Uncomment this if build file added for those.
|
||||
<nant basedir="Common" target="clean"/>
|
||||
<nant basedir="CJK" target="clean"/>
|
||||
<nant basedir="MidEast" target="clean"/>
|
||||
<nant basedir="Other" target="clean"/>
|
||||
<nant basedir="Rare" target="clean"/>
|
||||
<nant basedir="West" target="clean"/>
|
||||
-->
|
||||
</target>
|
||||
</project>
|
||||
@@ -0,0 +1,399 @@
|
||||
/*
|
||||
* CP1254.cs - Turkish (Windows) code page.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// Generated from "ibm-5350.ucm".
|
||||
|
||||
namespace I18N.MidEast
|
||||
{
|
||||
|
||||
using System;
|
||||
using I18N.Common;
|
||||
|
||||
public class CP1254 : ByteEncoding
|
||||
{
|
||||
public CP1254()
|
||||
: base(1254, ToChars, "Turkish (Windows)",
|
||||
"iso-8859-9", "windows-1254", "windows-1254",
|
||||
true, true, true, true, 1254)
|
||||
{}
|
||||
|
||||
private static readonly char[] ToChars = {
|
||||
'\u0000', '\u0001', '\u0002', '\u0003', '\u0004', '\u0005',
|
||||
'\u0006', '\u0007', '\u0008', '\u0009', '\u000A', '\u000B',
|
||||
'\u000C', '\u000D', '\u000E', '\u000F', '\u0010', '\u0011',
|
||||
'\u0012', '\u0013', '\u0014', '\u0015', '\u0016', '\u0017',
|
||||
'\u0018', '\u0019', '\u001A', '\u001B', '\u001C', '\u001D',
|
||||
'\u001E', '\u001F', '\u0020', '\u0021', '\u0022', '\u0023',
|
||||
'\u0024', '\u0025', '\u0026', '\u0027', '\u0028', '\u0029',
|
||||
'\u002A', '\u002B', '\u002C', '\u002D', '\u002E', '\u002F',
|
||||
'\u0030', '\u0031', '\u0032', '\u0033', '\u0034', '\u0035',
|
||||
'\u0036', '\u0037', '\u0038', '\u0039', '\u003A', '\u003B',
|
||||
'\u003C', '\u003D', '\u003E', '\u003F', '\u0040', '\u0041',
|
||||
'\u0042', '\u0043', '\u0044', '\u0045', '\u0046', '\u0047',
|
||||
'\u0048', '\u0049', '\u004A', '\u004B', '\u004C', '\u004D',
|
||||
'\u004E', '\u004F', '\u0050', '\u0051', '\u0052', '\u0053',
|
||||
'\u0054', '\u0055', '\u0056', '\u0057', '\u0058', '\u0059',
|
||||
'\u005A', '\u005B', '\u005C', '\u005D', '\u005E', '\u005F',
|
||||
'\u0060', '\u0061', '\u0062', '\u0063', '\u0064', '\u0065',
|
||||
'\u0066', '\u0067', '\u0068', '\u0069', '\u006A', '\u006B',
|
||||
'\u006C', '\u006D', '\u006E', '\u006F', '\u0070', '\u0071',
|
||||
'\u0072', '\u0073', '\u0074', '\u0075', '\u0076', '\u0077',
|
||||
'\u0078', '\u0079', '\u007A', '\u007B', '\u007C', '\u007D',
|
||||
'\u007E', '\u007F', '\u20AC', '\u0081', '\u201A', '\u0192',
|
||||
'\u201E', '\u2026', '\u2020', '\u2021', '\u02C6', '\u2030',
|
||||
'\u0160', '\u2039', '\u0152', '\u008D', '\u008E', '\u008F',
|
||||
'\u0090', '\u2018', '\u2019', '\u201C', '\u201D', '\u2022',
|
||||
'\u2013', '\u2014', '\u02DC', '\u2122', '\u0161', '\u203A',
|
||||
'\u0153', '\u009D', '\u009E', '\u0178', '\u00A0', '\u00A1',
|
||||
'\u00A2', '\u00A3', '\u00A4', '\u00A5', '\u00A6', '\u00A7',
|
||||
'\u00A8', '\u00A9', '\u00AA', '\u00AB', '\u00AC', '\u00AD',
|
||||
'\u00AE', '\u00AF', '\u00B0', '\u00B1', '\u00B2', '\u00B3',
|
||||
'\u00B4', '\u00B5', '\u00B6', '\u00B7', '\u00B8', '\u00B9',
|
||||
'\u00BA', '\u00BB', '\u00BC', '\u00BD', '\u00BE', '\u00BF',
|
||||
'\u00C0', '\u00C1', '\u00C2', '\u00C3', '\u00C4', '\u00C5',
|
||||
'\u00C6', '\u00C7', '\u00C8', '\u00C9', '\u00CA', '\u00CB',
|
||||
'\u00CC', '\u00CD', '\u00CE', '\u00CF', '\u011E', '\u00D1',
|
||||
'\u00D2', '\u00D3', '\u00D4', '\u00D5', '\u00D6', '\u00D7',
|
||||
'\u00D8', '\u00D9', '\u00DA', '\u00DB', '\u00DC', '\u0130',
|
||||
'\u015E', '\u00DF', '\u00E0', '\u00E1', '\u00E2', '\u00E3',
|
||||
'\u00E4', '\u00E5', '\u00E6', '\u00E7', '\u00E8', '\u00E9',
|
||||
'\u00EA', '\u00EB', '\u00EC', '\u00ED', '\u00EE', '\u00EF',
|
||||
'\u011F', '\u00F1', '\u00F2', '\u00F3', '\u00F4', '\u00F5',
|
||||
'\u00F6', '\u00F7', '\u00F8', '\u00F9', '\u00FA', '\u00FB',
|
||||
'\u00FC', '\u0131', '\u015F', '\u00FF',
|
||||
};
|
||||
|
||||
protected override void ToBytes(char[] chars, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(chars[charIndex++]);
|
||||
if(ch >= 128) switch(ch)
|
||||
{
|
||||
case 0x0081:
|
||||
case 0x008D:
|
||||
case 0x008E:
|
||||
case 0x008F:
|
||||
case 0x0090:
|
||||
case 0x009D:
|
||||
case 0x009E:
|
||||
case 0x00A0:
|
||||
case 0x00A1:
|
||||
case 0x00A2:
|
||||
case 0x00A3:
|
||||
case 0x00A4:
|
||||
case 0x00A5:
|
||||
case 0x00A6:
|
||||
case 0x00A7:
|
||||
case 0x00A8:
|
||||
case 0x00A9:
|
||||
case 0x00AA:
|
||||
case 0x00AB:
|
||||
case 0x00AC:
|
||||
case 0x00AD:
|
||||
case 0x00AE:
|
||||
case 0x00AF:
|
||||
case 0x00B0:
|
||||
case 0x00B1:
|
||||
case 0x00B2:
|
||||
case 0x00B3:
|
||||
case 0x00B4:
|
||||
case 0x00B5:
|
||||
case 0x00B6:
|
||||
case 0x00B7:
|
||||
case 0x00B8:
|
||||
case 0x00B9:
|
||||
case 0x00BA:
|
||||
case 0x00BB:
|
||||
case 0x00BC:
|
||||
case 0x00BD:
|
||||
case 0x00BE:
|
||||
case 0x00BF:
|
||||
case 0x00C0:
|
||||
case 0x00C1:
|
||||
case 0x00C2:
|
||||
case 0x00C3:
|
||||
case 0x00C4:
|
||||
case 0x00C5:
|
||||
case 0x00C6:
|
||||
case 0x00C7:
|
||||
case 0x00C8:
|
||||
case 0x00C9:
|
||||
case 0x00CA:
|
||||
case 0x00CB:
|
||||
case 0x00CC:
|
||||
case 0x00CD:
|
||||
case 0x00CE:
|
||||
case 0x00CF:
|
||||
case 0x00D1:
|
||||
case 0x00D2:
|
||||
case 0x00D3:
|
||||
case 0x00D4:
|
||||
case 0x00D5:
|
||||
case 0x00D6:
|
||||
case 0x00D7:
|
||||
case 0x00D8:
|
||||
case 0x00D9:
|
||||
case 0x00DA:
|
||||
case 0x00DB:
|
||||
case 0x00DC:
|
||||
case 0x00DF:
|
||||
case 0x00E0:
|
||||
case 0x00E1:
|
||||
case 0x00E2:
|
||||
case 0x00E3:
|
||||
case 0x00E4:
|
||||
case 0x00E5:
|
||||
case 0x00E6:
|
||||
case 0x00E7:
|
||||
case 0x00E8:
|
||||
case 0x00E9:
|
||||
case 0x00EA:
|
||||
case 0x00EB:
|
||||
case 0x00EC:
|
||||
case 0x00ED:
|
||||
case 0x00EE:
|
||||
case 0x00EF:
|
||||
case 0x00F1:
|
||||
case 0x00F2:
|
||||
case 0x00F3:
|
||||
case 0x00F4:
|
||||
case 0x00F5:
|
||||
case 0x00F6:
|
||||
case 0x00F7:
|
||||
case 0x00F8:
|
||||
case 0x00F9:
|
||||
case 0x00FA:
|
||||
case 0x00FB:
|
||||
case 0x00FC:
|
||||
case 0x00FF:
|
||||
break;
|
||||
case 0x011E: ch = 0xD0; break;
|
||||
case 0x011F: ch = 0xF0; break;
|
||||
case 0x0130: ch = 0xDD; break;
|
||||
case 0x0131: ch = 0xFD; break;
|
||||
case 0x0152: ch = 0x8C; break;
|
||||
case 0x0153: ch = 0x9C; break;
|
||||
case 0x015E: ch = 0xDE; break;
|
||||
case 0x015F: ch = 0xFE; break;
|
||||
case 0x0160: ch = 0x8A; break;
|
||||
case 0x0161: ch = 0x9A; break;
|
||||
case 0x0178: ch = 0x9F; break;
|
||||
case 0x0192: ch = 0x83; break;
|
||||
case 0x02C6: ch = 0x88; break;
|
||||
case 0x02DC: ch = 0x98; break;
|
||||
case 0x2013: ch = 0x96; break;
|
||||
case 0x2014: ch = 0x97; break;
|
||||
case 0x2018: ch = 0x91; break;
|
||||
case 0x2019: ch = 0x92; break;
|
||||
case 0x201A: ch = 0x82; break;
|
||||
case 0x201C: ch = 0x93; break;
|
||||
case 0x201D: ch = 0x94; break;
|
||||
case 0x201E: ch = 0x84; break;
|
||||
case 0x2020: ch = 0x86; break;
|
||||
case 0x2021: ch = 0x87; break;
|
||||
case 0x2022: ch = 0x95; break;
|
||||
case 0x2026: ch = 0x85; break;
|
||||
case 0x2030: ch = 0x89; break;
|
||||
case 0x2039: ch = 0x8B; break;
|
||||
case 0x203A: ch = 0x9B; break;
|
||||
case 0x20AC: ch = 0x80; break;
|
||||
case 0x2122: ch = 0x99; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ToBytes(String s, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(s[charIndex++]);
|
||||
if(ch >= 128) switch(ch)
|
||||
{
|
||||
case 0x0081:
|
||||
case 0x008D:
|
||||
case 0x008E:
|
||||
case 0x008F:
|
||||
case 0x0090:
|
||||
case 0x009D:
|
||||
case 0x009E:
|
||||
case 0x00A0:
|
||||
case 0x00A1:
|
||||
case 0x00A2:
|
||||
case 0x00A3:
|
||||
case 0x00A4:
|
||||
case 0x00A5:
|
||||
case 0x00A6:
|
||||
case 0x00A7:
|
||||
case 0x00A8:
|
||||
case 0x00A9:
|
||||
case 0x00AA:
|
||||
case 0x00AB:
|
||||
case 0x00AC:
|
||||
case 0x00AD:
|
||||
case 0x00AE:
|
||||
case 0x00AF:
|
||||
case 0x00B0:
|
||||
case 0x00B1:
|
||||
case 0x00B2:
|
||||
case 0x00B3:
|
||||
case 0x00B4:
|
||||
case 0x00B5:
|
||||
case 0x00B6:
|
||||
case 0x00B7:
|
||||
case 0x00B8:
|
||||
case 0x00B9:
|
||||
case 0x00BA:
|
||||
case 0x00BB:
|
||||
case 0x00BC:
|
||||
case 0x00BD:
|
||||
case 0x00BE:
|
||||
case 0x00BF:
|
||||
case 0x00C0:
|
||||
case 0x00C1:
|
||||
case 0x00C2:
|
||||
case 0x00C3:
|
||||
case 0x00C4:
|
||||
case 0x00C5:
|
||||
case 0x00C6:
|
||||
case 0x00C7:
|
||||
case 0x00C8:
|
||||
case 0x00C9:
|
||||
case 0x00CA:
|
||||
case 0x00CB:
|
||||
case 0x00CC:
|
||||
case 0x00CD:
|
||||
case 0x00CE:
|
||||
case 0x00CF:
|
||||
case 0x00D1:
|
||||
case 0x00D2:
|
||||
case 0x00D3:
|
||||
case 0x00D4:
|
||||
case 0x00D5:
|
||||
case 0x00D6:
|
||||
case 0x00D7:
|
||||
case 0x00D8:
|
||||
case 0x00D9:
|
||||
case 0x00DA:
|
||||
case 0x00DB:
|
||||
case 0x00DC:
|
||||
case 0x00DF:
|
||||
case 0x00E0:
|
||||
case 0x00E1:
|
||||
case 0x00E2:
|
||||
case 0x00E3:
|
||||
case 0x00E4:
|
||||
case 0x00E5:
|
||||
case 0x00E6:
|
||||
case 0x00E7:
|
||||
case 0x00E8:
|
||||
case 0x00E9:
|
||||
case 0x00EA:
|
||||
case 0x00EB:
|
||||
case 0x00EC:
|
||||
case 0x00ED:
|
||||
case 0x00EE:
|
||||
case 0x00EF:
|
||||
case 0x00F1:
|
||||
case 0x00F2:
|
||||
case 0x00F3:
|
||||
case 0x00F4:
|
||||
case 0x00F5:
|
||||
case 0x00F6:
|
||||
case 0x00F7:
|
||||
case 0x00F8:
|
||||
case 0x00F9:
|
||||
case 0x00FA:
|
||||
case 0x00FB:
|
||||
case 0x00FC:
|
||||
case 0x00FF:
|
||||
break;
|
||||
case 0x011E: ch = 0xD0; break;
|
||||
case 0x011F: ch = 0xF0; break;
|
||||
case 0x0130: ch = 0xDD; break;
|
||||
case 0x0131: ch = 0xFD; break;
|
||||
case 0x0152: ch = 0x8C; break;
|
||||
case 0x0153: ch = 0x9C; break;
|
||||
case 0x015E: ch = 0xDE; break;
|
||||
case 0x015F: ch = 0xFE; break;
|
||||
case 0x0160: ch = 0x8A; break;
|
||||
case 0x0161: ch = 0x9A; break;
|
||||
case 0x0178: ch = 0x9F; break;
|
||||
case 0x0192: ch = 0x83; break;
|
||||
case 0x02C6: ch = 0x88; break;
|
||||
case 0x02DC: ch = 0x98; break;
|
||||
case 0x2013: ch = 0x96; break;
|
||||
case 0x2014: ch = 0x97; break;
|
||||
case 0x2018: ch = 0x91; break;
|
||||
case 0x2019: ch = 0x92; break;
|
||||
case 0x201A: ch = 0x82; break;
|
||||
case 0x201C: ch = 0x93; break;
|
||||
case 0x201D: ch = 0x94; break;
|
||||
case 0x201E: ch = 0x84; break;
|
||||
case 0x2020: ch = 0x86; break;
|
||||
case 0x2021: ch = 0x87; break;
|
||||
case 0x2022: ch = 0x95; break;
|
||||
case 0x2026: ch = 0x85; break;
|
||||
case 0x2030: ch = 0x89; break;
|
||||
case 0x2039: ch = 0x8B; break;
|
||||
case 0x203A: ch = 0x9B; break;
|
||||
case 0x20AC: ch = 0x80; break;
|
||||
case 0x2122: ch = 0x99; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
}; // class CP1254
|
||||
|
||||
public class ENCwindows_1254 : CP1254
|
||||
{
|
||||
public ENCwindows_1254() : base() {}
|
||||
|
||||
}; // class ENCwindows_1254
|
||||
|
||||
}; // namespace I18N.MidEast
|
||||
@@ -0,0 +1,393 @@
|
||||
/*
|
||||
* CP1255.cs - Hebrew (Windows) code page.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// Generated from "ibm-5351.ucm".
|
||||
|
||||
namespace I18N.MidEast
|
||||
{
|
||||
|
||||
using System;
|
||||
using I18N.Common;
|
||||
|
||||
public class CP1255 : ByteEncoding
|
||||
{
|
||||
public CP1255()
|
||||
: base(1255, ToChars, "Hebrew (Windows)",
|
||||
"windows-1255", "windows-1255", "windows-1255",
|
||||
true, true, true, true, 1255)
|
||||
{}
|
||||
|
||||
private static readonly char[] ToChars = {
|
||||
'\u0000', '\u0001', '\u0002', '\u0003', '\u0004', '\u0005',
|
||||
'\u0006', '\u0007', '\u0008', '\u0009', '\u000A', '\u000B',
|
||||
'\u000C', '\u000D', '\u000E', '\u000F', '\u0010', '\u0011',
|
||||
'\u0012', '\u0013', '\u0014', '\u0015', '\u0016', '\u0017',
|
||||
'\u0018', '\u0019', '\u001A', '\u001B', '\u001C', '\u001D',
|
||||
'\u001E', '\u001F', '\u0020', '\u0021', '\u0022', '\u0023',
|
||||
'\u0024', '\u0025', '\u0026', '\u0027', '\u0028', '\u0029',
|
||||
'\u002A', '\u002B', '\u002C', '\u002D', '\u002E', '\u002F',
|
||||
'\u0030', '\u0031', '\u0032', '\u0033', '\u0034', '\u0035',
|
||||
'\u0036', '\u0037', '\u0038', '\u0039', '\u003A', '\u003B',
|
||||
'\u003C', '\u003D', '\u003E', '\u003F', '\u0040', '\u0041',
|
||||
'\u0042', '\u0043', '\u0044', '\u0045', '\u0046', '\u0047',
|
||||
'\u0048', '\u0049', '\u004A', '\u004B', '\u004C', '\u004D',
|
||||
'\u004E', '\u004F', '\u0050', '\u0051', '\u0052', '\u0053',
|
||||
'\u0054', '\u0055', '\u0056', '\u0057', '\u0058', '\u0059',
|
||||
'\u005A', '\u005B', '\u005C', '\u005D', '\u005E', '\u005F',
|
||||
'\u0060', '\u0061', '\u0062', '\u0063', '\u0064', '\u0065',
|
||||
'\u0066', '\u0067', '\u0068', '\u0069', '\u006A', '\u006B',
|
||||
'\u006C', '\u006D', '\u006E', '\u006F', '\u0070', '\u0071',
|
||||
'\u0072', '\u0073', '\u0074', '\u0075', '\u0076', '\u0077',
|
||||
'\u0078', '\u0079', '\u007A', '\u007B', '\u007C', '\u007D',
|
||||
'\u007E', '\u007F', '\u20AC', '\u0081', '\u201A', '\u0192',
|
||||
'\u201E', '\u2026', '\u2020', '\u2021', '\u02C6', '\u2030',
|
||||
'\u008A', '\u2039', '\u008C', '\u008D', '\u008E', '\u008F',
|
||||
'\u0090', '\u2018', '\u2019', '\u201C', '\u201D', '\u2022',
|
||||
'\u2013', '\u2014', '\u02DC', '\u2122', '\u009A', '\u203A',
|
||||
'\u009C', '\u009D', '\u009E', '\u009F', '\u00A0', '\u00A1',
|
||||
'\u00A2', '\u00A3', '\u20AA', '\u00A5', '\u00A6', '\u00A7',
|
||||
'\u00A8', '\u00A9', '\u00D7', '\u00AB', '\u00AC', '\u00AD',
|
||||
'\u00AE', '\u00AF', '\u00B0', '\u00B1', '\u00B2', '\u00B3',
|
||||
'\u00B4', '\u00B5', '\u00B6', '\u00B7', '\u00B8', '\u00B9',
|
||||
'\u00F7', '\u00BB', '\u00BC', '\u00BD', '\u00BE', '\u00BF',
|
||||
'\u05B0', '\u05B1', '\u05B2', '\u05B3', '\u05B4', '\u05B5',
|
||||
'\u05B6', '\u05B7', '\u05B8', '\u05B9', '\u003F', '\u05BB',
|
||||
'\u05BC', '\u05BD', '\u05BE', '\u05BF', '\u05C0', '\u05C1',
|
||||
'\u05C2', '\u05C3', '\u05F0', '\u05F1', '\u05F2', '\u05F3',
|
||||
'\u05F4', '\u003F', '\u003F', '\u003F', '\u003F', '\u003F',
|
||||
'\u003F', '\u003F', '\u05D0', '\u05D1', '\u05D2', '\u05D3',
|
||||
'\u05D4', '\u05D5', '\u05D6', '\u05D7', '\u05D8', '\u05D9',
|
||||
'\u05DA', '\u05DB', '\u05DC', '\u05DD', '\u05DE', '\u05DF',
|
||||
'\u05E0', '\u05E1', '\u05E2', '\u05E3', '\u05E4', '\u05E5',
|
||||
'\u05E6', '\u05E7', '\u05E8', '\u05E9', '\u05EA', '\u003F',
|
||||
'\u003F', '\u200E', '\u200F', '\u003F',
|
||||
};
|
||||
|
||||
protected override void ToBytes(char[] chars, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(chars[charIndex++]);
|
||||
if(ch >= 128) switch(ch)
|
||||
{
|
||||
case 0x0081:
|
||||
case 0x008A:
|
||||
case 0x008C:
|
||||
case 0x008D:
|
||||
case 0x008E:
|
||||
case 0x008F:
|
||||
case 0x0090:
|
||||
case 0x009A:
|
||||
case 0x009C:
|
||||
case 0x009D:
|
||||
case 0x009E:
|
||||
case 0x009F:
|
||||
case 0x00A0:
|
||||
case 0x00A1:
|
||||
case 0x00A2:
|
||||
case 0x00A3:
|
||||
case 0x00A5:
|
||||
case 0x00A6:
|
||||
case 0x00A7:
|
||||
case 0x00A8:
|
||||
case 0x00A9:
|
||||
case 0x00AB:
|
||||
case 0x00AC:
|
||||
case 0x00AD:
|
||||
case 0x00AE:
|
||||
case 0x00AF:
|
||||
case 0x00B0:
|
||||
case 0x00B1:
|
||||
case 0x00B2:
|
||||
case 0x00B3:
|
||||
case 0x00B4:
|
||||
case 0x00B5:
|
||||
case 0x00B6:
|
||||
case 0x00B7:
|
||||
case 0x00B8:
|
||||
case 0x00B9:
|
||||
case 0x00BB:
|
||||
case 0x00BC:
|
||||
case 0x00BD:
|
||||
case 0x00BE:
|
||||
case 0x00BF:
|
||||
break;
|
||||
case 0x00D7: ch = 0xAA; break;
|
||||
case 0x00F7: ch = 0xBA; break;
|
||||
case 0x0192: ch = 0x83; break;
|
||||
case 0x02C6: ch = 0x88; break;
|
||||
case 0x02DC: ch = 0x98; break;
|
||||
case 0x05B0:
|
||||
case 0x05B1:
|
||||
case 0x05B2:
|
||||
case 0x05B3:
|
||||
case 0x05B4:
|
||||
case 0x05B5:
|
||||
case 0x05B6:
|
||||
case 0x05B7:
|
||||
case 0x05B8:
|
||||
case 0x05B9:
|
||||
ch -= 0x04F0;
|
||||
break;
|
||||
case 0x05BB:
|
||||
case 0x05BC:
|
||||
case 0x05BD:
|
||||
case 0x05BE:
|
||||
case 0x05BF:
|
||||
case 0x05C0:
|
||||
case 0x05C1:
|
||||
case 0x05C2:
|
||||
case 0x05C3:
|
||||
ch -= 0x04F0;
|
||||
break;
|
||||
case 0x05D0:
|
||||
case 0x05D1:
|
||||
case 0x05D2:
|
||||
case 0x05D3:
|
||||
case 0x05D4:
|
||||
case 0x05D5:
|
||||
case 0x05D6:
|
||||
case 0x05D7:
|
||||
case 0x05D8:
|
||||
case 0x05D9:
|
||||
case 0x05DA:
|
||||
case 0x05DB:
|
||||
case 0x05DC:
|
||||
case 0x05DD:
|
||||
case 0x05DE:
|
||||
case 0x05DF:
|
||||
case 0x05E0:
|
||||
case 0x05E1:
|
||||
case 0x05E2:
|
||||
case 0x05E3:
|
||||
case 0x05E4:
|
||||
case 0x05E5:
|
||||
case 0x05E6:
|
||||
case 0x05E7:
|
||||
case 0x05E8:
|
||||
case 0x05E9:
|
||||
case 0x05EA:
|
||||
ch -= 0x04F0;
|
||||
break;
|
||||
case 0x05F0:
|
||||
case 0x05F1:
|
||||
case 0x05F2:
|
||||
case 0x05F3:
|
||||
case 0x05F4:
|
||||
ch -= 0x051C;
|
||||
break;
|
||||
case 0x200E: ch = 0xFD; break;
|
||||
case 0x200F: ch = 0xFE; break;
|
||||
case 0x2013: ch = 0x96; break;
|
||||
case 0x2014: ch = 0x97; break;
|
||||
case 0x2018: ch = 0x91; break;
|
||||
case 0x2019: ch = 0x92; break;
|
||||
case 0x201A: ch = 0x82; break;
|
||||
case 0x201C: ch = 0x93; break;
|
||||
case 0x201D: ch = 0x94; break;
|
||||
case 0x201E: ch = 0x84; break;
|
||||
case 0x2020: ch = 0x86; break;
|
||||
case 0x2021: ch = 0x87; break;
|
||||
case 0x2022: ch = 0x95; break;
|
||||
case 0x2026: ch = 0x85; break;
|
||||
case 0x2030: ch = 0x89; break;
|
||||
case 0x2039: ch = 0x8B; break;
|
||||
case 0x203A: ch = 0x9B; break;
|
||||
case 0x20AA: ch = 0xA4; break;
|
||||
case 0x20AC: ch = 0x80; break;
|
||||
case 0x2122: ch = 0x99; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ToBytes(String s, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(s[charIndex++]);
|
||||
if(ch >= 128) switch(ch)
|
||||
{
|
||||
case 0x0081:
|
||||
case 0x008A:
|
||||
case 0x008C:
|
||||
case 0x008D:
|
||||
case 0x008E:
|
||||
case 0x008F:
|
||||
case 0x0090:
|
||||
case 0x009A:
|
||||
case 0x009C:
|
||||
case 0x009D:
|
||||
case 0x009E:
|
||||
case 0x009F:
|
||||
case 0x00A0:
|
||||
case 0x00A1:
|
||||
case 0x00A2:
|
||||
case 0x00A3:
|
||||
case 0x00A5:
|
||||
case 0x00A6:
|
||||
case 0x00A7:
|
||||
case 0x00A8:
|
||||
case 0x00A9:
|
||||
case 0x00AB:
|
||||
case 0x00AC:
|
||||
case 0x00AD:
|
||||
case 0x00AE:
|
||||
case 0x00AF:
|
||||
case 0x00B0:
|
||||
case 0x00B1:
|
||||
case 0x00B2:
|
||||
case 0x00B3:
|
||||
case 0x00B4:
|
||||
case 0x00B5:
|
||||
case 0x00B6:
|
||||
case 0x00B7:
|
||||
case 0x00B8:
|
||||
case 0x00B9:
|
||||
case 0x00BB:
|
||||
case 0x00BC:
|
||||
case 0x00BD:
|
||||
case 0x00BE:
|
||||
case 0x00BF:
|
||||
break;
|
||||
case 0x00D7: ch = 0xAA; break;
|
||||
case 0x00F7: ch = 0xBA; break;
|
||||
case 0x0192: ch = 0x83; break;
|
||||
case 0x02C6: ch = 0x88; break;
|
||||
case 0x02DC: ch = 0x98; break;
|
||||
case 0x05B0:
|
||||
case 0x05B1:
|
||||
case 0x05B2:
|
||||
case 0x05B3:
|
||||
case 0x05B4:
|
||||
case 0x05B5:
|
||||
case 0x05B6:
|
||||
case 0x05B7:
|
||||
case 0x05B8:
|
||||
case 0x05B9:
|
||||
ch -= 0x04F0;
|
||||
break;
|
||||
case 0x05BB:
|
||||
case 0x05BC:
|
||||
case 0x05BD:
|
||||
case 0x05BE:
|
||||
case 0x05BF:
|
||||
case 0x05C0:
|
||||
case 0x05C1:
|
||||
case 0x05C2:
|
||||
case 0x05C3:
|
||||
ch -= 0x04F0;
|
||||
break;
|
||||
case 0x05D0:
|
||||
case 0x05D1:
|
||||
case 0x05D2:
|
||||
case 0x05D3:
|
||||
case 0x05D4:
|
||||
case 0x05D5:
|
||||
case 0x05D6:
|
||||
case 0x05D7:
|
||||
case 0x05D8:
|
||||
case 0x05D9:
|
||||
case 0x05DA:
|
||||
case 0x05DB:
|
||||
case 0x05DC:
|
||||
case 0x05DD:
|
||||
case 0x05DE:
|
||||
case 0x05DF:
|
||||
case 0x05E0:
|
||||
case 0x05E1:
|
||||
case 0x05E2:
|
||||
case 0x05E3:
|
||||
case 0x05E4:
|
||||
case 0x05E5:
|
||||
case 0x05E6:
|
||||
case 0x05E7:
|
||||
case 0x05E8:
|
||||
case 0x05E9:
|
||||
case 0x05EA:
|
||||
ch -= 0x04F0;
|
||||
break;
|
||||
case 0x05F0:
|
||||
case 0x05F1:
|
||||
case 0x05F2:
|
||||
case 0x05F3:
|
||||
case 0x05F4:
|
||||
ch -= 0x051C;
|
||||
break;
|
||||
case 0x200E: ch = 0xFD; break;
|
||||
case 0x200F: ch = 0xFE; break;
|
||||
case 0x2013: ch = 0x96; break;
|
||||
case 0x2014: ch = 0x97; break;
|
||||
case 0x2018: ch = 0x91; break;
|
||||
case 0x2019: ch = 0x92; break;
|
||||
case 0x201A: ch = 0x82; break;
|
||||
case 0x201C: ch = 0x93; break;
|
||||
case 0x201D: ch = 0x94; break;
|
||||
case 0x201E: ch = 0x84; break;
|
||||
case 0x2020: ch = 0x86; break;
|
||||
case 0x2021: ch = 0x87; break;
|
||||
case 0x2022: ch = 0x95; break;
|
||||
case 0x2026: ch = 0x85; break;
|
||||
case 0x2030: ch = 0x89; break;
|
||||
case 0x2039: ch = 0x8B; break;
|
||||
case 0x203A: ch = 0x9B; break;
|
||||
case 0x20AA: ch = 0xA4; break;
|
||||
case 0x20AC: ch = 0x80; break;
|
||||
case 0x2122: ch = 0x99; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
}; // class CP1255
|
||||
|
||||
public class ENCwindows_1255 : CP1255
|
||||
{
|
||||
public ENCwindows_1255() : base() {}
|
||||
|
||||
}; // class ENCwindows_1255
|
||||
|
||||
}; // namespace I18N.MidEast
|
||||
@@ -0,0 +1,771 @@
|
||||
/*
|
||||
* CP1256.cs - Arabic (Windows) code page.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// Generated from "ibm-5352.ucm".
|
||||
|
||||
namespace I18N.MidEast
|
||||
{
|
||||
|
||||
using System;
|
||||
using I18N.Common;
|
||||
|
||||
public class CP1256 : ByteEncoding
|
||||
{
|
||||
public CP1256()
|
||||
: base(1256, ToChars, "Arabic (Windows)",
|
||||
"windows-1256", "windows-1256", "windows-1256",
|
||||
true, true, true, true, 1256)
|
||||
{}
|
||||
|
||||
private static readonly char[] ToChars = {
|
||||
'\u0000', '\u0001', '\u0002', '\u0003', '\u0004', '\u0005',
|
||||
'\u0006', '\u0007', '\u0008', '\u0009', '\u000A', '\u000B',
|
||||
'\u000C', '\u000D', '\u000E', '\u000F', '\u0010', '\u0011',
|
||||
'\u0012', '\u0013', '\u0014', '\u0015', '\u0016', '\u0017',
|
||||
'\u0018', '\u0019', '\u001A', '\u001B', '\u001C', '\u001D',
|
||||
'\u001E', '\u001F', '\u0020', '\u0021', '\u0022', '\u0023',
|
||||
'\u0024', '\u0025', '\u0026', '\u0027', '\u0028', '\u0029',
|
||||
'\u002A', '\u002B', '\u002C', '\u002D', '\u002E', '\u002F',
|
||||
'\u0030', '\u0031', '\u0032', '\u0033', '\u0034', '\u0035',
|
||||
'\u0036', '\u0037', '\u0038', '\u0039', '\u003A', '\u003B',
|
||||
'\u003C', '\u003D', '\u003E', '\u003F', '\u0040', '\u0041',
|
||||
'\u0042', '\u0043', '\u0044', '\u0045', '\u0046', '\u0047',
|
||||
'\u0048', '\u0049', '\u004A', '\u004B', '\u004C', '\u004D',
|
||||
'\u004E', '\u004F', '\u0050', '\u0051', '\u0052', '\u0053',
|
||||
'\u0054', '\u0055', '\u0056', '\u0057', '\u0058', '\u0059',
|
||||
'\u005A', '\u005B', '\u005C', '\u005D', '\u005E', '\u005F',
|
||||
'\u0060', '\u0061', '\u0062', '\u0063', '\u0064', '\u0065',
|
||||
'\u0066', '\u0067', '\u0068', '\u0069', '\u006A', '\u006B',
|
||||
'\u006C', '\u006D', '\u006E', '\u006F', '\u0070', '\u0071',
|
||||
'\u0072', '\u0073', '\u0074', '\u0075', '\u0076', '\u0077',
|
||||
'\u0078', '\u0079', '\u007A', '\u007B', '\u007C', '\u007D',
|
||||
'\u007E', '\u007F', '\u20AC', '\u067E', '\u201A', '\u0192',
|
||||
'\u201E', '\u2026', '\u2020', '\u2021', '\u02C6', '\u2030',
|
||||
'\u0679', '\u2039', '\u0152', '\u0686', '\u0698', '\u0688',
|
||||
'\u06AF', '\u2018', '\u2019', '\u201C', '\u201D', '\u2022',
|
||||
'\u2013', '\u2014', '\u06A9', '\u2122', '\u0691', '\u203A',
|
||||
'\u0153', '\u200C', '\u200D', '\u06BA', '\u00A0', '\u060C',
|
||||
'\u00A2', '\u00A3', '\u00A4', '\u00A5', '\u00A6', '\u00A7',
|
||||
'\u00A8', '\u00A9', '\u06BE', '\u00AB', '\u00AC', '\u00AD',
|
||||
'\u00AE', '\u00AF', '\u00B0', '\u00B1', '\u00B2', '\u00B3',
|
||||
'\u00B4', '\u00B5', '\u00B6', '\u00B7', '\u00B8', '\u00B9',
|
||||
'\u061B', '\u00BB', '\u00BC', '\u00BD', '\u00BE', '\u061F',
|
||||
'\u06C1', '\u0621', '\u0622', '\u0623', '\u0624', '\u0625',
|
||||
'\u0626', '\u0627', '\u0628', '\u0629', '\u062A', '\u062B',
|
||||
'\u062C', '\u062D', '\u062E', '\u062F', '\u0630', '\u0631',
|
||||
'\u0632', '\u0633', '\u0634', '\u0635', '\u0636', '\u00D7',
|
||||
'\u0637', '\u0638', '\u0639', '\u063A', '\u0640', '\u0641',
|
||||
'\u0642', '\u0643', '\u00E0', '\u0644', '\u00E2', '\u0645',
|
||||
'\u0646', '\u0647', '\u0648', '\u00E7', '\u00E8', '\u00E9',
|
||||
'\u00EA', '\u00EB', '\u0649', '\u064A', '\u00EE', '\u00EF',
|
||||
'\u064B', '\u064C', '\u064D', '\u064E', '\u00F4', '\u064F',
|
||||
'\u0650', '\u00F7', '\u0651', '\u00F9', '\u0652', '\u00FB',
|
||||
'\u00FC', '\u200E', '\u200F', '\u06D2',
|
||||
};
|
||||
|
||||
protected override void ToBytes(char[] chars, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(chars[charIndex++]);
|
||||
if(ch >= 128) switch(ch)
|
||||
{
|
||||
case 0x00A0:
|
||||
case 0x00A2:
|
||||
case 0x00A3:
|
||||
case 0x00A4:
|
||||
case 0x00A5:
|
||||
case 0x00A6:
|
||||
case 0x00A7:
|
||||
case 0x00A8:
|
||||
case 0x00A9:
|
||||
case 0x00AB:
|
||||
case 0x00AC:
|
||||
case 0x00AD:
|
||||
case 0x00AE:
|
||||
case 0x00AF:
|
||||
case 0x00B0:
|
||||
case 0x00B1:
|
||||
case 0x00B2:
|
||||
case 0x00B3:
|
||||
case 0x00B4:
|
||||
case 0x00B5:
|
||||
case 0x00B6:
|
||||
case 0x00B7:
|
||||
case 0x00B8:
|
||||
case 0x00B9:
|
||||
case 0x00BB:
|
||||
case 0x00BC:
|
||||
case 0x00BD:
|
||||
case 0x00BE:
|
||||
case 0x00D7:
|
||||
case 0x00E0:
|
||||
case 0x00E2:
|
||||
case 0x00E7:
|
||||
case 0x00E8:
|
||||
case 0x00E9:
|
||||
case 0x00EA:
|
||||
case 0x00EB:
|
||||
case 0x00EE:
|
||||
case 0x00EF:
|
||||
case 0x00F4:
|
||||
case 0x00F7:
|
||||
case 0x00F9:
|
||||
case 0x00FB:
|
||||
case 0x00FC:
|
||||
break;
|
||||
case 0x0152: ch = 0x8C; break;
|
||||
case 0x0153: ch = 0x9C; break;
|
||||
case 0x0192: ch = 0x83; break;
|
||||
case 0x02C6: ch = 0x88; break;
|
||||
case 0x060C: ch = 0xA1; break;
|
||||
case 0x061B: ch = 0xBA; break;
|
||||
case 0x061F: ch = 0xBF; break;
|
||||
case 0x0621:
|
||||
case 0x0622:
|
||||
case 0x0623:
|
||||
case 0x0624:
|
||||
case 0x0625:
|
||||
case 0x0626:
|
||||
case 0x0627:
|
||||
case 0x0628:
|
||||
case 0x0629:
|
||||
case 0x062A:
|
||||
case 0x062B:
|
||||
case 0x062C:
|
||||
case 0x062D:
|
||||
case 0x062E:
|
||||
case 0x062F:
|
||||
case 0x0630:
|
||||
case 0x0631:
|
||||
case 0x0632:
|
||||
case 0x0633:
|
||||
case 0x0634:
|
||||
case 0x0635:
|
||||
case 0x0636:
|
||||
ch -= 0x0560;
|
||||
break;
|
||||
case 0x0637:
|
||||
case 0x0638:
|
||||
case 0x0639:
|
||||
case 0x063A:
|
||||
ch -= 0x055F;
|
||||
break;
|
||||
case 0x0640:
|
||||
case 0x0641:
|
||||
case 0x0642:
|
||||
case 0x0643:
|
||||
ch -= 0x0564;
|
||||
break;
|
||||
case 0x0644: ch = 0xE1; break;
|
||||
case 0x0645:
|
||||
case 0x0646:
|
||||
case 0x0647:
|
||||
case 0x0648:
|
||||
ch -= 0x0562;
|
||||
break;
|
||||
case 0x0649: ch = 0xEC; break;
|
||||
case 0x064A: ch = 0xED; break;
|
||||
case 0x064B:
|
||||
case 0x064C:
|
||||
case 0x064D:
|
||||
case 0x064E:
|
||||
ch -= 0x055B;
|
||||
break;
|
||||
case 0x064F: ch = 0xF5; break;
|
||||
case 0x0650: ch = 0xF6; break;
|
||||
case 0x0651: ch = 0xF8; break;
|
||||
case 0x0652: ch = 0xFA; break;
|
||||
case 0x0660:
|
||||
case 0x0661:
|
||||
case 0x0662:
|
||||
case 0x0663:
|
||||
case 0x0664:
|
||||
case 0x0665:
|
||||
case 0x0666:
|
||||
case 0x0667:
|
||||
case 0x0668:
|
||||
case 0x0669:
|
||||
ch -= 0x0630;
|
||||
break;
|
||||
case 0x066B: ch = 0x2C; break;
|
||||
case 0x066C: ch = 0x2E; break;
|
||||
case 0x0679: ch = 0x8A; break;
|
||||
case 0x067E: ch = 0x81; break;
|
||||
case 0x0686: ch = 0x8D; break;
|
||||
case 0x0688: ch = 0x8F; break;
|
||||
case 0x0691: ch = 0x9A; break;
|
||||
case 0x0698: ch = 0x8E; break;
|
||||
case 0x06A9: ch = 0x98; break;
|
||||
case 0x06AF: ch = 0x90; break;
|
||||
case 0x06BA: ch = 0x9F; break;
|
||||
case 0x06BE: ch = 0xAA; break;
|
||||
case 0x06C1: ch = 0xC0; break;
|
||||
case 0x06D2: ch = 0xFF; break;
|
||||
case 0x06F0:
|
||||
case 0x06F1:
|
||||
case 0x06F2:
|
||||
case 0x06F3:
|
||||
case 0x06F4:
|
||||
case 0x06F5:
|
||||
case 0x06F6:
|
||||
case 0x06F7:
|
||||
case 0x06F8:
|
||||
case 0x06F9:
|
||||
ch -= 0x06C0;
|
||||
break;
|
||||
case 0x200C: ch = 0x9D; break;
|
||||
case 0x200D: ch = 0x9E; break;
|
||||
case 0x200E: ch = 0xFD; break;
|
||||
case 0x200F: ch = 0xFE; break;
|
||||
case 0x2013: ch = 0x96; break;
|
||||
case 0x2014: ch = 0x97; break;
|
||||
case 0x2018: ch = 0x91; break;
|
||||
case 0x2019: ch = 0x92; break;
|
||||
case 0x201A: ch = 0x82; break;
|
||||
case 0x201C: ch = 0x93; break;
|
||||
case 0x201D: ch = 0x94; break;
|
||||
case 0x201E: ch = 0x84; break;
|
||||
case 0x2020: ch = 0x86; break;
|
||||
case 0x2021: ch = 0x87; break;
|
||||
case 0x2022: ch = 0x95; break;
|
||||
case 0x2026: ch = 0x85; break;
|
||||
case 0x2030: ch = 0x89; break;
|
||||
case 0x2039: ch = 0x8B; break;
|
||||
case 0x203A: ch = 0x9B; break;
|
||||
case 0x20AC: ch = 0x80; break;
|
||||
case 0x2122: ch = 0x99; break;
|
||||
case 0xFB56: ch = 0x81; break;
|
||||
case 0xFB58: ch = 0x81; break;
|
||||
case 0xFB66: ch = 0x8A; break;
|
||||
case 0xFB68: ch = 0x8A; break;
|
||||
case 0xFB7A: ch = 0x8D; break;
|
||||
case 0xFB7C: ch = 0x8D; break;
|
||||
case 0xFB88: ch = 0x8F; break;
|
||||
case 0xFB8A: ch = 0x8E; break;
|
||||
case 0xFB8C: ch = 0x9A; break;
|
||||
case 0xFB8E: ch = 0x98; break;
|
||||
case 0xFB90: ch = 0x98; break;
|
||||
case 0xFB92: ch = 0x90; break;
|
||||
case 0xFB94: ch = 0x90; break;
|
||||
case 0xFB9E: ch = 0x9F; break;
|
||||
case 0xFBA6: ch = 0xC0; break;
|
||||
case 0xFBA8: ch = 0xC0; break;
|
||||
case 0xFBAA: ch = 0xAA; break;
|
||||
case 0xFBAC: ch = 0xAA; break;
|
||||
case 0xFBAE: ch = 0xFF; break;
|
||||
case 0xFE70: ch = 0xF0; break;
|
||||
case 0xFE71: ch = 0xF0; break;
|
||||
case 0xFE72: ch = 0xF1; break;
|
||||
case 0xFE74: ch = 0xF2; break;
|
||||
case 0xFE76: ch = 0xF3; break;
|
||||
case 0xFE77: ch = 0xF3; break;
|
||||
case 0xFE78: ch = 0xF5; break;
|
||||
case 0xFE79: ch = 0xF5; break;
|
||||
case 0xFE7A: ch = 0xF6; break;
|
||||
case 0xFE7B: ch = 0xF6; break;
|
||||
case 0xFE7C: ch = 0xF8; break;
|
||||
case 0xFE7D: ch = 0xF8; break;
|
||||
case 0xFE7E: ch = 0xFA; break;
|
||||
case 0xFE7F: ch = 0xFA; break;
|
||||
case 0xFE80: ch = 0xC1; break;
|
||||
case 0xFE81: ch = 0xC2; break;
|
||||
case 0xFE82: ch = 0xC2; break;
|
||||
case 0xFE83: ch = 0xC3; break;
|
||||
case 0xFE84: ch = 0xC3; break;
|
||||
case 0xFE85: ch = 0xC4; break;
|
||||
case 0xFE86: ch = 0xC4; break;
|
||||
case 0xFE87: ch = 0xC5; break;
|
||||
case 0xFE88: ch = 0xC5; break;
|
||||
case 0xFE89: ch = 0xC6; break;
|
||||
case 0xFE8A: ch = 0xC6; break;
|
||||
case 0xFE8B: ch = 0xC6; break;
|
||||
case 0xFE8C: ch = 0xC6; break;
|
||||
case 0xFE8D: ch = 0xC7; break;
|
||||
case 0xFE8E: ch = 0xC7; break;
|
||||
case 0xFE8F: ch = 0xC8; break;
|
||||
case 0xFE90: ch = 0xC8; break;
|
||||
case 0xFE91: ch = 0xC8; break;
|
||||
case 0xFE92: ch = 0xC8; break;
|
||||
case 0xFE93: ch = 0xC9; break;
|
||||
case 0xFE94: ch = 0xC9; break;
|
||||
case 0xFE95: ch = 0xCA; break;
|
||||
case 0xFE96: ch = 0xCA; break;
|
||||
case 0xFE97: ch = 0xCA; break;
|
||||
case 0xFE98: ch = 0xCA; break;
|
||||
case 0xFE99: ch = 0xCB; break;
|
||||
case 0xFE9A: ch = 0xCB; break;
|
||||
case 0xFE9B: ch = 0xCB; break;
|
||||
case 0xFE9C: ch = 0xCB; break;
|
||||
case 0xFE9D: ch = 0xCC; break;
|
||||
case 0xFE9E: ch = 0xCC; break;
|
||||
case 0xFE9F: ch = 0xCC; break;
|
||||
case 0xFEA0: ch = 0xCC; break;
|
||||
case 0xFEA1: ch = 0xCD; break;
|
||||
case 0xFEA2: ch = 0xCD; break;
|
||||
case 0xFEA3: ch = 0xCD; break;
|
||||
case 0xFEA4: ch = 0xCD; break;
|
||||
case 0xFEA5: ch = 0xCE; break;
|
||||
case 0xFEA6: ch = 0xCE; break;
|
||||
case 0xFEA7: ch = 0xCE; break;
|
||||
case 0xFEA8: ch = 0xCE; break;
|
||||
case 0xFEA9: ch = 0xCF; break;
|
||||
case 0xFEAA: ch = 0xCF; break;
|
||||
case 0xFEAB: ch = 0xD0; break;
|
||||
case 0xFEAC: ch = 0xD0; break;
|
||||
case 0xFEAD: ch = 0xD1; break;
|
||||
case 0xFEAE: ch = 0xD1; break;
|
||||
case 0xFEAF: ch = 0xD2; break;
|
||||
case 0xFEB0: ch = 0xD2; break;
|
||||
case 0xFEB1: ch = 0xD3; break;
|
||||
case 0xFEB2: ch = 0xD3; break;
|
||||
case 0xFEB3: ch = 0xD3; break;
|
||||
case 0xFEB4: ch = 0xD3; break;
|
||||
case 0xFEB5: ch = 0xD4; break;
|
||||
case 0xFEB6: ch = 0xD4; break;
|
||||
case 0xFEB7: ch = 0xD4; break;
|
||||
case 0xFEB8: ch = 0xD4; break;
|
||||
case 0xFEB9: ch = 0xD5; break;
|
||||
case 0xFEBA: ch = 0xD5; break;
|
||||
case 0xFEBB: ch = 0xD5; break;
|
||||
case 0xFEBC: ch = 0xD5; break;
|
||||
case 0xFEBD: ch = 0xD6; break;
|
||||
case 0xFEBE: ch = 0xD6; break;
|
||||
case 0xFEBF: ch = 0xD6; break;
|
||||
case 0xFEC0: ch = 0xD6; break;
|
||||
case 0xFEC1: ch = 0xD8; break;
|
||||
case 0xFEC2: ch = 0xD8; break;
|
||||
case 0xFEC3: ch = 0xD8; break;
|
||||
case 0xFEC4: ch = 0xD8; break;
|
||||
case 0xFEC5: ch = 0xD9; break;
|
||||
case 0xFEC6: ch = 0xD9; break;
|
||||
case 0xFEC7: ch = 0xD9; break;
|
||||
case 0xFEC8: ch = 0xD9; break;
|
||||
case 0xFEC9: ch = 0xDA; break;
|
||||
case 0xFECA: ch = 0xDA; break;
|
||||
case 0xFECB: ch = 0xDA; break;
|
||||
case 0xFECC: ch = 0xDA; break;
|
||||
case 0xFECD: ch = 0xDB; break;
|
||||
case 0xFECE: ch = 0xDB; break;
|
||||
case 0xFECF: ch = 0xDB; break;
|
||||
case 0xFED0: ch = 0xDB; break;
|
||||
case 0xFED1: ch = 0xDD; break;
|
||||
case 0xFED2: ch = 0xDD; break;
|
||||
case 0xFED3: ch = 0xDD; break;
|
||||
case 0xFED4: ch = 0xDD; break;
|
||||
case 0xFED5: ch = 0xDE; break;
|
||||
case 0xFED6: ch = 0xDE; break;
|
||||
case 0xFED7: ch = 0xDE; break;
|
||||
case 0xFED8: ch = 0xDE; break;
|
||||
case 0xFED9: ch = 0xDF; break;
|
||||
case 0xFEDA: ch = 0xDF; break;
|
||||
case 0xFEDB: ch = 0xDF; break;
|
||||
case 0xFEDC: ch = 0xDF; break;
|
||||
case 0xFEDD: ch = 0xE1; break;
|
||||
case 0xFEDE: ch = 0xE1; break;
|
||||
case 0xFEDF: ch = 0xE1; break;
|
||||
case 0xFEE0: ch = 0xE1; break;
|
||||
case 0xFEE1: ch = 0xE3; break;
|
||||
case 0xFEE2: ch = 0xE3; break;
|
||||
case 0xFEE3: ch = 0xE3; break;
|
||||
case 0xFEE4: ch = 0xE3; break;
|
||||
case 0xFEE5: ch = 0xE4; break;
|
||||
case 0xFEE6: ch = 0xE4; break;
|
||||
case 0xFEE7: ch = 0xE4; break;
|
||||
case 0xFEE8: ch = 0xE4; break;
|
||||
case 0xFEE9: ch = 0xE5; break;
|
||||
case 0xFEEA: ch = 0xE5; break;
|
||||
case 0xFEEB: ch = 0xE5; break;
|
||||
case 0xFEEC: ch = 0xE5; break;
|
||||
case 0xFEED: ch = 0xE6; break;
|
||||
case 0xFEEE: ch = 0xE6; break;
|
||||
case 0xFEEF: ch = 0xEC; break;
|
||||
case 0xFEF0: ch = 0xEC; break;
|
||||
case 0xFEF1: ch = 0xED; break;
|
||||
case 0xFEF2: ch = 0xED; break;
|
||||
case 0xFEF3: ch = 0xED; break;
|
||||
case 0xFEF4: ch = 0xED; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ToBytes(String s, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(s[charIndex++]);
|
||||
if(ch >= 128) switch(ch)
|
||||
{
|
||||
case 0x00A0:
|
||||
case 0x00A2:
|
||||
case 0x00A3:
|
||||
case 0x00A4:
|
||||
case 0x00A5:
|
||||
case 0x00A6:
|
||||
case 0x00A7:
|
||||
case 0x00A8:
|
||||
case 0x00A9:
|
||||
case 0x00AB:
|
||||
case 0x00AC:
|
||||
case 0x00AD:
|
||||
case 0x00AE:
|
||||
case 0x00AF:
|
||||
case 0x00B0:
|
||||
case 0x00B1:
|
||||
case 0x00B2:
|
||||
case 0x00B3:
|
||||
case 0x00B4:
|
||||
case 0x00B5:
|
||||
case 0x00B6:
|
||||
case 0x00B7:
|
||||
case 0x00B8:
|
||||
case 0x00B9:
|
||||
case 0x00BB:
|
||||
case 0x00BC:
|
||||
case 0x00BD:
|
||||
case 0x00BE:
|
||||
case 0x00D7:
|
||||
case 0x00E0:
|
||||
case 0x00E2:
|
||||
case 0x00E7:
|
||||
case 0x00E8:
|
||||
case 0x00E9:
|
||||
case 0x00EA:
|
||||
case 0x00EB:
|
||||
case 0x00EE:
|
||||
case 0x00EF:
|
||||
case 0x00F4:
|
||||
case 0x00F7:
|
||||
case 0x00F9:
|
||||
case 0x00FB:
|
||||
case 0x00FC:
|
||||
break;
|
||||
case 0x0152: ch = 0x8C; break;
|
||||
case 0x0153: ch = 0x9C; break;
|
||||
case 0x0192: ch = 0x83; break;
|
||||
case 0x02C6: ch = 0x88; break;
|
||||
case 0x060C: ch = 0xA1; break;
|
||||
case 0x061B: ch = 0xBA; break;
|
||||
case 0x061F: ch = 0xBF; break;
|
||||
case 0x0621:
|
||||
case 0x0622:
|
||||
case 0x0623:
|
||||
case 0x0624:
|
||||
case 0x0625:
|
||||
case 0x0626:
|
||||
case 0x0627:
|
||||
case 0x0628:
|
||||
case 0x0629:
|
||||
case 0x062A:
|
||||
case 0x062B:
|
||||
case 0x062C:
|
||||
case 0x062D:
|
||||
case 0x062E:
|
||||
case 0x062F:
|
||||
case 0x0630:
|
||||
case 0x0631:
|
||||
case 0x0632:
|
||||
case 0x0633:
|
||||
case 0x0634:
|
||||
case 0x0635:
|
||||
case 0x0636:
|
||||
ch -= 0x0560;
|
||||
break;
|
||||
case 0x0637:
|
||||
case 0x0638:
|
||||
case 0x0639:
|
||||
case 0x063A:
|
||||
ch -= 0x055F;
|
||||
break;
|
||||
case 0x0640:
|
||||
case 0x0641:
|
||||
case 0x0642:
|
||||
case 0x0643:
|
||||
ch -= 0x0564;
|
||||
break;
|
||||
case 0x0644: ch = 0xE1; break;
|
||||
case 0x0645:
|
||||
case 0x0646:
|
||||
case 0x0647:
|
||||
case 0x0648:
|
||||
ch -= 0x0562;
|
||||
break;
|
||||
case 0x0649: ch = 0xEC; break;
|
||||
case 0x064A: ch = 0xED; break;
|
||||
case 0x064B:
|
||||
case 0x064C:
|
||||
case 0x064D:
|
||||
case 0x064E:
|
||||
ch -= 0x055B;
|
||||
break;
|
||||
case 0x064F: ch = 0xF5; break;
|
||||
case 0x0650: ch = 0xF6; break;
|
||||
case 0x0651: ch = 0xF8; break;
|
||||
case 0x0652: ch = 0xFA; break;
|
||||
case 0x0660:
|
||||
case 0x0661:
|
||||
case 0x0662:
|
||||
case 0x0663:
|
||||
case 0x0664:
|
||||
case 0x0665:
|
||||
case 0x0666:
|
||||
case 0x0667:
|
||||
case 0x0668:
|
||||
case 0x0669:
|
||||
ch -= 0x0630;
|
||||
break;
|
||||
case 0x066B: ch = 0x2C; break;
|
||||
case 0x066C: ch = 0x2E; break;
|
||||
case 0x0679: ch = 0x8A; break;
|
||||
case 0x067E: ch = 0x81; break;
|
||||
case 0x0686: ch = 0x8D; break;
|
||||
case 0x0688: ch = 0x8F; break;
|
||||
case 0x0691: ch = 0x9A; break;
|
||||
case 0x0698: ch = 0x8E; break;
|
||||
case 0x06A9: ch = 0x98; break;
|
||||
case 0x06AF: ch = 0x90; break;
|
||||
case 0x06BA: ch = 0x9F; break;
|
||||
case 0x06BE: ch = 0xAA; break;
|
||||
case 0x06C1: ch = 0xC0; break;
|
||||
case 0x06D2: ch = 0xFF; break;
|
||||
case 0x06F0:
|
||||
case 0x06F1:
|
||||
case 0x06F2:
|
||||
case 0x06F3:
|
||||
case 0x06F4:
|
||||
case 0x06F5:
|
||||
case 0x06F6:
|
||||
case 0x06F7:
|
||||
case 0x06F8:
|
||||
case 0x06F9:
|
||||
ch -= 0x06C0;
|
||||
break;
|
||||
case 0x200C: ch = 0x9D; break;
|
||||
case 0x200D: ch = 0x9E; break;
|
||||
case 0x200E: ch = 0xFD; break;
|
||||
case 0x200F: ch = 0xFE; break;
|
||||
case 0x2013: ch = 0x96; break;
|
||||
case 0x2014: ch = 0x97; break;
|
||||
case 0x2018: ch = 0x91; break;
|
||||
case 0x2019: ch = 0x92; break;
|
||||
case 0x201A: ch = 0x82; break;
|
||||
case 0x201C: ch = 0x93; break;
|
||||
case 0x201D: ch = 0x94; break;
|
||||
case 0x201E: ch = 0x84; break;
|
||||
case 0x2020: ch = 0x86; break;
|
||||
case 0x2021: ch = 0x87; break;
|
||||
case 0x2022: ch = 0x95; break;
|
||||
case 0x2026: ch = 0x85; break;
|
||||
case 0x2030: ch = 0x89; break;
|
||||
case 0x2039: ch = 0x8B; break;
|
||||
case 0x203A: ch = 0x9B; break;
|
||||
case 0x20AC: ch = 0x80; break;
|
||||
case 0x2122: ch = 0x99; break;
|
||||
case 0xFB56: ch = 0x81; break;
|
||||
case 0xFB58: ch = 0x81; break;
|
||||
case 0xFB66: ch = 0x8A; break;
|
||||
case 0xFB68: ch = 0x8A; break;
|
||||
case 0xFB7A: ch = 0x8D; break;
|
||||
case 0xFB7C: ch = 0x8D; break;
|
||||
case 0xFB88: ch = 0x8F; break;
|
||||
case 0xFB8A: ch = 0x8E; break;
|
||||
case 0xFB8C: ch = 0x9A; break;
|
||||
case 0xFB8E: ch = 0x98; break;
|
||||
case 0xFB90: ch = 0x98; break;
|
||||
case 0xFB92: ch = 0x90; break;
|
||||
case 0xFB94: ch = 0x90; break;
|
||||
case 0xFB9E: ch = 0x9F; break;
|
||||
case 0xFBA6: ch = 0xC0; break;
|
||||
case 0xFBA8: ch = 0xC0; break;
|
||||
case 0xFBAA: ch = 0xAA; break;
|
||||
case 0xFBAC: ch = 0xAA; break;
|
||||
case 0xFBAE: ch = 0xFF; break;
|
||||
case 0xFE70: ch = 0xF0; break;
|
||||
case 0xFE71: ch = 0xF0; break;
|
||||
case 0xFE72: ch = 0xF1; break;
|
||||
case 0xFE74: ch = 0xF2; break;
|
||||
case 0xFE76: ch = 0xF3; break;
|
||||
case 0xFE77: ch = 0xF3; break;
|
||||
case 0xFE78: ch = 0xF5; break;
|
||||
case 0xFE79: ch = 0xF5; break;
|
||||
case 0xFE7A: ch = 0xF6; break;
|
||||
case 0xFE7B: ch = 0xF6; break;
|
||||
case 0xFE7C: ch = 0xF8; break;
|
||||
case 0xFE7D: ch = 0xF8; break;
|
||||
case 0xFE7E: ch = 0xFA; break;
|
||||
case 0xFE7F: ch = 0xFA; break;
|
||||
case 0xFE80: ch = 0xC1; break;
|
||||
case 0xFE81: ch = 0xC2; break;
|
||||
case 0xFE82: ch = 0xC2; break;
|
||||
case 0xFE83: ch = 0xC3; break;
|
||||
case 0xFE84: ch = 0xC3; break;
|
||||
case 0xFE85: ch = 0xC4; break;
|
||||
case 0xFE86: ch = 0xC4; break;
|
||||
case 0xFE87: ch = 0xC5; break;
|
||||
case 0xFE88: ch = 0xC5; break;
|
||||
case 0xFE89: ch = 0xC6; break;
|
||||
case 0xFE8A: ch = 0xC6; break;
|
||||
case 0xFE8B: ch = 0xC6; break;
|
||||
case 0xFE8C: ch = 0xC6; break;
|
||||
case 0xFE8D: ch = 0xC7; break;
|
||||
case 0xFE8E: ch = 0xC7; break;
|
||||
case 0xFE8F: ch = 0xC8; break;
|
||||
case 0xFE90: ch = 0xC8; break;
|
||||
case 0xFE91: ch = 0xC8; break;
|
||||
case 0xFE92: ch = 0xC8; break;
|
||||
case 0xFE93: ch = 0xC9; break;
|
||||
case 0xFE94: ch = 0xC9; break;
|
||||
case 0xFE95: ch = 0xCA; break;
|
||||
case 0xFE96: ch = 0xCA; break;
|
||||
case 0xFE97: ch = 0xCA; break;
|
||||
case 0xFE98: ch = 0xCA; break;
|
||||
case 0xFE99: ch = 0xCB; break;
|
||||
case 0xFE9A: ch = 0xCB; break;
|
||||
case 0xFE9B: ch = 0xCB; break;
|
||||
case 0xFE9C: ch = 0xCB; break;
|
||||
case 0xFE9D: ch = 0xCC; break;
|
||||
case 0xFE9E: ch = 0xCC; break;
|
||||
case 0xFE9F: ch = 0xCC; break;
|
||||
case 0xFEA0: ch = 0xCC; break;
|
||||
case 0xFEA1: ch = 0xCD; break;
|
||||
case 0xFEA2: ch = 0xCD; break;
|
||||
case 0xFEA3: ch = 0xCD; break;
|
||||
case 0xFEA4: ch = 0xCD; break;
|
||||
case 0xFEA5: ch = 0xCE; break;
|
||||
case 0xFEA6: ch = 0xCE; break;
|
||||
case 0xFEA7: ch = 0xCE; break;
|
||||
case 0xFEA8: ch = 0xCE; break;
|
||||
case 0xFEA9: ch = 0xCF; break;
|
||||
case 0xFEAA: ch = 0xCF; break;
|
||||
case 0xFEAB: ch = 0xD0; break;
|
||||
case 0xFEAC: ch = 0xD0; break;
|
||||
case 0xFEAD: ch = 0xD1; break;
|
||||
case 0xFEAE: ch = 0xD1; break;
|
||||
case 0xFEAF: ch = 0xD2; break;
|
||||
case 0xFEB0: ch = 0xD2; break;
|
||||
case 0xFEB1: ch = 0xD3; break;
|
||||
case 0xFEB2: ch = 0xD3; break;
|
||||
case 0xFEB3: ch = 0xD3; break;
|
||||
case 0xFEB4: ch = 0xD3; break;
|
||||
case 0xFEB5: ch = 0xD4; break;
|
||||
case 0xFEB6: ch = 0xD4; break;
|
||||
case 0xFEB7: ch = 0xD4; break;
|
||||
case 0xFEB8: ch = 0xD4; break;
|
||||
case 0xFEB9: ch = 0xD5; break;
|
||||
case 0xFEBA: ch = 0xD5; break;
|
||||
case 0xFEBB: ch = 0xD5; break;
|
||||
case 0xFEBC: ch = 0xD5; break;
|
||||
case 0xFEBD: ch = 0xD6; break;
|
||||
case 0xFEBE: ch = 0xD6; break;
|
||||
case 0xFEBF: ch = 0xD6; break;
|
||||
case 0xFEC0: ch = 0xD6; break;
|
||||
case 0xFEC1: ch = 0xD8; break;
|
||||
case 0xFEC2: ch = 0xD8; break;
|
||||
case 0xFEC3: ch = 0xD8; break;
|
||||
case 0xFEC4: ch = 0xD8; break;
|
||||
case 0xFEC5: ch = 0xD9; break;
|
||||
case 0xFEC6: ch = 0xD9; break;
|
||||
case 0xFEC7: ch = 0xD9; break;
|
||||
case 0xFEC8: ch = 0xD9; break;
|
||||
case 0xFEC9: ch = 0xDA; break;
|
||||
case 0xFECA: ch = 0xDA; break;
|
||||
case 0xFECB: ch = 0xDA; break;
|
||||
case 0xFECC: ch = 0xDA; break;
|
||||
case 0xFECD: ch = 0xDB; break;
|
||||
case 0xFECE: ch = 0xDB; break;
|
||||
case 0xFECF: ch = 0xDB; break;
|
||||
case 0xFED0: ch = 0xDB; break;
|
||||
case 0xFED1: ch = 0xDD; break;
|
||||
case 0xFED2: ch = 0xDD; break;
|
||||
case 0xFED3: ch = 0xDD; break;
|
||||
case 0xFED4: ch = 0xDD; break;
|
||||
case 0xFED5: ch = 0xDE; break;
|
||||
case 0xFED6: ch = 0xDE; break;
|
||||
case 0xFED7: ch = 0xDE; break;
|
||||
case 0xFED8: ch = 0xDE; break;
|
||||
case 0xFED9: ch = 0xDF; break;
|
||||
case 0xFEDA: ch = 0xDF; break;
|
||||
case 0xFEDB: ch = 0xDF; break;
|
||||
case 0xFEDC: ch = 0xDF; break;
|
||||
case 0xFEDD: ch = 0xE1; break;
|
||||
case 0xFEDE: ch = 0xE1; break;
|
||||
case 0xFEDF: ch = 0xE1; break;
|
||||
case 0xFEE0: ch = 0xE1; break;
|
||||
case 0xFEE1: ch = 0xE3; break;
|
||||
case 0xFEE2: ch = 0xE3; break;
|
||||
case 0xFEE3: ch = 0xE3; break;
|
||||
case 0xFEE4: ch = 0xE3; break;
|
||||
case 0xFEE5: ch = 0xE4; break;
|
||||
case 0xFEE6: ch = 0xE4; break;
|
||||
case 0xFEE7: ch = 0xE4; break;
|
||||
case 0xFEE8: ch = 0xE4; break;
|
||||
case 0xFEE9: ch = 0xE5; break;
|
||||
case 0xFEEA: ch = 0xE5; break;
|
||||
case 0xFEEB: ch = 0xE5; break;
|
||||
case 0xFEEC: ch = 0xE5; break;
|
||||
case 0xFEED: ch = 0xE6; break;
|
||||
case 0xFEEE: ch = 0xE6; break;
|
||||
case 0xFEEF: ch = 0xEC; break;
|
||||
case 0xFEF0: ch = 0xEC; break;
|
||||
case 0xFEF1: ch = 0xED; break;
|
||||
case 0xFEF2: ch = 0xED; break;
|
||||
case 0xFEF3: ch = 0xED; break;
|
||||
case 0xFEF4: ch = 0xED; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
}; // class CP1256
|
||||
|
||||
public class ENCwindows_1256 : CP1256
|
||||
{
|
||||
public ENCwindows_1256() : base() {}
|
||||
|
||||
}; // class ENCwindows_1256
|
||||
|
||||
}; // namespace I18N.MidEast
|
||||
@@ -0,0 +1,545 @@
|
||||
/*
|
||||
* CP28596.cs - Arabic (ISO) code page.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// Generated from "ibm-1089.ucm".
|
||||
|
||||
namespace I18N.MidEast
|
||||
{
|
||||
|
||||
using System;
|
||||
using I18N.Common;
|
||||
|
||||
public class CP28596 : ByteEncoding
|
||||
{
|
||||
public CP28596()
|
||||
: base(28596, ToChars, "Arabic (ISO)",
|
||||
"iso-8859-6", "iso-8859-6", "iso-8859-6",
|
||||
true, true, true, true, 1256)
|
||||
{}
|
||||
|
||||
private static readonly char[] ToChars = {
|
||||
'\u0000', '\u0001', '\u0002', '\u0003', '\u0004', '\u0005',
|
||||
'\u0006', '\u0007', '\u0008', '\u0009', '\u000A', '\u000B',
|
||||
'\u000C', '\u000D', '\u000E', '\u000F', '\u0010', '\u0011',
|
||||
'\u0012', '\u0013', '\u0014', '\u0015', '\u0016', '\u0017',
|
||||
'\u0018', '\u0019', '\u001A', '\u001B', '\u001C', '\u001D',
|
||||
'\u001E', '\u001F', '\u0020', '\u0021', '\u0022', '\u0023',
|
||||
'\u0024', '\u0025', '\u0026', '\u0027', '\u0028', '\u0029',
|
||||
'\u002A', '\u002B', '\u002C', '\u002D', '\u002E', '\u002F',
|
||||
'\u0030', '\u0031', '\u0032', '\u0033', '\u0034', '\u0035',
|
||||
'\u0036', '\u0037', '\u0038', '\u0039', '\u003A', '\u003B',
|
||||
'\u003C', '\u003D', '\u003E', '\u003F', '\u0040', '\u0041',
|
||||
'\u0042', '\u0043', '\u0044', '\u0045', '\u0046', '\u0047',
|
||||
'\u0048', '\u0049', '\u004A', '\u004B', '\u004C', '\u004D',
|
||||
'\u004E', '\u004F', '\u0050', '\u0051', '\u0052', '\u0053',
|
||||
'\u0054', '\u0055', '\u0056', '\u0057', '\u0058', '\u0059',
|
||||
'\u005A', '\u005B', '\u005C', '\u005D', '\u005E', '\u005F',
|
||||
'\u0060', '\u0061', '\u0062', '\u0063', '\u0064', '\u0065',
|
||||
'\u0066', '\u0067', '\u0068', '\u0069', '\u006A', '\u006B',
|
||||
'\u006C', '\u006D', '\u006E', '\u006F', '\u0070', '\u0071',
|
||||
'\u0072', '\u0073', '\u0074', '\u0075', '\u0076', '\u0077',
|
||||
'\u0078', '\u0079', '\u007A', '\u007B', '\u007C', '\u007D',
|
||||
'\u007E', '\u007F', '\u0080', '\u0081', '\u0082', '\u0083',
|
||||
'\u0084', '\u0085', '\u0086', '\u0087', '\u0088', '\u0089',
|
||||
'\u008A', '\u008B', '\u008C', '\u008D', '\u008E', '\u008F',
|
||||
'\u0090', '\u0091', '\u0092', '\u0093', '\u0094', '\u0095',
|
||||
'\u0096', '\u0097', '\u0098', '\u0099', '\u009A', '\u009B',
|
||||
'\u009C', '\u009D', '\u009E', '\u009F', '\u00A0', '\u003F',
|
||||
'\u003F', '\u003F', '\u00A4', '\u003F', '\u003F', '\u003F',
|
||||
'\u003F', '\u003F', '\u003F', '\u003F', '\u060C', '\u00AD',
|
||||
'\u003F', '\u003F', '\u003F', '\u003F', '\u003F', '\u003F',
|
||||
'\u003F', '\u003F', '\u003F', '\u003F', '\u003F', '\u003F',
|
||||
'\u003F', '\u061B', '\u003F', '\u003F', '\u003F', '\u061F',
|
||||
'\u003F', '\u0621', '\u0622', '\u0623', '\u0624', '\u0625',
|
||||
'\u0626', '\u0627', '\u0628', '\u0629', '\u062A', '\u062B',
|
||||
'\u062C', '\u062D', '\u062E', '\u062F', '\u0630', '\u0631',
|
||||
'\u0632', '\u0633', '\u0634', '\u0635', '\u0636', '\u0637',
|
||||
'\u0638', '\u0639', '\u063A', '\u003F', '\u003F', '\u003F',
|
||||
'\u003F', '\u003F', '\u0640', '\u0641', '\u0642', '\u0643',
|
||||
'\u0644', '\u0645', '\u0646', '\u0647', '\u0648', '\u0649',
|
||||
'\u064A', '\u064B', '\u064C', '\u064D', '\u064E', '\u064F',
|
||||
'\u0650', '\u0651', '\u0652', '\u003F', '\u003F', '\u003F',
|
||||
'\u003F', '\u003F', '\u003F', '\u003F', '\u003F', '\u003F',
|
||||
'\u003F', '\u003F', '\u003F', '\u003F',
|
||||
};
|
||||
|
||||
protected override void ToBytes(char[] chars, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(chars[charIndex++]);
|
||||
if(ch >= 161) switch(ch)
|
||||
{
|
||||
case 0x00A4:
|
||||
case 0x00AD:
|
||||
break;
|
||||
case 0x060C: ch = 0xAC; break;
|
||||
case 0x061B: ch = 0xBB; break;
|
||||
case 0x061F: ch = 0xBF; break;
|
||||
case 0x0621:
|
||||
case 0x0622:
|
||||
case 0x0623:
|
||||
case 0x0624:
|
||||
case 0x0625:
|
||||
case 0x0626:
|
||||
case 0x0627:
|
||||
case 0x0628:
|
||||
case 0x0629:
|
||||
case 0x062A:
|
||||
case 0x062B:
|
||||
case 0x062C:
|
||||
case 0x062D:
|
||||
case 0x062E:
|
||||
case 0x062F:
|
||||
case 0x0630:
|
||||
case 0x0631:
|
||||
case 0x0632:
|
||||
case 0x0633:
|
||||
case 0x0634:
|
||||
case 0x0635:
|
||||
case 0x0636:
|
||||
case 0x0637:
|
||||
case 0x0638:
|
||||
case 0x0639:
|
||||
case 0x063A:
|
||||
ch -= 0x0560;
|
||||
break;
|
||||
case 0x0640:
|
||||
case 0x0641:
|
||||
case 0x0642:
|
||||
case 0x0643:
|
||||
case 0x0644:
|
||||
case 0x0645:
|
||||
case 0x0646:
|
||||
case 0x0647:
|
||||
case 0x0648:
|
||||
case 0x0649:
|
||||
case 0x064A:
|
||||
case 0x064B:
|
||||
case 0x064C:
|
||||
case 0x064D:
|
||||
case 0x064E:
|
||||
case 0x064F:
|
||||
case 0x0650:
|
||||
case 0x0651:
|
||||
case 0x0652:
|
||||
ch -= 0x0560;
|
||||
break;
|
||||
case 0x0660:
|
||||
case 0x0661:
|
||||
case 0x0662:
|
||||
case 0x0663:
|
||||
case 0x0664:
|
||||
case 0x0665:
|
||||
case 0x0666:
|
||||
case 0x0667:
|
||||
case 0x0668:
|
||||
case 0x0669:
|
||||
ch -= 0x0630;
|
||||
break;
|
||||
case 0x066A: ch = 0x25; break;
|
||||
case 0x066B: ch = 0x2C; break;
|
||||
case 0x066C: ch = 0x2E; break;
|
||||
case 0x066D: ch = 0x2A; break;
|
||||
case 0xFE70: ch = 0xEB; break;
|
||||
case 0xFE71: ch = 0xEB; break;
|
||||
case 0xFE72: ch = 0xEC; break;
|
||||
case 0xFE74: ch = 0xED; break;
|
||||
case 0xFE76: ch = 0xEE; break;
|
||||
case 0xFE77: ch = 0xEE; break;
|
||||
case 0xFE78: ch = 0xEF; break;
|
||||
case 0xFE79: ch = 0xEF; break;
|
||||
case 0xFE7A: ch = 0xF0; break;
|
||||
case 0xFE7B: ch = 0xF0; break;
|
||||
case 0xFE7C: ch = 0xF1; break;
|
||||
case 0xFE7D: ch = 0xF1; break;
|
||||
case 0xFE7E: ch = 0xF2; break;
|
||||
case 0xFE7F: ch = 0xF2; break;
|
||||
case 0xFE80: ch = 0xC1; break;
|
||||
case 0xFE81: ch = 0xC2; break;
|
||||
case 0xFE82: ch = 0xC2; break;
|
||||
case 0xFE83: ch = 0xC3; break;
|
||||
case 0xFE84: ch = 0xC3; break;
|
||||
case 0xFE85: ch = 0xC4; break;
|
||||
case 0xFE86: ch = 0xC4; break;
|
||||
case 0xFE87: ch = 0xC5; break;
|
||||
case 0xFE88: ch = 0xC5; break;
|
||||
case 0xFE89: ch = 0xC6; break;
|
||||
case 0xFE8A: ch = 0xC6; break;
|
||||
case 0xFE8B: ch = 0xC6; break;
|
||||
case 0xFE8C: ch = 0xC6; break;
|
||||
case 0xFE8D: ch = 0xC7; break;
|
||||
case 0xFE8E: ch = 0xC7; break;
|
||||
case 0xFE8F: ch = 0xC8; break;
|
||||
case 0xFE90: ch = 0xC8; break;
|
||||
case 0xFE91: ch = 0xC8; break;
|
||||
case 0xFE92: ch = 0xC8; break;
|
||||
case 0xFE93: ch = 0xC9; break;
|
||||
case 0xFE94: ch = 0xC9; break;
|
||||
case 0xFE95: ch = 0xCA; break;
|
||||
case 0xFE96: ch = 0xCA; break;
|
||||
case 0xFE97: ch = 0xCA; break;
|
||||
case 0xFE98: ch = 0xCA; break;
|
||||
case 0xFE99: ch = 0xCB; break;
|
||||
case 0xFE9A: ch = 0xCB; break;
|
||||
case 0xFE9B: ch = 0xCB; break;
|
||||
case 0xFE9C: ch = 0xCB; break;
|
||||
case 0xFE9D: ch = 0xCC; break;
|
||||
case 0xFE9E: ch = 0xCC; break;
|
||||
case 0xFE9F: ch = 0xCC; break;
|
||||
case 0xFEA0: ch = 0xCC; break;
|
||||
case 0xFEA1: ch = 0xCD; break;
|
||||
case 0xFEA2: ch = 0xCD; break;
|
||||
case 0xFEA3: ch = 0xCD; break;
|
||||
case 0xFEA4: ch = 0xCD; break;
|
||||
case 0xFEA5: ch = 0xCE; break;
|
||||
case 0xFEA6: ch = 0xCE; break;
|
||||
case 0xFEA7: ch = 0xCE; break;
|
||||
case 0xFEA8: ch = 0xCE; break;
|
||||
case 0xFEA9: ch = 0xCF; break;
|
||||
case 0xFEAA: ch = 0xCF; break;
|
||||
case 0xFEAB: ch = 0xD0; break;
|
||||
case 0xFEAC: ch = 0xD0; break;
|
||||
case 0xFEAD: ch = 0xD1; break;
|
||||
case 0xFEAE: ch = 0xD1; break;
|
||||
case 0xFEAF: ch = 0xD2; break;
|
||||
case 0xFEB0: ch = 0xD2; break;
|
||||
case 0xFEB1: ch = 0xD3; break;
|
||||
case 0xFEB2: ch = 0xD3; break;
|
||||
case 0xFEB3: ch = 0xD3; break;
|
||||
case 0xFEB4: ch = 0xD3; break;
|
||||
case 0xFEB5: ch = 0xD4; break;
|
||||
case 0xFEB6: ch = 0xD4; break;
|
||||
case 0xFEB7: ch = 0xD4; break;
|
||||
case 0xFEB8: ch = 0xD4; break;
|
||||
case 0xFEB9: ch = 0xD5; break;
|
||||
case 0xFEBA: ch = 0xD5; break;
|
||||
case 0xFEBB: ch = 0xD5; break;
|
||||
case 0xFEBC: ch = 0xD5; break;
|
||||
case 0xFEBD: ch = 0xD6; break;
|
||||
case 0xFEBE: ch = 0xD6; break;
|
||||
case 0xFEBF: ch = 0xD6; break;
|
||||
case 0xFEC0: ch = 0xD6; break;
|
||||
case 0xFEC1: ch = 0xD7; break;
|
||||
case 0xFEC2: ch = 0xD7; break;
|
||||
case 0xFEC3: ch = 0xD7; break;
|
||||
case 0xFEC4: ch = 0xD7; break;
|
||||
case 0xFEC5: ch = 0xD8; break;
|
||||
case 0xFEC6: ch = 0xD8; break;
|
||||
case 0xFEC7: ch = 0xD8; break;
|
||||
case 0xFEC8: ch = 0xD8; break;
|
||||
case 0xFEC9: ch = 0xD9; break;
|
||||
case 0xFECA: ch = 0xD9; break;
|
||||
case 0xFECB: ch = 0xD9; break;
|
||||
case 0xFECC: ch = 0xD9; break;
|
||||
case 0xFECD: ch = 0xDA; break;
|
||||
case 0xFECE: ch = 0xDA; break;
|
||||
case 0xFECF: ch = 0xDA; break;
|
||||
case 0xFED0: ch = 0xDA; break;
|
||||
case 0xFED1: ch = 0xE1; break;
|
||||
case 0xFED2: ch = 0xE1; break;
|
||||
case 0xFED3: ch = 0xE1; break;
|
||||
case 0xFED4: ch = 0xE1; break;
|
||||
case 0xFED5: ch = 0xE2; break;
|
||||
case 0xFED6: ch = 0xE2; break;
|
||||
case 0xFED7: ch = 0xE2; break;
|
||||
case 0xFED8: ch = 0xE2; break;
|
||||
case 0xFED9: ch = 0xE3; break;
|
||||
case 0xFEDA: ch = 0xE3; break;
|
||||
case 0xFEDB: ch = 0xE3; break;
|
||||
case 0xFEDC: ch = 0xE3; break;
|
||||
case 0xFEDD: ch = 0xE4; break;
|
||||
case 0xFEDE: ch = 0xE4; break;
|
||||
case 0xFEDF: ch = 0xE4; break;
|
||||
case 0xFEE0: ch = 0xE4; break;
|
||||
case 0xFEE1: ch = 0xE5; break;
|
||||
case 0xFEE2: ch = 0xE5; break;
|
||||
case 0xFEE3: ch = 0xE5; break;
|
||||
case 0xFEE4: ch = 0xE5; break;
|
||||
case 0xFEE5: ch = 0xE6; break;
|
||||
case 0xFEE6: ch = 0xE6; break;
|
||||
case 0xFEE7: ch = 0xE6; break;
|
||||
case 0xFEE8: ch = 0xE6; break;
|
||||
case 0xFEE9: ch = 0xE7; break;
|
||||
case 0xFEEA: ch = 0xE7; break;
|
||||
case 0xFEEB: ch = 0xE7; break;
|
||||
case 0xFEEC: ch = 0xE7; break;
|
||||
case 0xFEED: ch = 0xE8; break;
|
||||
case 0xFEEE: ch = 0xE8; break;
|
||||
case 0xFEEF: ch = 0xE9; break;
|
||||
case 0xFEF0: ch = 0xE9; break;
|
||||
case 0xFEF1: ch = 0xEA; break;
|
||||
case 0xFEF2: ch = 0xEA; break;
|
||||
case 0xFEF3: ch = 0xEA; break;
|
||||
case 0xFEF4: ch = 0xEA; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ToBytes(String s, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(s[charIndex++]);
|
||||
if(ch >= 161) switch(ch)
|
||||
{
|
||||
case 0x00A4:
|
||||
case 0x00AD:
|
||||
break;
|
||||
case 0x060C: ch = 0xAC; break;
|
||||
case 0x061B: ch = 0xBB; break;
|
||||
case 0x061F: ch = 0xBF; break;
|
||||
case 0x0621:
|
||||
case 0x0622:
|
||||
case 0x0623:
|
||||
case 0x0624:
|
||||
case 0x0625:
|
||||
case 0x0626:
|
||||
case 0x0627:
|
||||
case 0x0628:
|
||||
case 0x0629:
|
||||
case 0x062A:
|
||||
case 0x062B:
|
||||
case 0x062C:
|
||||
case 0x062D:
|
||||
case 0x062E:
|
||||
case 0x062F:
|
||||
case 0x0630:
|
||||
case 0x0631:
|
||||
case 0x0632:
|
||||
case 0x0633:
|
||||
case 0x0634:
|
||||
case 0x0635:
|
||||
case 0x0636:
|
||||
case 0x0637:
|
||||
case 0x0638:
|
||||
case 0x0639:
|
||||
case 0x063A:
|
||||
ch -= 0x0560;
|
||||
break;
|
||||
case 0x0640:
|
||||
case 0x0641:
|
||||
case 0x0642:
|
||||
case 0x0643:
|
||||
case 0x0644:
|
||||
case 0x0645:
|
||||
case 0x0646:
|
||||
case 0x0647:
|
||||
case 0x0648:
|
||||
case 0x0649:
|
||||
case 0x064A:
|
||||
case 0x064B:
|
||||
case 0x064C:
|
||||
case 0x064D:
|
||||
case 0x064E:
|
||||
case 0x064F:
|
||||
case 0x0650:
|
||||
case 0x0651:
|
||||
case 0x0652:
|
||||
ch -= 0x0560;
|
||||
break;
|
||||
case 0x0660:
|
||||
case 0x0661:
|
||||
case 0x0662:
|
||||
case 0x0663:
|
||||
case 0x0664:
|
||||
case 0x0665:
|
||||
case 0x0666:
|
||||
case 0x0667:
|
||||
case 0x0668:
|
||||
case 0x0669:
|
||||
ch -= 0x0630;
|
||||
break;
|
||||
case 0x066A: ch = 0x25; break;
|
||||
case 0x066B: ch = 0x2C; break;
|
||||
case 0x066C: ch = 0x2E; break;
|
||||
case 0x066D: ch = 0x2A; break;
|
||||
case 0xFE70: ch = 0xEB; break;
|
||||
case 0xFE71: ch = 0xEB; break;
|
||||
case 0xFE72: ch = 0xEC; break;
|
||||
case 0xFE74: ch = 0xED; break;
|
||||
case 0xFE76: ch = 0xEE; break;
|
||||
case 0xFE77: ch = 0xEE; break;
|
||||
case 0xFE78: ch = 0xEF; break;
|
||||
case 0xFE79: ch = 0xEF; break;
|
||||
case 0xFE7A: ch = 0xF0; break;
|
||||
case 0xFE7B: ch = 0xF0; break;
|
||||
case 0xFE7C: ch = 0xF1; break;
|
||||
case 0xFE7D: ch = 0xF1; break;
|
||||
case 0xFE7E: ch = 0xF2; break;
|
||||
case 0xFE7F: ch = 0xF2; break;
|
||||
case 0xFE80: ch = 0xC1; break;
|
||||
case 0xFE81: ch = 0xC2; break;
|
||||
case 0xFE82: ch = 0xC2; break;
|
||||
case 0xFE83: ch = 0xC3; break;
|
||||
case 0xFE84: ch = 0xC3; break;
|
||||
case 0xFE85: ch = 0xC4; break;
|
||||
case 0xFE86: ch = 0xC4; break;
|
||||
case 0xFE87: ch = 0xC5; break;
|
||||
case 0xFE88: ch = 0xC5; break;
|
||||
case 0xFE89: ch = 0xC6; break;
|
||||
case 0xFE8A: ch = 0xC6; break;
|
||||
case 0xFE8B: ch = 0xC6; break;
|
||||
case 0xFE8C: ch = 0xC6; break;
|
||||
case 0xFE8D: ch = 0xC7; break;
|
||||
case 0xFE8E: ch = 0xC7; break;
|
||||
case 0xFE8F: ch = 0xC8; break;
|
||||
case 0xFE90: ch = 0xC8; break;
|
||||
case 0xFE91: ch = 0xC8; break;
|
||||
case 0xFE92: ch = 0xC8; break;
|
||||
case 0xFE93: ch = 0xC9; break;
|
||||
case 0xFE94: ch = 0xC9; break;
|
||||
case 0xFE95: ch = 0xCA; break;
|
||||
case 0xFE96: ch = 0xCA; break;
|
||||
case 0xFE97: ch = 0xCA; break;
|
||||
case 0xFE98: ch = 0xCA; break;
|
||||
case 0xFE99: ch = 0xCB; break;
|
||||
case 0xFE9A: ch = 0xCB; break;
|
||||
case 0xFE9B: ch = 0xCB; break;
|
||||
case 0xFE9C: ch = 0xCB; break;
|
||||
case 0xFE9D: ch = 0xCC; break;
|
||||
case 0xFE9E: ch = 0xCC; break;
|
||||
case 0xFE9F: ch = 0xCC; break;
|
||||
case 0xFEA0: ch = 0xCC; break;
|
||||
case 0xFEA1: ch = 0xCD; break;
|
||||
case 0xFEA2: ch = 0xCD; break;
|
||||
case 0xFEA3: ch = 0xCD; break;
|
||||
case 0xFEA4: ch = 0xCD; break;
|
||||
case 0xFEA5: ch = 0xCE; break;
|
||||
case 0xFEA6: ch = 0xCE; break;
|
||||
case 0xFEA7: ch = 0xCE; break;
|
||||
case 0xFEA8: ch = 0xCE; break;
|
||||
case 0xFEA9: ch = 0xCF; break;
|
||||
case 0xFEAA: ch = 0xCF; break;
|
||||
case 0xFEAB: ch = 0xD0; break;
|
||||
case 0xFEAC: ch = 0xD0; break;
|
||||
case 0xFEAD: ch = 0xD1; break;
|
||||
case 0xFEAE: ch = 0xD1; break;
|
||||
case 0xFEAF: ch = 0xD2; break;
|
||||
case 0xFEB0: ch = 0xD2; break;
|
||||
case 0xFEB1: ch = 0xD3; break;
|
||||
case 0xFEB2: ch = 0xD3; break;
|
||||
case 0xFEB3: ch = 0xD3; break;
|
||||
case 0xFEB4: ch = 0xD3; break;
|
||||
case 0xFEB5: ch = 0xD4; break;
|
||||
case 0xFEB6: ch = 0xD4; break;
|
||||
case 0xFEB7: ch = 0xD4; break;
|
||||
case 0xFEB8: ch = 0xD4; break;
|
||||
case 0xFEB9: ch = 0xD5; break;
|
||||
case 0xFEBA: ch = 0xD5; break;
|
||||
case 0xFEBB: ch = 0xD5; break;
|
||||
case 0xFEBC: ch = 0xD5; break;
|
||||
case 0xFEBD: ch = 0xD6; break;
|
||||
case 0xFEBE: ch = 0xD6; break;
|
||||
case 0xFEBF: ch = 0xD6; break;
|
||||
case 0xFEC0: ch = 0xD6; break;
|
||||
case 0xFEC1: ch = 0xD7; break;
|
||||
case 0xFEC2: ch = 0xD7; break;
|
||||
case 0xFEC3: ch = 0xD7; break;
|
||||
case 0xFEC4: ch = 0xD7; break;
|
||||
case 0xFEC5: ch = 0xD8; break;
|
||||
case 0xFEC6: ch = 0xD8; break;
|
||||
case 0xFEC7: ch = 0xD8; break;
|
||||
case 0xFEC8: ch = 0xD8; break;
|
||||
case 0xFEC9: ch = 0xD9; break;
|
||||
case 0xFECA: ch = 0xD9; break;
|
||||
case 0xFECB: ch = 0xD9; break;
|
||||
case 0xFECC: ch = 0xD9; break;
|
||||
case 0xFECD: ch = 0xDA; break;
|
||||
case 0xFECE: ch = 0xDA; break;
|
||||
case 0xFECF: ch = 0xDA; break;
|
||||
case 0xFED0: ch = 0xDA; break;
|
||||
case 0xFED1: ch = 0xE1; break;
|
||||
case 0xFED2: ch = 0xE1; break;
|
||||
case 0xFED3: ch = 0xE1; break;
|
||||
case 0xFED4: ch = 0xE1; break;
|
||||
case 0xFED5: ch = 0xE2; break;
|
||||
case 0xFED6: ch = 0xE2; break;
|
||||
case 0xFED7: ch = 0xE2; break;
|
||||
case 0xFED8: ch = 0xE2; break;
|
||||
case 0xFED9: ch = 0xE3; break;
|
||||
case 0xFEDA: ch = 0xE3; break;
|
||||
case 0xFEDB: ch = 0xE3; break;
|
||||
case 0xFEDC: ch = 0xE3; break;
|
||||
case 0xFEDD: ch = 0xE4; break;
|
||||
case 0xFEDE: ch = 0xE4; break;
|
||||
case 0xFEDF: ch = 0xE4; break;
|
||||
case 0xFEE0: ch = 0xE4; break;
|
||||
case 0xFEE1: ch = 0xE5; break;
|
||||
case 0xFEE2: ch = 0xE5; break;
|
||||
case 0xFEE3: ch = 0xE5; break;
|
||||
case 0xFEE4: ch = 0xE5; break;
|
||||
case 0xFEE5: ch = 0xE6; break;
|
||||
case 0xFEE6: ch = 0xE6; break;
|
||||
case 0xFEE7: ch = 0xE6; break;
|
||||
case 0xFEE8: ch = 0xE6; break;
|
||||
case 0xFEE9: ch = 0xE7; break;
|
||||
case 0xFEEA: ch = 0xE7; break;
|
||||
case 0xFEEB: ch = 0xE7; break;
|
||||
case 0xFEEC: ch = 0xE7; break;
|
||||
case 0xFEED: ch = 0xE8; break;
|
||||
case 0xFEEE: ch = 0xE8; break;
|
||||
case 0xFEEF: ch = 0xE9; break;
|
||||
case 0xFEF0: ch = 0xE9; break;
|
||||
case 0xFEF1: ch = 0xEA; break;
|
||||
case 0xFEF2: ch = 0xEA; break;
|
||||
case 0xFEF3: ch = 0xEA; break;
|
||||
case 0xFEF4: ch = 0xEA; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
}; // class CP28596
|
||||
|
||||
public class ENCiso_8859_6 : CP28596
|
||||
{
|
||||
public ENCiso_8859_6() : base() {}
|
||||
|
||||
}; // class ENCiso_8859_6
|
||||
|
||||
}; // namespace I18N.MidEast
|
||||
@@ -0,0 +1,261 @@
|
||||
/*
|
||||
* CP28598.cs - Hebrew (ISO) code page.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// Generated from "ibm-916.ucm".
|
||||
|
||||
namespace I18N.MidEast
|
||||
{
|
||||
|
||||
using System;
|
||||
using I18N.Common;
|
||||
|
||||
public class CP28598 : ByteEncoding
|
||||
{
|
||||
public CP28598()
|
||||
: base(28598, ToChars, "Hebrew (ISO)",
|
||||
"iso-8859-8", "iso-8859-8", "iso-8859-8",
|
||||
true, true, true, true, 1255)
|
||||
{}
|
||||
|
||||
private static readonly char[] ToChars = {
|
||||
'\u0000', '\u0001', '\u0002', '\u0003', '\u0004', '\u0005',
|
||||
'\u0006', '\u0007', '\u0008', '\u0009', '\u000A', '\u000B',
|
||||
'\u000C', '\u000D', '\u000E', '\u000F', '\u0010', '\u0011',
|
||||
'\u0012', '\u0013', '\u0014', '\u0015', '\u0016', '\u0017',
|
||||
'\u0018', '\u0019', '\u001A', '\u001B', '\u001C', '\u001D',
|
||||
'\u001E', '\u001F', '\u0020', '\u0021', '\u0022', '\u0023',
|
||||
'\u0024', '\u0025', '\u0026', '\u0027', '\u0028', '\u0029',
|
||||
'\u002A', '\u002B', '\u002C', '\u002D', '\u002E', '\u002F',
|
||||
'\u0030', '\u0031', '\u0032', '\u0033', '\u0034', '\u0035',
|
||||
'\u0036', '\u0037', '\u0038', '\u0039', '\u003A', '\u003B',
|
||||
'\u003C', '\u003D', '\u003E', '\u003F', '\u0040', '\u0041',
|
||||
'\u0042', '\u0043', '\u0044', '\u0045', '\u0046', '\u0047',
|
||||
'\u0048', '\u0049', '\u004A', '\u004B', '\u004C', '\u004D',
|
||||
'\u004E', '\u004F', '\u0050', '\u0051', '\u0052', '\u0053',
|
||||
'\u0054', '\u0055', '\u0056', '\u0057', '\u0058', '\u0059',
|
||||
'\u005A', '\u005B', '\u005C', '\u005D', '\u005E', '\u005F',
|
||||
'\u0060', '\u0061', '\u0062', '\u0063', '\u0064', '\u0065',
|
||||
'\u0066', '\u0067', '\u0068', '\u0069', '\u006A', '\u006B',
|
||||
'\u006C', '\u006D', '\u006E', '\u006F', '\u0070', '\u0071',
|
||||
'\u0072', '\u0073', '\u0074', '\u0075', '\u0076', '\u0077',
|
||||
'\u0078', '\u0079', '\u007A', '\u007B', '\u007C', '\u007D',
|
||||
'\u007E', '\u007F', '\u0080', '\u0081', '\u0082', '\u0083',
|
||||
'\u0084', '\u0085', '\u0086', '\u0087', '\u0088', '\u0089',
|
||||
'\u008A', '\u008B', '\u008C', '\u008D', '\u008E', '\u008F',
|
||||
'\u0090', '\u0091', '\u0092', '\u0093', '\u0094', '\u0095',
|
||||
'\u0096', '\u0097', '\u0098', '\u0099', '\u009A', '\u009B',
|
||||
'\u009C', '\u009D', '\u009E', '\u009F', '\u00A0', '\u003F',
|
||||
'\u00A2', '\u00A3', '\u00A4', '\u00A5', '\u00A6', '\u00A7',
|
||||
'\u00A8', '\u00A9', '\u00D7', '\u00AB', '\u00AC', '\u00AD',
|
||||
'\u00AE', '\u203E', '\u00B0', '\u00B1', '\u00B2', '\u00B3',
|
||||
'\u00B4', '\u00B5', '\u00B6', '\u2022', '\u00B8', '\u00B9',
|
||||
'\u00F7', '\u00BB', '\u00BC', '\u00BD', '\u00BE', '\u003F',
|
||||
'\u003F', '\u003F', '\u003F', '\u003F', '\u003F', '\u003F',
|
||||
'\u003F', '\u003F', '\u003F', '\u003F', '\u003F', '\u003F',
|
||||
'\u003F', '\u003F', '\u003F', '\u003F', '\u003F', '\u003F',
|
||||
'\u003F', '\u003F', '\u003F', '\u003F', '\u003F', '\u003F',
|
||||
'\u003F', '\u003F', '\u003F', '\u003F', '\u003F', '\u003F',
|
||||
'\u003F', '\u2017', '\u05D0', '\u05D1', '\u05D2', '\u05D3',
|
||||
'\u05D4', '\u05D5', '\u05D6', '\u05D7', '\u05D8', '\u05D9',
|
||||
'\u05DA', '\u05DB', '\u05DC', '\u05DD', '\u05DE', '\u05DF',
|
||||
'\u05E0', '\u05E1', '\u05E2', '\u05E3', '\u05E4', '\u05E5',
|
||||
'\u05E6', '\u05E7', '\u05E8', '\u05E9', '\u05EA', '\u003F',
|
||||
'\u003F', '\u003F', '\u003F', '\u003F',
|
||||
};
|
||||
|
||||
protected override void ToBytes(char[] chars, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(chars[charIndex++]);
|
||||
if(ch >= 161) switch(ch)
|
||||
{
|
||||
case 0x00A2:
|
||||
case 0x00A3:
|
||||
case 0x00A4:
|
||||
case 0x00A5:
|
||||
case 0x00A6:
|
||||
case 0x00A7:
|
||||
case 0x00A8:
|
||||
case 0x00A9:
|
||||
case 0x00AB:
|
||||
case 0x00AC:
|
||||
case 0x00AD:
|
||||
case 0x00AE:
|
||||
case 0x00B0:
|
||||
case 0x00B1:
|
||||
case 0x00B2:
|
||||
case 0x00B3:
|
||||
case 0x00B4:
|
||||
case 0x00B5:
|
||||
case 0x00B6:
|
||||
case 0x00B8:
|
||||
case 0x00B9:
|
||||
case 0x00BB:
|
||||
case 0x00BC:
|
||||
case 0x00BD:
|
||||
case 0x00BE:
|
||||
break;
|
||||
case 0x00D7: ch = 0xAA; break;
|
||||
case 0x00F7: ch = 0xBA; break;
|
||||
case 0x05D0:
|
||||
case 0x05D1:
|
||||
case 0x05D2:
|
||||
case 0x05D3:
|
||||
case 0x05D4:
|
||||
case 0x05D5:
|
||||
case 0x05D6:
|
||||
case 0x05D7:
|
||||
case 0x05D8:
|
||||
case 0x05D9:
|
||||
case 0x05DA:
|
||||
case 0x05DB:
|
||||
case 0x05DC:
|
||||
case 0x05DD:
|
||||
case 0x05DE:
|
||||
case 0x05DF:
|
||||
case 0x05E0:
|
||||
case 0x05E1:
|
||||
case 0x05E2:
|
||||
case 0x05E3:
|
||||
case 0x05E4:
|
||||
case 0x05E5:
|
||||
case 0x05E6:
|
||||
case 0x05E7:
|
||||
case 0x05E8:
|
||||
case 0x05E9:
|
||||
case 0x05EA:
|
||||
ch -= 0x04F0;
|
||||
break;
|
||||
case 0x2017: ch = 0xDF; break;
|
||||
case 0x2022: ch = 0xB7; break;
|
||||
case 0x203E: ch = 0xAF; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ToBytes(String s, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(s[charIndex++]);
|
||||
if(ch >= 161) switch(ch)
|
||||
{
|
||||
case 0x00A2:
|
||||
case 0x00A3:
|
||||
case 0x00A4:
|
||||
case 0x00A5:
|
||||
case 0x00A6:
|
||||
case 0x00A7:
|
||||
case 0x00A8:
|
||||
case 0x00A9:
|
||||
case 0x00AB:
|
||||
case 0x00AC:
|
||||
case 0x00AD:
|
||||
case 0x00AE:
|
||||
case 0x00B0:
|
||||
case 0x00B1:
|
||||
case 0x00B2:
|
||||
case 0x00B3:
|
||||
case 0x00B4:
|
||||
case 0x00B5:
|
||||
case 0x00B6:
|
||||
case 0x00B8:
|
||||
case 0x00B9:
|
||||
case 0x00BB:
|
||||
case 0x00BC:
|
||||
case 0x00BD:
|
||||
case 0x00BE:
|
||||
break;
|
||||
case 0x00D7: ch = 0xAA; break;
|
||||
case 0x00F7: ch = 0xBA; break;
|
||||
case 0x05D0:
|
||||
case 0x05D1:
|
||||
case 0x05D2:
|
||||
case 0x05D3:
|
||||
case 0x05D4:
|
||||
case 0x05D5:
|
||||
case 0x05D6:
|
||||
case 0x05D7:
|
||||
case 0x05D8:
|
||||
case 0x05D9:
|
||||
case 0x05DA:
|
||||
case 0x05DB:
|
||||
case 0x05DC:
|
||||
case 0x05DD:
|
||||
case 0x05DE:
|
||||
case 0x05DF:
|
||||
case 0x05E0:
|
||||
case 0x05E1:
|
||||
case 0x05E2:
|
||||
case 0x05E3:
|
||||
case 0x05E4:
|
||||
case 0x05E5:
|
||||
case 0x05E6:
|
||||
case 0x05E7:
|
||||
case 0x05E8:
|
||||
case 0x05E9:
|
||||
case 0x05EA:
|
||||
ch -= 0x04F0;
|
||||
break;
|
||||
case 0x2017: ch = 0xDF; break;
|
||||
case 0x2022: ch = 0xB7; break;
|
||||
case 0x203E: ch = 0xAF; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
}; // class CP28598
|
||||
|
||||
public class ENCiso_8859_8 : CP28598
|
||||
{
|
||||
public ENCiso_8859_8() : base() {}
|
||||
|
||||
}; // class ENCiso_8859_8
|
||||
|
||||
}; // namespace I18N.MidEast
|
||||
@@ -0,0 +1,241 @@
|
||||
/*
|
||||
* CP28599.cs - Latin 5 (ISO) code page.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// Generated from "ibm-920.ucm".
|
||||
|
||||
namespace I18N.MidEast
|
||||
{
|
||||
|
||||
using System;
|
||||
using I18N.Common;
|
||||
|
||||
public class CP28599 : ByteEncoding
|
||||
{
|
||||
public CP28599()
|
||||
: base(28599, ToChars, "Latin 5 (ISO)",
|
||||
"iso-8859-9", "iso-8859-9", "iso-8859-9",
|
||||
true, true, true, true, 1254)
|
||||
{}
|
||||
|
||||
private static readonly char[] ToChars = {
|
||||
'\u0000', '\u0001', '\u0002', '\u0003', '\u0004', '\u0005',
|
||||
'\u0006', '\u0007', '\u0008', '\u0009', '\u000A', '\u000B',
|
||||
'\u000C', '\u000D', '\u000E', '\u000F', '\u0010', '\u0011',
|
||||
'\u0012', '\u0013', '\u0014', '\u0015', '\u0016', '\u0017',
|
||||
'\u0018', '\u0019', '\u001A', '\u001B', '\u001C', '\u001D',
|
||||
'\u001E', '\u001F', '\u0020', '\u0021', '\u0022', '\u0023',
|
||||
'\u0024', '\u0025', '\u0026', '\u0027', '\u0028', '\u0029',
|
||||
'\u002A', '\u002B', '\u002C', '\u002D', '\u002E', '\u002F',
|
||||
'\u0030', '\u0031', '\u0032', '\u0033', '\u0034', '\u0035',
|
||||
'\u0036', '\u0037', '\u0038', '\u0039', '\u003A', '\u003B',
|
||||
'\u003C', '\u003D', '\u003E', '\u003F', '\u0040', '\u0041',
|
||||
'\u0042', '\u0043', '\u0044', '\u0045', '\u0046', '\u0047',
|
||||
'\u0048', '\u0049', '\u004A', '\u004B', '\u004C', '\u004D',
|
||||
'\u004E', '\u004F', '\u0050', '\u0051', '\u0052', '\u0053',
|
||||
'\u0054', '\u0055', '\u0056', '\u0057', '\u0058', '\u0059',
|
||||
'\u005A', '\u005B', '\u005C', '\u005D', '\u005E', '\u005F',
|
||||
'\u0060', '\u0061', '\u0062', '\u0063', '\u0064', '\u0065',
|
||||
'\u0066', '\u0067', '\u0068', '\u0069', '\u006A', '\u006B',
|
||||
'\u006C', '\u006D', '\u006E', '\u006F', '\u0070', '\u0071',
|
||||
'\u0072', '\u0073', '\u0074', '\u0075', '\u0076', '\u0077',
|
||||
'\u0078', '\u0079', '\u007A', '\u007B', '\u007C', '\u007D',
|
||||
'\u007E', '\u007F', '\u0080', '\u0081', '\u0082', '\u0083',
|
||||
'\u0084', '\u0085', '\u0086', '\u0087', '\u0088', '\u0089',
|
||||
'\u008A', '\u008B', '\u008C', '\u008D', '\u008E', '\u008F',
|
||||
'\u0090', '\u0091', '\u0092', '\u0093', '\u0094', '\u0095',
|
||||
'\u0096', '\u0097', '\u0098', '\u0099', '\u009A', '\u009B',
|
||||
'\u009C', '\u009D', '\u009E', '\u009F', '\u00A0', '\u00A1',
|
||||
'\u00A2', '\u00A3', '\u00A4', '\u00A5', '\u00A6', '\u00A7',
|
||||
'\u00A8', '\u00A9', '\u00AA', '\u00AB', '\u00AC', '\u00AD',
|
||||
'\u00AE', '\u00AF', '\u00B0', '\u00B1', '\u00B2', '\u00B3',
|
||||
'\u00B4', '\u00B5', '\u00B6', '\u00B7', '\u00B8', '\u00B9',
|
||||
'\u00BA', '\u00BB', '\u00BC', '\u00BD', '\u00BE', '\u00BF',
|
||||
'\u00C0', '\u00C1', '\u00C2', '\u00C3', '\u00C4', '\u00C5',
|
||||
'\u00C6', '\u00C7', '\u00C8', '\u00C9', '\u00CA', '\u00CB',
|
||||
'\u00CC', '\u00CD', '\u00CE', '\u00CF', '\u011E', '\u00D1',
|
||||
'\u00D2', '\u00D3', '\u00D4', '\u00D5', '\u00D6', '\u00D7',
|
||||
'\u00D8', '\u00D9', '\u00DA', '\u00DB', '\u00DC', '\u0130',
|
||||
'\u015E', '\u00DF', '\u00E0', '\u00E1', '\u00E2', '\u00E3',
|
||||
'\u00E4', '\u00E5', '\u00E6', '\u00E7', '\u00E8', '\u00E9',
|
||||
'\u00EA', '\u00EB', '\u00EC', '\u00ED', '\u00EE', '\u00EF',
|
||||
'\u011F', '\u00F1', '\u00F2', '\u00F3', '\u00F4', '\u00F5',
|
||||
'\u00F6', '\u00F7', '\u00F8', '\u00F9', '\u00FA', '\u00FB',
|
||||
'\u00FC', '\u0131', '\u015F', '\u00FF',
|
||||
};
|
||||
|
||||
protected override void ToBytes(char[] chars, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(chars[charIndex++]);
|
||||
if(ch >= 208) switch(ch)
|
||||
{
|
||||
case 0x00D1:
|
||||
case 0x00D2:
|
||||
case 0x00D3:
|
||||
case 0x00D4:
|
||||
case 0x00D5:
|
||||
case 0x00D6:
|
||||
case 0x00D7:
|
||||
case 0x00D8:
|
||||
case 0x00D9:
|
||||
case 0x00DA:
|
||||
case 0x00DB:
|
||||
case 0x00DC:
|
||||
case 0x00DF:
|
||||
case 0x00E0:
|
||||
case 0x00E1:
|
||||
case 0x00E2:
|
||||
case 0x00E3:
|
||||
case 0x00E4:
|
||||
case 0x00E5:
|
||||
case 0x00E6:
|
||||
case 0x00E7:
|
||||
case 0x00E8:
|
||||
case 0x00E9:
|
||||
case 0x00EA:
|
||||
case 0x00EB:
|
||||
case 0x00EC:
|
||||
case 0x00ED:
|
||||
case 0x00EE:
|
||||
case 0x00EF:
|
||||
case 0x00F1:
|
||||
case 0x00F2:
|
||||
case 0x00F3:
|
||||
case 0x00F4:
|
||||
case 0x00F5:
|
||||
case 0x00F6:
|
||||
case 0x00F7:
|
||||
case 0x00F8:
|
||||
case 0x00F9:
|
||||
case 0x00FA:
|
||||
case 0x00FB:
|
||||
case 0x00FC:
|
||||
case 0x00FF:
|
||||
break;
|
||||
case 0x011E: ch = 0xD0; break;
|
||||
case 0x011F: ch = 0xF0; break;
|
||||
case 0x0130: ch = 0xDD; break;
|
||||
case 0x0131: ch = 0xFD; break;
|
||||
case 0x015E: ch = 0xDE; break;
|
||||
case 0x015F: ch = 0xFE; break;
|
||||
case 0x203E: ch = 0xAF; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ToBytes(String s, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(s[charIndex++]);
|
||||
if(ch >= 208) switch(ch)
|
||||
{
|
||||
case 0x00D1:
|
||||
case 0x00D2:
|
||||
case 0x00D3:
|
||||
case 0x00D4:
|
||||
case 0x00D5:
|
||||
case 0x00D6:
|
||||
case 0x00D7:
|
||||
case 0x00D8:
|
||||
case 0x00D9:
|
||||
case 0x00DA:
|
||||
case 0x00DB:
|
||||
case 0x00DC:
|
||||
case 0x00DF:
|
||||
case 0x00E0:
|
||||
case 0x00E1:
|
||||
case 0x00E2:
|
||||
case 0x00E3:
|
||||
case 0x00E4:
|
||||
case 0x00E5:
|
||||
case 0x00E6:
|
||||
case 0x00E7:
|
||||
case 0x00E8:
|
||||
case 0x00E9:
|
||||
case 0x00EA:
|
||||
case 0x00EB:
|
||||
case 0x00EC:
|
||||
case 0x00ED:
|
||||
case 0x00EE:
|
||||
case 0x00EF:
|
||||
case 0x00F1:
|
||||
case 0x00F2:
|
||||
case 0x00F3:
|
||||
case 0x00F4:
|
||||
case 0x00F5:
|
||||
case 0x00F6:
|
||||
case 0x00F7:
|
||||
case 0x00F8:
|
||||
case 0x00F9:
|
||||
case 0x00FA:
|
||||
case 0x00FB:
|
||||
case 0x00FC:
|
||||
case 0x00FF:
|
||||
break;
|
||||
case 0x011E: ch = 0xD0; break;
|
||||
case 0x011F: ch = 0xF0; break;
|
||||
case 0x0130: ch = 0xDD; break;
|
||||
case 0x0131: ch = 0xFD; break;
|
||||
case 0x015E: ch = 0xDE; break;
|
||||
case 0x015F: ch = 0xFE; break;
|
||||
case 0x203E: ch = 0xAF; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
}; // class CP28599
|
||||
|
||||
public class ENCiso_8859_9 : CP28599
|
||||
{
|
||||
public ENCiso_8859_9() : base() {}
|
||||
|
||||
}; // class ENCiso_8859_9
|
||||
|
||||
}; // namespace I18N.MidEast
|
||||
@@ -0,0 +1,261 @@
|
||||
/*
|
||||
* CP38598.cs - Hebrew (ISO Alternative) code page.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// Generated from "ibm-916.ucm".
|
||||
|
||||
namespace I18N.MidEast
|
||||
{
|
||||
|
||||
using System;
|
||||
using I18N.Common;
|
||||
|
||||
public class CP38598 : ByteEncoding
|
||||
{
|
||||
public CP38598()
|
||||
: base(38598, ToChars, "Hebrew (ISO Alternative)",
|
||||
"iso-8859-8", "windows-38598", "windows-38598",
|
||||
true, true, true, true, 1255)
|
||||
{}
|
||||
|
||||
private static readonly char[] ToChars = {
|
||||
'\u0000', '\u0001', '\u0002', '\u0003', '\u0004', '\u0005',
|
||||
'\u0006', '\u0007', '\u0008', '\u0009', '\u000A', '\u000B',
|
||||
'\u000C', '\u000D', '\u000E', '\u000F', '\u0010', '\u0011',
|
||||
'\u0012', '\u0013', '\u0014', '\u0015', '\u0016', '\u0017',
|
||||
'\u0018', '\u0019', '\u001A', '\u001B', '\u001C', '\u001D',
|
||||
'\u001E', '\u001F', '\u0020', '\u0021', '\u0022', '\u0023',
|
||||
'\u0024', '\u0025', '\u0026', '\u0027', '\u0028', '\u0029',
|
||||
'\u002A', '\u002B', '\u002C', '\u002D', '\u002E', '\u002F',
|
||||
'\u0030', '\u0031', '\u0032', '\u0033', '\u0034', '\u0035',
|
||||
'\u0036', '\u0037', '\u0038', '\u0039', '\u003A', '\u003B',
|
||||
'\u003C', '\u003D', '\u003E', '\u003F', '\u0040', '\u0041',
|
||||
'\u0042', '\u0043', '\u0044', '\u0045', '\u0046', '\u0047',
|
||||
'\u0048', '\u0049', '\u004A', '\u004B', '\u004C', '\u004D',
|
||||
'\u004E', '\u004F', '\u0050', '\u0051', '\u0052', '\u0053',
|
||||
'\u0054', '\u0055', '\u0056', '\u0057', '\u0058', '\u0059',
|
||||
'\u005A', '\u005B', '\u005C', '\u005D', '\u005E', '\u005F',
|
||||
'\u0060', '\u0061', '\u0062', '\u0063', '\u0064', '\u0065',
|
||||
'\u0066', '\u0067', '\u0068', '\u0069', '\u006A', '\u006B',
|
||||
'\u006C', '\u006D', '\u006E', '\u006F', '\u0070', '\u0071',
|
||||
'\u0072', '\u0073', '\u0074', '\u0075', '\u0076', '\u0077',
|
||||
'\u0078', '\u0079', '\u007A', '\u007B', '\u007C', '\u007D',
|
||||
'\u007E', '\u007F', '\u0080', '\u0081', '\u0082', '\u0083',
|
||||
'\u0084', '\u0085', '\u0086', '\u0087', '\u0088', '\u0089',
|
||||
'\u008A', '\u008B', '\u008C', '\u008D', '\u008E', '\u008F',
|
||||
'\u0090', '\u0091', '\u0092', '\u0093', '\u0094', '\u0095',
|
||||
'\u0096', '\u0097', '\u0098', '\u0099', '\u009A', '\u009B',
|
||||
'\u009C', '\u009D', '\u009E', '\u009F', '\u00A0', '\u003F',
|
||||
'\u00A2', '\u00A3', '\u00A4', '\u00A5', '\u00A6', '\u00A7',
|
||||
'\u00A8', '\u00A9', '\u00D7', '\u00AB', '\u00AC', '\u00AD',
|
||||
'\u00AE', '\u203E', '\u00B0', '\u00B1', '\u00B2', '\u00B3',
|
||||
'\u00B4', '\u00B5', '\u00B6', '\u2022', '\u00B8', '\u00B9',
|
||||
'\u00F7', '\u00BB', '\u00BC', '\u00BD', '\u00BE', '\u003F',
|
||||
'\u003F', '\u003F', '\u003F', '\u003F', '\u003F', '\u003F',
|
||||
'\u003F', '\u003F', '\u003F', '\u003F', '\u003F', '\u003F',
|
||||
'\u003F', '\u003F', '\u003F', '\u003F', '\u003F', '\u003F',
|
||||
'\u003F', '\u003F', '\u003F', '\u003F', '\u003F', '\u003F',
|
||||
'\u003F', '\u003F', '\u003F', '\u003F', '\u003F', '\u003F',
|
||||
'\u003F', '\u2017', '\u05D0', '\u05D1', '\u05D2', '\u05D3',
|
||||
'\u05D4', '\u05D5', '\u05D6', '\u05D7', '\u05D8', '\u05D9',
|
||||
'\u05DA', '\u05DB', '\u05DC', '\u05DD', '\u05DE', '\u05DF',
|
||||
'\u05E0', '\u05E1', '\u05E2', '\u05E3', '\u05E4', '\u05E5',
|
||||
'\u05E6', '\u05E7', '\u05E8', '\u05E9', '\u05EA', '\u003F',
|
||||
'\u003F', '\u003F', '\u003F', '\u003F',
|
||||
};
|
||||
|
||||
protected override void ToBytes(char[] chars, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(chars[charIndex++]);
|
||||
if(ch >= 161) switch(ch)
|
||||
{
|
||||
case 0x00A2:
|
||||
case 0x00A3:
|
||||
case 0x00A4:
|
||||
case 0x00A5:
|
||||
case 0x00A6:
|
||||
case 0x00A7:
|
||||
case 0x00A8:
|
||||
case 0x00A9:
|
||||
case 0x00AB:
|
||||
case 0x00AC:
|
||||
case 0x00AD:
|
||||
case 0x00AE:
|
||||
case 0x00B0:
|
||||
case 0x00B1:
|
||||
case 0x00B2:
|
||||
case 0x00B3:
|
||||
case 0x00B4:
|
||||
case 0x00B5:
|
||||
case 0x00B6:
|
||||
case 0x00B8:
|
||||
case 0x00B9:
|
||||
case 0x00BB:
|
||||
case 0x00BC:
|
||||
case 0x00BD:
|
||||
case 0x00BE:
|
||||
break;
|
||||
case 0x00D7: ch = 0xAA; break;
|
||||
case 0x00F7: ch = 0xBA; break;
|
||||
case 0x05D0:
|
||||
case 0x05D1:
|
||||
case 0x05D2:
|
||||
case 0x05D3:
|
||||
case 0x05D4:
|
||||
case 0x05D5:
|
||||
case 0x05D6:
|
||||
case 0x05D7:
|
||||
case 0x05D8:
|
||||
case 0x05D9:
|
||||
case 0x05DA:
|
||||
case 0x05DB:
|
||||
case 0x05DC:
|
||||
case 0x05DD:
|
||||
case 0x05DE:
|
||||
case 0x05DF:
|
||||
case 0x05E0:
|
||||
case 0x05E1:
|
||||
case 0x05E2:
|
||||
case 0x05E3:
|
||||
case 0x05E4:
|
||||
case 0x05E5:
|
||||
case 0x05E6:
|
||||
case 0x05E7:
|
||||
case 0x05E8:
|
||||
case 0x05E9:
|
||||
case 0x05EA:
|
||||
ch -= 0x04F0;
|
||||
break;
|
||||
case 0x2017: ch = 0xDF; break;
|
||||
case 0x2022: ch = 0xB7; break;
|
||||
case 0x203E: ch = 0xAF; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ToBytes(String s, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(s[charIndex++]);
|
||||
if(ch >= 161) switch(ch)
|
||||
{
|
||||
case 0x00A2:
|
||||
case 0x00A3:
|
||||
case 0x00A4:
|
||||
case 0x00A5:
|
||||
case 0x00A6:
|
||||
case 0x00A7:
|
||||
case 0x00A8:
|
||||
case 0x00A9:
|
||||
case 0x00AB:
|
||||
case 0x00AC:
|
||||
case 0x00AD:
|
||||
case 0x00AE:
|
||||
case 0x00B0:
|
||||
case 0x00B1:
|
||||
case 0x00B2:
|
||||
case 0x00B3:
|
||||
case 0x00B4:
|
||||
case 0x00B5:
|
||||
case 0x00B6:
|
||||
case 0x00B8:
|
||||
case 0x00B9:
|
||||
case 0x00BB:
|
||||
case 0x00BC:
|
||||
case 0x00BD:
|
||||
case 0x00BE:
|
||||
break;
|
||||
case 0x00D7: ch = 0xAA; break;
|
||||
case 0x00F7: ch = 0xBA; break;
|
||||
case 0x05D0:
|
||||
case 0x05D1:
|
||||
case 0x05D2:
|
||||
case 0x05D3:
|
||||
case 0x05D4:
|
||||
case 0x05D5:
|
||||
case 0x05D6:
|
||||
case 0x05D7:
|
||||
case 0x05D8:
|
||||
case 0x05D9:
|
||||
case 0x05DA:
|
||||
case 0x05DB:
|
||||
case 0x05DC:
|
||||
case 0x05DD:
|
||||
case 0x05DE:
|
||||
case 0x05DF:
|
||||
case 0x05E0:
|
||||
case 0x05E1:
|
||||
case 0x05E2:
|
||||
case 0x05E3:
|
||||
case 0x05E4:
|
||||
case 0x05E5:
|
||||
case 0x05E6:
|
||||
case 0x05E7:
|
||||
case 0x05E8:
|
||||
case 0x05E9:
|
||||
case 0x05EA:
|
||||
ch -= 0x04F0;
|
||||
break;
|
||||
case 0x2017: ch = 0xDF; break;
|
||||
case 0x2022: ch = 0xB7; break;
|
||||
case 0x203E: ch = 0xAF; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
}; // class CP38598
|
||||
|
||||
public class ENCwindows_38598 : CP38598
|
||||
{
|
||||
public ENCwindows_38598() : base() {}
|
||||
|
||||
}; // class ENCwindows_38598
|
||||
|
||||
}; // namespace I18N.MidEast
|
||||
@@ -0,0 +1,477 @@
|
||||
# *******************************************************************************
|
||||
# *
|
||||
# * Copyright (C) 1995-2000, International Business Machines
|
||||
# * Corporation and others. All Rights Reserved.
|
||||
# *
|
||||
# *******************************************************************************
|
||||
#
|
||||
# File created on Fri Nov 10 13:07:47 2000
|
||||
#
|
||||
# File created by dtcocm version 3.00
|
||||
# from source files 34B00441.RPMAP100 and 044134B0.TPMAP100
|
||||
#
|
||||
# Table Version : 1.01
|
||||
#
|
||||
<code_set_name> "IBM-1089"
|
||||
<char_name_mask> "AXXXX"
|
||||
<mb_cur_max> 1
|
||||
<mb_cur_min> 1
|
||||
<uconv_class> "SBCS"
|
||||
<subchar> \x1A
|
||||
#
|
||||
CHARMAP
|
||||
#
|
||||
#
|
||||
#ISO 10646 IBM-1089
|
||||
#_________ _________
|
||||
<U0000> \x00 |0
|
||||
<U0001> \x01 |0
|
||||
<U0002> \x02 |0
|
||||
<U0003> \x03 |0
|
||||
<U0004> \x04 |0
|
||||
<U0005> \x05 |0
|
||||
<U0006> \x06 |0
|
||||
<U0007> \x07 |0
|
||||
<U0008> \x08 |0
|
||||
<U0009> \x09 |0
|
||||
<U000A> \x0A |0
|
||||
<U000B> \x0B |0
|
||||
<U000C> \x0C |0
|
||||
<U000D> \x0D |0
|
||||
<U000E> \x0E |0
|
||||
<U000F> \x0F |0
|
||||
<U0010> \x10 |0
|
||||
<U0011> \x11 |0
|
||||
<U0012> \x12 |0
|
||||
<U0013> \x13 |0
|
||||
<U0014> \x14 |0
|
||||
<U0015> \x15 |0
|
||||
<U0016> \x16 |0
|
||||
<U0017> \x17 |0
|
||||
<U0018> \x18 |0
|
||||
<U0019> \x19 |0
|
||||
<U001A> \x1A |0
|
||||
<U001B> \x1B |0
|
||||
<U001C> \x1C |0
|
||||
<U001D> \x1D |0
|
||||
<U001E> \x1E |0
|
||||
<U001F> \x1F |0
|
||||
<U0020> \x20 |0
|
||||
<U0021> \x21 |0
|
||||
<U0022> \x22 |0
|
||||
<U0023> \x23 |0
|
||||
<U0024> \x24 |0
|
||||
<U0025> \x25 |0
|
||||
<U0026> \x26 |0
|
||||
<U0027> \x27 |0
|
||||
<U0028> \x28 |0
|
||||
<U0029> \x29 |0
|
||||
<U002A> \x2A |0
|
||||
<U002B> \x2B |0
|
||||
<U002C> \x2C |0
|
||||
<U002D> \x2D |0
|
||||
<U002E> \x2E |0
|
||||
<U002F> \x2F |0
|
||||
<U0030> \x30 |0
|
||||
<U0031> \x31 |0
|
||||
<U0032> \x32 |0
|
||||
<U0033> \x33 |0
|
||||
<U0034> \x34 |0
|
||||
<U0035> \x35 |0
|
||||
<U0036> \x36 |0
|
||||
<U0037> \x37 |0
|
||||
<U0038> \x38 |0
|
||||
<U0039> \x39 |0
|
||||
<U003A> \x3A |0
|
||||
<U003B> \x3B |0
|
||||
<U003C> \x3C |0
|
||||
<U003D> \x3D |0
|
||||
<U003E> \x3E |0
|
||||
<U003F> \x3F |0
|
||||
<U0040> \x40 |0
|
||||
<U0041> \x41 |0
|
||||
<U0042> \x42 |0
|
||||
<U0043> \x43 |0
|
||||
<U0044> \x44 |0
|
||||
<U0045> \x45 |0
|
||||
<U0046> \x46 |0
|
||||
<U0047> \x47 |0
|
||||
<U0048> \x48 |0
|
||||
<U0049> \x49 |0
|
||||
<U004A> \x4A |0
|
||||
<U004B> \x4B |0
|
||||
<U004C> \x4C |0
|
||||
<U004D> \x4D |0
|
||||
<U004E> \x4E |0
|
||||
<U004F> \x4F |0
|
||||
<U0050> \x50 |0
|
||||
<U0051> \x51 |0
|
||||
<U0052> \x52 |0
|
||||
<U0053> \x53 |0
|
||||
<U0054> \x54 |0
|
||||
<U0055> \x55 |0
|
||||
<U0056> \x56 |0
|
||||
<U0057> \x57 |0
|
||||
<U0058> \x58 |0
|
||||
<U0059> \x59 |0
|
||||
<U005A> \x5A |0
|
||||
<U005B> \x5B |0
|
||||
<U005C> \x5C |0
|
||||
<U005D> \x5D |0
|
||||
<U005E> \x5E |0
|
||||
<U005F> \x5F |0
|
||||
<U0060> \x60 |0
|
||||
<U0061> \x61 |0
|
||||
<U0062> \x62 |0
|
||||
<U0063> \x63 |0
|
||||
<U0064> \x64 |0
|
||||
<U0065> \x65 |0
|
||||
<U0066> \x66 |0
|
||||
<U0067> \x67 |0
|
||||
<U0068> \x68 |0
|
||||
<U0069> \x69 |0
|
||||
<U006A> \x6A |0
|
||||
<U006B> \x6B |0
|
||||
<U006C> \x6C |0
|
||||
<U006D> \x6D |0
|
||||
<U006E> \x6E |0
|
||||
<U006F> \x6F |0
|
||||
<U0070> \x70 |0
|
||||
<U0071> \x71 |0
|
||||
<U0072> \x72 |0
|
||||
<U0073> \x73 |0
|
||||
<U0074> \x74 |0
|
||||
<U0075> \x75 |0
|
||||
<U0076> \x76 |0
|
||||
<U0077> \x77 |0
|
||||
<U0078> \x78 |0
|
||||
<U0079> \x79 |0
|
||||
<U007A> \x7A |0
|
||||
<U007B> \x7B |0
|
||||
<U007C> \x7C |0
|
||||
<U007D> \x7D |0
|
||||
<U007E> \x7E |0
|
||||
<U007F> \x7F |0
|
||||
<U0080> \x80 |0
|
||||
<U0081> \x81 |0
|
||||
<U0082> \x82 |0
|
||||
<U0083> \x83 |0
|
||||
<U0084> \x84 |0
|
||||
<U0085> \x85 |0
|
||||
<U0086> \x86 |0
|
||||
<U0087> \x87 |0
|
||||
<U0088> \x88 |0
|
||||
<U0089> \x89 |0
|
||||
<U008A> \x8A |0
|
||||
<U008B> \x8B |0
|
||||
<U008C> \x8C |0
|
||||
<U008D> \x8D |0
|
||||
<U008E> \x8E |0
|
||||
<U008F> \x8F |0
|
||||
<U0090> \x90 |0
|
||||
<U0091> \x91 |0
|
||||
<U0092> \x92 |0
|
||||
<U0093> \x93 |0
|
||||
<U0094> \x94 |0
|
||||
<U0095> \x95 |0
|
||||
<U0096> \x96 |0
|
||||
<U0097> \x97 |0
|
||||
<U0098> \x98 |0
|
||||
<U0099> \x99 |0
|
||||
<U009A> \x9A |0
|
||||
<U009B> \x9B |0
|
||||
<U009C> \x9C |0
|
||||
<U009D> \x9D |0
|
||||
<U009E> \x9E |0
|
||||
<U009F> \x9F |0
|
||||
<U00A0> \xA0 |0
|
||||
<U00A4> \xA4 |0
|
||||
<U00AD> \xAD |0
|
||||
<U060C> \xAC |0
|
||||
<U061B> \xBB |0
|
||||
<U061F> \xBF |0
|
||||
<U0621> \xC1 |0
|
||||
<U0622> \xC2 |0
|
||||
<U0623> \xC3 |0
|
||||
<U0624> \xC4 |0
|
||||
<U0625> \xC5 |0
|
||||
<U0626> \xC6 |0
|
||||
<U0627> \xC7 |0
|
||||
<U0628> \xC8 |0
|
||||
<U0629> \xC9 |0
|
||||
<U062A> \xCA |0
|
||||
<U062B> \xCB |0
|
||||
<U062C> \xCC |0
|
||||
<U062D> \xCD |0
|
||||
<U062E> \xCE |0
|
||||
<U062F> \xCF |0
|
||||
<U0630> \xD0 |0
|
||||
<U0631> \xD1 |0
|
||||
<U0632> \xD2 |0
|
||||
<U0633> \xD3 |0
|
||||
<U0634> \xD4 |0
|
||||
<U0635> \xD5 |0
|
||||
<U0636> \xD6 |0
|
||||
<U0637> \xD7 |0
|
||||
<U0638> \xD8 |0
|
||||
<U0639> \xD9 |0
|
||||
<U063A> \xDA |0
|
||||
<U0640> \xE0 |0
|
||||
<U0641> \xE1 |0
|
||||
<U0642> \xE2 |0
|
||||
<U0643> \xE3 |0
|
||||
<U0644> \xE4 |0
|
||||
<U0645> \xE5 |0
|
||||
<U0646> \xE6 |0
|
||||
<U0647> \xE7 |0
|
||||
<U0648> \xE8 |0
|
||||
<U0649> \xE9 |0
|
||||
<U064A> \xEA |0
|
||||
<U064B> \xEB |0
|
||||
<U064C> \xEC |0
|
||||
<U064D> \xED |0
|
||||
<U064E> \xEE |0
|
||||
<U064F> \xEF |0
|
||||
<U0650> \xF0 |0
|
||||
<U0651> \xF1 |0
|
||||
<U0652> \xF2 |0
|
||||
<U0660> \x30 |1
|
||||
<U0661> \x31 |1
|
||||
<U0662> \x32 |1
|
||||
<U0663> \x33 |1
|
||||
<U0664> \x34 |1
|
||||
<U0665> \x35 |1
|
||||
<U0666> \x36 |1
|
||||
<U0667> \x37 |1
|
||||
<U0668> \x38 |1
|
||||
<U0669> \x39 |1
|
||||
<U066A> \x25 |1
|
||||
<U066B> \x2C |1
|
||||
<U066C> \x2E |1
|
||||
<U066D> \x2A |1
|
||||
<UFE70> \xEB |1
|
||||
<UFE71> \xEB |1
|
||||
<UFE72> \xEC |1
|
||||
<UFE74> \xED |1
|
||||
<UFE76> \xEE |1
|
||||
<UFE77> \xEE |1
|
||||
<UFE78> \xEF |1
|
||||
<UFE79> \xEF |1
|
||||
<UFE7A> \xF0 |1
|
||||
<UFE7B> \xF0 |1
|
||||
<UFE7C> \xF1 |1
|
||||
<UFE7D> \xF1 |1
|
||||
<UFE7E> \xF2 |1
|
||||
<UFE7F> \xF2 |1
|
||||
<UFE80> \xC1 |1
|
||||
<UFE81> \xC2 |1
|
||||
<UFE82> \xC2 |1
|
||||
<UFE83> \xC3 |1
|
||||
<UFE84> \xC3 |1
|
||||
<UFE85> \xC4 |1
|
||||
<UFE86> \xC4 |1
|
||||
<UFE87> \xC5 |1
|
||||
<UFE88> \xC5 |1
|
||||
<UFE89> \xC6 |1
|
||||
<UFE8A> \xC6 |1
|
||||
<UFE8B> \xC6 |1
|
||||
<UFE8C> \xC6 |1
|
||||
<UFE8D> \xC7 |1
|
||||
<UFE8E> \xC7 |1
|
||||
<UFE8F> \xC8 |1
|
||||
<UFE90> \xC8 |1
|
||||
<UFE91> \xC8 |1
|
||||
<UFE92> \xC8 |1
|
||||
<UFE93> \xC9 |1
|
||||
<UFE94> \xC9 |1
|
||||
<UFE95> \xCA |1
|
||||
<UFE96> \xCA |1
|
||||
<UFE97> \xCA |1
|
||||
<UFE98> \xCA |1
|
||||
<UFE99> \xCB |1
|
||||
<UFE9A> \xCB |1
|
||||
<UFE9B> \xCB |1
|
||||
<UFE9C> \xCB |1
|
||||
<UFE9D> \xCC |1
|
||||
<UFE9E> \xCC |1
|
||||
<UFE9F> \xCC |1
|
||||
<UFEA0> \xCC |1
|
||||
<UFEA1> \xCD |1
|
||||
<UFEA2> \xCD |1
|
||||
<UFEA3> \xCD |1
|
||||
<UFEA4> \xCD |1
|
||||
<UFEA5> \xCE |1
|
||||
<UFEA6> \xCE |1
|
||||
<UFEA7> \xCE |1
|
||||
<UFEA8> \xCE |1
|
||||
<UFEA9> \xCF |1
|
||||
<UFEAA> \xCF |1
|
||||
<UFEAB> \xD0 |1
|
||||
<UFEAC> \xD0 |1
|
||||
<UFEAD> \xD1 |1
|
||||
<UFEAE> \xD1 |1
|
||||
<UFEAF> \xD2 |1
|
||||
<UFEB0> \xD2 |1
|
||||
<UFEB1> \xD3 |1
|
||||
<UFEB2> \xD3 |1
|
||||
<UFEB3> \xD3 |1
|
||||
<UFEB4> \xD3 |1
|
||||
<UFEB5> \xD4 |1
|
||||
<UFEB6> \xD4 |1
|
||||
<UFEB7> \xD4 |1
|
||||
<UFEB8> \xD4 |1
|
||||
<UFEB9> \xD5 |1
|
||||
<UFEBA> \xD5 |1
|
||||
<UFEBB> \xD5 |1
|
||||
<UFEBC> \xD5 |1
|
||||
<UFEBD> \xD6 |1
|
||||
<UFEBE> \xD6 |1
|
||||
<UFEBF> \xD6 |1
|
||||
<UFEC0> \xD6 |1
|
||||
<UFEC1> \xD7 |1
|
||||
<UFEC2> \xD7 |1
|
||||
<UFEC3> \xD7 |1
|
||||
<UFEC4> \xD7 |1
|
||||
<UFEC5> \xD8 |1
|
||||
<UFEC6> \xD8 |1
|
||||
<UFEC7> \xD8 |1
|
||||
<UFEC8> \xD8 |1
|
||||
<UFEC9> \xD9 |1
|
||||
<UFECA> \xD9 |1
|
||||
<UFECB> \xD9 |1
|
||||
<UFECC> \xD9 |1
|
||||
<UFECD> \xDA |1
|
||||
<UFECE> \xDA |1
|
||||
<UFECF> \xDA |1
|
||||
<UFED0> \xDA |1
|
||||
<UFED1> \xE1 |1
|
||||
<UFED2> \xE1 |1
|
||||
<UFED3> \xE1 |1
|
||||
<UFED4> \xE1 |1
|
||||
<UFED5> \xE2 |1
|
||||
<UFED6> \xE2 |1
|
||||
<UFED7> \xE2 |1
|
||||
<UFED8> \xE2 |1
|
||||
<UFED9> \xE3 |1
|
||||
<UFEDA> \xE3 |1
|
||||
<UFEDB> \xE3 |1
|
||||
<UFEDC> \xE3 |1
|
||||
<UFEDD> \xE4 |1
|
||||
<UFEDE> \xE4 |1
|
||||
<UFEDF> \xE4 |1
|
||||
<UFEE0> \xE4 |1
|
||||
<UFEE1> \xE5 |1
|
||||
<UFEE2> \xE5 |1
|
||||
<UFEE3> \xE5 |1
|
||||
<UFEE4> \xE5 |1
|
||||
<UFEE5> \xE6 |1
|
||||
<UFEE6> \xE6 |1
|
||||
<UFEE7> \xE6 |1
|
||||
<UFEE8> \xE6 |1
|
||||
<UFEE9> \xE7 |1
|
||||
<UFEEA> \xE7 |1
|
||||
<UFEEB> \xE7 |1
|
||||
<UFEEC> \xE7 |1
|
||||
<UFEED> \xE8 |1
|
||||
<UFEEE> \xE8 |1
|
||||
<UFEEF> \xE9 |1
|
||||
<UFEF0> \xE9 |1
|
||||
<UFEF1> \xEA |1
|
||||
<UFEF2> \xEA |1
|
||||
<UFEF3> \xEA |1
|
||||
<UFEF4> \xEA |1
|
||||
<UFF01> \x21 |1
|
||||
<UFF02> \x22 |1
|
||||
<UFF03> \x23 |1
|
||||
<UFF04> \x24 |1
|
||||
<UFF05> \x25 |1
|
||||
<UFF06> \x26 |1
|
||||
<UFF07> \x27 |1
|
||||
<UFF08> \x28 |1
|
||||
<UFF09> \x29 |1
|
||||
<UFF0A> \x2A |1
|
||||
<UFF0B> \x2B |1
|
||||
<UFF0C> \x2C |1
|
||||
<UFF0D> \x2D |1
|
||||
<UFF0E> \x2E |1
|
||||
<UFF0F> \x2F |1
|
||||
<UFF10> \x30 |1
|
||||
<UFF11> \x31 |1
|
||||
<UFF12> \x32 |1
|
||||
<UFF13> \x33 |1
|
||||
<UFF14> \x34 |1
|
||||
<UFF15> \x35 |1
|
||||
<UFF16> \x36 |1
|
||||
<UFF17> \x37 |1
|
||||
<UFF18> \x38 |1
|
||||
<UFF19> \x39 |1
|
||||
<UFF1A> \x3A |1
|
||||
<UFF1B> \x3B |1
|
||||
<UFF1C> \x3C |1
|
||||
<UFF1D> \x3D |1
|
||||
<UFF1E> \x3E |1
|
||||
<UFF1F> \x3F |1
|
||||
<UFF20> \x40 |1
|
||||
<UFF21> \x41 |1
|
||||
<UFF22> \x42 |1
|
||||
<UFF23> \x43 |1
|
||||
<UFF24> \x44 |1
|
||||
<UFF25> \x45 |1
|
||||
<UFF26> \x46 |1
|
||||
<UFF27> \x47 |1
|
||||
<UFF28> \x48 |1
|
||||
<UFF29> \x49 |1
|
||||
<UFF2A> \x4A |1
|
||||
<UFF2B> \x4B |1
|
||||
<UFF2C> \x4C |1
|
||||
<UFF2D> \x4D |1
|
||||
<UFF2E> \x4E |1
|
||||
<UFF2F> \x4F |1
|
||||
<UFF30> \x50 |1
|
||||
<UFF31> \x51 |1
|
||||
<UFF32> \x52 |1
|
||||
<UFF33> \x53 |1
|
||||
<UFF34> \x54 |1
|
||||
<UFF35> \x55 |1
|
||||
<UFF36> \x56 |1
|
||||
<UFF37> \x57 |1
|
||||
<UFF38> \x58 |1
|
||||
<UFF39> \x59 |1
|
||||
<UFF3A> \x5A |1
|
||||
<UFF3B> \x5B |1
|
||||
<UFF3C> \x5C |1
|
||||
<UFF3D> \x5D |1
|
||||
<UFF3E> \x5E |1
|
||||
<UFF3F> \x5F |1
|
||||
<UFF40> \x60 |1
|
||||
<UFF41> \x61 |1
|
||||
<UFF42> \x62 |1
|
||||
<UFF43> \x63 |1
|
||||
<UFF44> \x64 |1
|
||||
<UFF45> \x65 |1
|
||||
<UFF46> \x66 |1
|
||||
<UFF47> \x67 |1
|
||||
<UFF48> \x68 |1
|
||||
<UFF49> \x69 |1
|
||||
<UFF4A> \x6A |1
|
||||
<UFF4B> \x6B |1
|
||||
<UFF4C> \x6C |1
|
||||
<UFF4D> \x6D |1
|
||||
<UFF4E> \x6E |1
|
||||
<UFF4F> \x6F |1
|
||||
<UFF50> \x70 |1
|
||||
<UFF51> \x71 |1
|
||||
<UFF52> \x72 |1
|
||||
<UFF53> \x73 |1
|
||||
<UFF54> \x74 |1
|
||||
<UFF55> \x75 |1
|
||||
<UFF56> \x76 |1
|
||||
<UFF57> \x77 |1
|
||||
<UFF58> \x78 |1
|
||||
<UFF59> \x79 |1
|
||||
<UFF5A> \x7A |1
|
||||
<UFF5B> \x7B |1
|
||||
<UFF5C> \x7C |1
|
||||
<UFF5D> \x7D |1
|
||||
<UFF5E> \x7E |1
|
||||
END CHARMAP
|
||||
@@ -0,0 +1,377 @@
|
||||
# *******************************************************************************
|
||||
# *
|
||||
# * Copyright (C) 1998-2000, International Business Machines
|
||||
# * Corporation and others. All Rights Reserved.
|
||||
# *
|
||||
# *******************************************************************************
|
||||
#
|
||||
# File created on Mon Nov 13 08:50:45 2000
|
||||
#
|
||||
# File created by dtcocm version 3.00
|
||||
# from source files 44B014E6.RPMAP100 and 14E644B0.TPMAP100
|
||||
#
|
||||
# Table Version : 1.01
|
||||
#
|
||||
<code_set_name> "IBM-5350"
|
||||
<char_name_mask> "AXXXX"
|
||||
<mb_cur_max> 1
|
||||
<mb_cur_min> 1
|
||||
<uconv_class> "SBCS"
|
||||
<subchar> \x1A
|
||||
#
|
||||
CHARMAP
|
||||
#
|
||||
#
|
||||
#ISO 10646 IBM-5350
|
||||
#_________ _________
|
||||
<U0000> \x00 |0
|
||||
<U0001> \x01 |0
|
||||
<U0002> \x02 |0
|
||||
<U0003> \x03 |0
|
||||
<U0004> \x04 |0
|
||||
<U0005> \x05 |0
|
||||
<U0006> \x06 |0
|
||||
<U0007> \x07 |0
|
||||
<U0008> \x08 |0
|
||||
<U0009> \x09 |0
|
||||
<U000A> \x0A |0
|
||||
<U000B> \x0B |0
|
||||
<U000C> \x0C |0
|
||||
<U000D> \x0D |0
|
||||
<U000E> \x0E |0
|
||||
<U000F> \x0F |0
|
||||
<U0010> \x10 |0
|
||||
<U0011> \x11 |0
|
||||
<U0012> \x12 |0
|
||||
<U0013> \x13 |0
|
||||
<U0014> \x14 |0
|
||||
<U0015> \x15 |0
|
||||
<U0016> \x16 |0
|
||||
<U0017> \x17 |0
|
||||
<U0018> \x18 |0
|
||||
<U0019> \x19 |0
|
||||
<U001A> \x1A |0
|
||||
<U001B> \x1B |0
|
||||
<U001C> \x1C |0
|
||||
<U001D> \x1D |0
|
||||
<U001E> \x1E |0
|
||||
<U001F> \x1F |0
|
||||
<U0020> \x20 |0
|
||||
<U0021> \x21 |0
|
||||
<U0022> \x22 |0
|
||||
<U0023> \x23 |0
|
||||
<U0024> \x24 |0
|
||||
<U0025> \x25 |0
|
||||
<U0026> \x26 |0
|
||||
<U0027> \x27 |0
|
||||
<U0028> \x28 |0
|
||||
<U0029> \x29 |0
|
||||
<U002A> \x2A |0
|
||||
<U002B> \x2B |0
|
||||
<U002C> \x2C |0
|
||||
<U002D> \x2D |0
|
||||
<U002E> \x2E |0
|
||||
<U002F> \x2F |0
|
||||
<U0030> \x30 |0
|
||||
<U0031> \x31 |0
|
||||
<U0032> \x32 |0
|
||||
<U0033> \x33 |0
|
||||
<U0034> \x34 |0
|
||||
<U0035> \x35 |0
|
||||
<U0036> \x36 |0
|
||||
<U0037> \x37 |0
|
||||
<U0038> \x38 |0
|
||||
<U0039> \x39 |0
|
||||
<U003A> \x3A |0
|
||||
<U003B> \x3B |0
|
||||
<U003C> \x3C |0
|
||||
<U003D> \x3D |0
|
||||
<U003E> \x3E |0
|
||||
<U003F> \x3F |0
|
||||
<U0040> \x40 |0
|
||||
<U0041> \x41 |0
|
||||
<U0042> \x42 |0
|
||||
<U0043> \x43 |0
|
||||
<U0044> \x44 |0
|
||||
<U0045> \x45 |0
|
||||
<U0046> \x46 |0
|
||||
<U0047> \x47 |0
|
||||
<U0048> \x48 |0
|
||||
<U0049> \x49 |0
|
||||
<U004A> \x4A |0
|
||||
<U004B> \x4B |0
|
||||
<U004C> \x4C |0
|
||||
<U004D> \x4D |0
|
||||
<U004E> \x4E |0
|
||||
<U004F> \x4F |0
|
||||
<U0050> \x50 |0
|
||||
<U0051> \x51 |0
|
||||
<U0052> \x52 |0
|
||||
<U0053> \x53 |0
|
||||
<U0054> \x54 |0
|
||||
<U0055> \x55 |0
|
||||
<U0056> \x56 |0
|
||||
<U0057> \x57 |0
|
||||
<U0058> \x58 |0
|
||||
<U0059> \x59 |0
|
||||
<U005A> \x5A |0
|
||||
<U005B> \x5B |0
|
||||
<U005C> \x5C |0
|
||||
<U005D> \x5D |0
|
||||
<U005E> \x5E |0
|
||||
<U005F> \x5F |0
|
||||
<U0060> \x60 |0
|
||||
<U0061> \x61 |0
|
||||
<U0062> \x62 |0
|
||||
<U0063> \x63 |0
|
||||
<U0064> \x64 |0
|
||||
<U0065> \x65 |0
|
||||
<U0066> \x66 |0
|
||||
<U0067> \x67 |0
|
||||
<U0068> \x68 |0
|
||||
<U0069> \x69 |0
|
||||
<U006A> \x6A |0
|
||||
<U006B> \x6B |0
|
||||
<U006C> \x6C |0
|
||||
<U006D> \x6D |0
|
||||
<U006E> \x6E |0
|
||||
<U006F> \x6F |0
|
||||
<U0070> \x70 |0
|
||||
<U0071> \x71 |0
|
||||
<U0072> \x72 |0
|
||||
<U0073> \x73 |0
|
||||
<U0074> \x74 |0
|
||||
<U0075> \x75 |0
|
||||
<U0076> \x76 |0
|
||||
<U0077> \x77 |0
|
||||
<U0078> \x78 |0
|
||||
<U0079> \x79 |0
|
||||
<U007A> \x7A |0
|
||||
<U007B> \x7B |0
|
||||
<U007C> \x7C |0
|
||||
<U007D> \x7D |0
|
||||
<U007E> \x7E |0
|
||||
<U007F> \x7F |0
|
||||
<U0081> \x81 |0
|
||||
<U008D> \x8D |0
|
||||
<U008E> \x8E |0
|
||||
<U008F> \x8F |0
|
||||
<U0090> \x90 |0
|
||||
<U009D> \x9D |0
|
||||
<U009E> \x9E |0
|
||||
<U00A0> \xA0 |0
|
||||
<U00A1> \xA1 |0
|
||||
<U00A2> \xA2 |0
|
||||
<U00A3> \xA3 |0
|
||||
<U00A4> \xA4 |0
|
||||
<U00A5> \xA5 |0
|
||||
<U00A6> \xA6 |0
|
||||
<U00A7> \xA7 |0
|
||||
<U00A8> \xA8 |0
|
||||
<U00A9> \xA9 |0
|
||||
<U00AA> \xAA |0
|
||||
<U00AB> \xAB |0
|
||||
<U00AC> \xAC |0
|
||||
<U00AD> \xAD |0
|
||||
<U00AE> \xAE |0
|
||||
<U00AF> \xAF |0
|
||||
<U00B0> \xB0 |0
|
||||
<U00B1> \xB1 |0
|
||||
<U00B2> \xB2 |0
|
||||
<U00B3> \xB3 |0
|
||||
<U00B4> \xB4 |0
|
||||
<U00B5> \xB5 |0
|
||||
<U00B6> \xB6 |0
|
||||
<U00B7> \xB7 |0
|
||||
<U00B8> \xB8 |0
|
||||
<U00B9> \xB9 |0
|
||||
<U00BA> \xBA |0
|
||||
<U00BB> \xBB |0
|
||||
<U00BC> \xBC |0
|
||||
<U00BD> \xBD |0
|
||||
<U00BE> \xBE |0
|
||||
<U00BF> \xBF |0
|
||||
<U00C0> \xC0 |0
|
||||
<U00C1> \xC1 |0
|
||||
<U00C2> \xC2 |0
|
||||
<U00C3> \xC3 |0
|
||||
<U00C4> \xC4 |0
|
||||
<U00C5> \xC5 |0
|
||||
<U00C6> \xC6 |0
|
||||
<U00C7> \xC7 |0
|
||||
<U00C8> \xC8 |0
|
||||
<U00C9> \xC9 |0
|
||||
<U00CA> \xCA |0
|
||||
<U00CB> \xCB |0
|
||||
<U00CC> \xCC |0
|
||||
<U00CD> \xCD |0
|
||||
<U00CE> \xCE |0
|
||||
<U00CF> \xCF |0
|
||||
<U00D1> \xD1 |0
|
||||
<U00D2> \xD2 |0
|
||||
<U00D3> \xD3 |0
|
||||
<U00D4> \xD4 |0
|
||||
<U00D5> \xD5 |0
|
||||
<U00D6> \xD6 |0
|
||||
<U00D7> \xD7 |0
|
||||
<U00D8> \xD8 |0
|
||||
<U00D9> \xD9 |0
|
||||
<U00DA> \xDA |0
|
||||
<U00DB> \xDB |0
|
||||
<U00DC> \xDC |0
|
||||
<U00DF> \xDF |0
|
||||
<U00E0> \xE0 |0
|
||||
<U00E1> \xE1 |0
|
||||
<U00E2> \xE2 |0
|
||||
<U00E3> \xE3 |0
|
||||
<U00E4> \xE4 |0
|
||||
<U00E5> \xE5 |0
|
||||
<U00E6> \xE6 |0
|
||||
<U00E7> \xE7 |0
|
||||
<U00E8> \xE8 |0
|
||||
<U00E9> \xE9 |0
|
||||
<U00EA> \xEA |0
|
||||
<U00EB> \xEB |0
|
||||
<U00EC> \xEC |0
|
||||
<U00ED> \xED |0
|
||||
<U00EE> \xEE |0
|
||||
<U00EF> \xEF |0
|
||||
<U00F1> \xF1 |0
|
||||
<U00F2> \xF2 |0
|
||||
<U00F3> \xF3 |0
|
||||
<U00F4> \xF4 |0
|
||||
<U00F5> \xF5 |0
|
||||
<U00F6> \xF6 |0
|
||||
<U00F7> \xF7 |0
|
||||
<U00F8> \xF8 |0
|
||||
<U00F9> \xF9 |0
|
||||
<U00FA> \xFA |0
|
||||
<U00FB> \xFB |0
|
||||
<U00FC> \xFC |0
|
||||
<U00FF> \xFF |0
|
||||
<U011E> \xD0 |0
|
||||
<U011F> \xF0 |0
|
||||
<U0130> \xDD |0
|
||||
<U0131> \xFD |0
|
||||
<U0152> \x8C |0
|
||||
<U0153> \x9C |0
|
||||
<U015E> \xDE |0
|
||||
<U015F> \xFE |0
|
||||
<U0160> \x8A |0
|
||||
<U0161> \x9A |0
|
||||
<U0178> \x9F |0
|
||||
<U0192> \x83 |0
|
||||
<U02C6> \x88 |0
|
||||
<U02DC> \x98 |0
|
||||
<U2013> \x96 |0
|
||||
<U2014> \x97 |0
|
||||
<U2018> \x91 |0
|
||||
<U2019> \x92 |0
|
||||
<U201A> \x82 |0
|
||||
<U201C> \x93 |0
|
||||
<U201D> \x94 |0
|
||||
<U201E> \x84 |0
|
||||
<U2020> \x86 |0
|
||||
<U2021> \x87 |0
|
||||
<U2022> \x95 |0
|
||||
<U2026> \x85 |0
|
||||
<U2030> \x89 |0
|
||||
<U2039> \x8B |0
|
||||
<U203A> \x9B |0
|
||||
<U20AC> \x80 |0
|
||||
<U2122> \x99 |0
|
||||
<UFF01> \x21 |1
|
||||
<UFF02> \x22 |1
|
||||
<UFF03> \x23 |1
|
||||
<UFF04> \x24 |1
|
||||
<UFF05> \x25 |1
|
||||
<UFF06> \x26 |1
|
||||
<UFF07> \x27 |1
|
||||
<UFF08> \x28 |1
|
||||
<UFF09> \x29 |1
|
||||
<UFF0A> \x2A |1
|
||||
<UFF0B> \x2B |1
|
||||
<UFF0C> \x2C |1
|
||||
<UFF0D> \x2D |1
|
||||
<UFF0E> \x2E |1
|
||||
<UFF0F> \x2F |1
|
||||
<UFF10> \x30 |1
|
||||
<UFF11> \x31 |1
|
||||
<UFF12> \x32 |1
|
||||
<UFF13> \x33 |1
|
||||
<UFF14> \x34 |1
|
||||
<UFF15> \x35 |1
|
||||
<UFF16> \x36 |1
|
||||
<UFF17> \x37 |1
|
||||
<UFF18> \x38 |1
|
||||
<UFF19> \x39 |1
|
||||
<UFF1A> \x3A |1
|
||||
<UFF1B> \x3B |1
|
||||
<UFF1C> \x3C |1
|
||||
<UFF1D> \x3D |1
|
||||
<UFF1E> \x3E |1
|
||||
<UFF1F> \x3F |1
|
||||
<UFF20> \x40 |1
|
||||
<UFF21> \x41 |1
|
||||
<UFF22> \x42 |1
|
||||
<UFF23> \x43 |1
|
||||
<UFF24> \x44 |1
|
||||
<UFF25> \x45 |1
|
||||
<UFF26> \x46 |1
|
||||
<UFF27> \x47 |1
|
||||
<UFF28> \x48 |1
|
||||
<UFF29> \x49 |1
|
||||
<UFF2A> \x4A |1
|
||||
<UFF2B> \x4B |1
|
||||
<UFF2C> \x4C |1
|
||||
<UFF2D> \x4D |1
|
||||
<UFF2E> \x4E |1
|
||||
<UFF2F> \x4F |1
|
||||
<UFF30> \x50 |1
|
||||
<UFF31> \x51 |1
|
||||
<UFF32> \x52 |1
|
||||
<UFF33> \x53 |1
|
||||
<UFF34> \x54 |1
|
||||
<UFF35> \x55 |1
|
||||
<UFF36> \x56 |1
|
||||
<UFF37> \x57 |1
|
||||
<UFF38> \x58 |1
|
||||
<UFF39> \x59 |1
|
||||
<UFF3A> \x5A |1
|
||||
<UFF3B> \x5B |1
|
||||
<UFF3C> \x5C |1
|
||||
<UFF3D> \x5D |1
|
||||
<UFF3E> \x5E |1
|
||||
<UFF3F> \x5F |1
|
||||
<UFF40> \x60 |1
|
||||
<UFF41> \x61 |1
|
||||
<UFF42> \x62 |1
|
||||
<UFF43> \x63 |1
|
||||
<UFF44> \x64 |1
|
||||
<UFF45> \x65 |1
|
||||
<UFF46> \x66 |1
|
||||
<UFF47> \x67 |1
|
||||
<UFF48> \x68 |1
|
||||
<UFF49> \x69 |1
|
||||
<UFF4A> \x6A |1
|
||||
<UFF4B> \x6B |1
|
||||
<UFF4C> \x6C |1
|
||||
<UFF4D> \x6D |1
|
||||
<UFF4E> \x6E |1
|
||||
<UFF4F> \x6F |1
|
||||
<UFF50> \x70 |1
|
||||
<UFF51> \x71 |1
|
||||
<UFF52> \x72 |1
|
||||
<UFF53> \x73 |1
|
||||
<UFF54> \x74 |1
|
||||
<UFF55> \x75 |1
|
||||
<UFF56> \x76 |1
|
||||
<UFF57> \x77 |1
|
||||
<UFF58> \x78 |1
|
||||
<UFF59> \x79 |1
|
||||
<UFF5A> \x7A |1
|
||||
<UFF5B> \x7B |1
|
||||
<UFF5C> \x7C |1
|
||||
<UFF5D> \x7D |1
|
||||
<UFF5E> \x7E |1
|
||||
END CHARMAP
|
||||
@@ -0,0 +1,368 @@
|
||||
# *******************************************************************************
|
||||
# *
|
||||
# * Copyright (C) 1998-2001, International Business Machines
|
||||
# * Corporation and others. All Rights Reserved.
|
||||
# *
|
||||
# *******************************************************************************
|
||||
#
|
||||
# File created on Mon Nov 13 08:50:45 2000
|
||||
#
|
||||
# File created by dtcocm version 3.00
|
||||
# from source files 44B014E7.RPMAP100 and 14E744B0.TPMAP100
|
||||
#
|
||||
# Patched for jitterbug 792
|
||||
#
|
||||
# Table Version : 1.01
|
||||
#
|
||||
<code_set_name> "IBM-5351"
|
||||
<char_name_mask> "AXXXX"
|
||||
<mb_cur_max> 1
|
||||
<mb_cur_min> 1
|
||||
<uconv_class> "SBCS"
|
||||
<subchar> \x1A
|
||||
#
|
||||
CHARMAP
|
||||
#
|
||||
#
|
||||
#ISO 10646 IBM-5351
|
||||
#_________ _________
|
||||
<U0000> \x00 |0
|
||||
<U0001> \x01 |0
|
||||
<U0002> \x02 |0
|
||||
<U0003> \x03 |0
|
||||
<U0004> \x04 |0
|
||||
<U0005> \x05 |0
|
||||
<U0006> \x06 |0
|
||||
<U0007> \x07 |0
|
||||
<U0008> \x08 |0
|
||||
<U0009> \x09 |0
|
||||
<U000A> \x0A |0
|
||||
<U000B> \x0B |0
|
||||
<U000C> \x0C |0
|
||||
<U000D> \x0D |0
|
||||
<U000E> \x0E |0
|
||||
<U000F> \x0F |0
|
||||
<U0010> \x10 |0
|
||||
<U0011> \x11 |0
|
||||
<U0012> \x12 |0
|
||||
<U0013> \x13 |0
|
||||
<U0014> \x14 |0
|
||||
<U0015> \x15 |0
|
||||
<U0016> \x16 |0
|
||||
<U0017> \x17 |0
|
||||
<U0018> \x18 |0
|
||||
<U0019> \x19 |0
|
||||
<U001A> \x1A |0
|
||||
<U001B> \x1B |0
|
||||
<U001C> \x1C |0
|
||||
<U001D> \x1D |0
|
||||
<U001E> \x1E |0
|
||||
<U001F> \x1F |0
|
||||
<U0020> \x20 |0
|
||||
<U0021> \x21 |0
|
||||
<U0022> \x22 |0
|
||||
<U0023> \x23 |0
|
||||
<U0024> \x24 |0
|
||||
<U0025> \x25 |0
|
||||
<U0026> \x26 |0
|
||||
<U0027> \x27 |0
|
||||
<U0028> \x28 |0
|
||||
<U0029> \x29 |0
|
||||
<U002A> \x2A |0
|
||||
<U002B> \x2B |0
|
||||
<U002C> \x2C |0
|
||||
<U002D> \x2D |0
|
||||
<U002E> \x2E |0
|
||||
<U002F> \x2F |0
|
||||
<U0030> \x30 |0
|
||||
<U0031> \x31 |0
|
||||
<U0032> \x32 |0
|
||||
<U0033> \x33 |0
|
||||
<U0034> \x34 |0
|
||||
<U0035> \x35 |0
|
||||
<U0036> \x36 |0
|
||||
<U0037> \x37 |0
|
||||
<U0038> \x38 |0
|
||||
<U0039> \x39 |0
|
||||
<U003A> \x3A |0
|
||||
<U003B> \x3B |0
|
||||
<U003C> \x3C |0
|
||||
<U003D> \x3D |0
|
||||
<U003E> \x3E |0
|
||||
<U003F> \x3F |0
|
||||
<U0040> \x40 |0
|
||||
<U0041> \x41 |0
|
||||
<U0042> \x42 |0
|
||||
<U0043> \x43 |0
|
||||
<U0044> \x44 |0
|
||||
<U0045> \x45 |0
|
||||
<U0046> \x46 |0
|
||||
<U0047> \x47 |0
|
||||
<U0048> \x48 |0
|
||||
<U0049> \x49 |0
|
||||
<U004A> \x4A |0
|
||||
<U004B> \x4B |0
|
||||
<U004C> \x4C |0
|
||||
<U004D> \x4D |0
|
||||
<U004E> \x4E |0
|
||||
<U004F> \x4F |0
|
||||
<U0050> \x50 |0
|
||||
<U0051> \x51 |0
|
||||
<U0052> \x52 |0
|
||||
<U0053> \x53 |0
|
||||
<U0054> \x54 |0
|
||||
<U0055> \x55 |0
|
||||
<U0056> \x56 |0
|
||||
<U0057> \x57 |0
|
||||
<U0058> \x58 |0
|
||||
<U0059> \x59 |0
|
||||
<U005A> \x5A |0
|
||||
<U005B> \x5B |0
|
||||
<U005C> \x5C |0
|
||||
<U005D> \x5D |0
|
||||
<U005E> \x5E |0
|
||||
<U005F> \x5F |0
|
||||
<U0060> \x60 |0
|
||||
<U0061> \x61 |0
|
||||
<U0062> \x62 |0
|
||||
<U0063> \x63 |0
|
||||
<U0064> \x64 |0
|
||||
<U0065> \x65 |0
|
||||
<U0066> \x66 |0
|
||||
<U0067> \x67 |0
|
||||
<U0068> \x68 |0
|
||||
<U0069> \x69 |0
|
||||
<U006A> \x6A |0
|
||||
<U006B> \x6B |0
|
||||
<U006C> \x6C |0
|
||||
<U006D> \x6D |0
|
||||
<U006E> \x6E |0
|
||||
<U006F> \x6F |0
|
||||
<U0070> \x70 |0
|
||||
<U0071> \x71 |0
|
||||
<U0072> \x72 |0
|
||||
<U0073> \x73 |0
|
||||
<U0074> \x74 |0
|
||||
<U0075> \x75 |0
|
||||
<U0076> \x76 |0
|
||||
<U0077> \x77 |0
|
||||
<U0078> \x78 |0
|
||||
<U0079> \x79 |0
|
||||
<U007A> \x7A |0
|
||||
<U007B> \x7B |0
|
||||
<U007C> \x7C |0
|
||||
<U007D> \x7D |0
|
||||
<U007E> \x7E |0
|
||||
<U007F> \x7F |0
|
||||
<U0081> \x81 |0
|
||||
<U008A> \x8A |0
|
||||
<U008C> \x8C |0
|
||||
<U008D> \x8D |0
|
||||
<U008E> \x8E |0
|
||||
<U008F> \x8F |0
|
||||
<U0090> \x90 |0
|
||||
<U009A> \x9A |0
|
||||
<U009C> \x9C |0
|
||||
<U009D> \x9D |0
|
||||
<U009E> \x9E |0
|
||||
<U009F> \x9F |0
|
||||
<U00A0> \xA0 |0
|
||||
<U00A1> \xA1 |0
|
||||
<U00A2> \xA2 |0
|
||||
<U00A3> \xA3 |0
|
||||
<U00A5> \xA5 |0
|
||||
<U00A6> \xA6 |0
|
||||
<U00A7> \xA7 |0
|
||||
<U00A8> \xA8 |0
|
||||
<U00A9> \xA9 |0
|
||||
<U00AB> \xAB |0
|
||||
<U00AC> \xAC |0
|
||||
<U00AD> \xAD |0
|
||||
<U00AE> \xAE |0
|
||||
<U00AF> \xAF |0
|
||||
<U00B0> \xB0 |0
|
||||
<U00B1> \xB1 |0
|
||||
<U00B2> \xB2 |0
|
||||
<U00B3> \xB3 |0
|
||||
<U00B4> \xB4 |0
|
||||
<U00B5> \xB5 |0
|
||||
<U00B6> \xB6 |0
|
||||
<U00B7> \xB7 |0
|
||||
<U00B8> \xB8 |0
|
||||
<U00B9> \xB9 |0
|
||||
<U00BB> \xBB |0
|
||||
<U00BC> \xBC |0
|
||||
<U00BD> \xBD |0
|
||||
<U00BE> \xBE |0
|
||||
<U00BF> \xBF |0
|
||||
<U00D7> \xAA |0
|
||||
<U00F7> \xBA |0
|
||||
<U0192> \x83 |0
|
||||
<U02C6> \x88 |0
|
||||
<U02DC> \x98 |0
|
||||
<U05B0> \xC0 |0
|
||||
<U05B1> \xC1 |0
|
||||
<U05B2> \xC2 |0
|
||||
<U05B3> \xC3 |0
|
||||
<U05B4> \xC4 |0
|
||||
<U05B5> \xC5 |0
|
||||
<U05B6> \xC6 |0
|
||||
<U05B7> \xC7 |0
|
||||
<U05B8> \xC8 |0
|
||||
<U05B9> \xC9 |0
|
||||
<U05BB> \xCB |0
|
||||
<U05BC> \xCC |0
|
||||
<U05BD> \xCD |0
|
||||
<U05BE> \xCE |0
|
||||
<U05BF> \xCF |0
|
||||
<U05C0> \xD0 |0
|
||||
<U05C1> \xD1 |0
|
||||
<U05C2> \xD2 |0
|
||||
<U05C3> \xD3 |0
|
||||
<U05D0> \xE0 |0
|
||||
<U05D1> \xE1 |0
|
||||
<U05D2> \xE2 |0
|
||||
<U05D3> \xE3 |0
|
||||
<U05D4> \xE4 |0
|
||||
<U05D5> \xE5 |0
|
||||
<U05D6> \xE6 |0
|
||||
<U05D7> \xE7 |0
|
||||
<U05D8> \xE8 |0
|
||||
<U05D9> \xE9 |0
|
||||
<U05DA> \xEA |0
|
||||
<U05DB> \xEB |0
|
||||
<U05DC> \xEC |0
|
||||
<U05DD> \xED |0
|
||||
<U05DE> \xEE |0
|
||||
<U05DF> \xEF |0
|
||||
<U05E0> \xF0 |0
|
||||
<U05E1> \xF1 |0
|
||||
<U05E2> \xF2 |0
|
||||
<U05E3> \xF3 |0
|
||||
<U05E4> \xF4 |0
|
||||
<U05E5> \xF5 |0
|
||||
<U05E6> \xF6 |0
|
||||
<U05E7> \xF7 |0
|
||||
<U05E8> \xF8 |0
|
||||
<U05E9> \xF9 |0
|
||||
<U05EA> \xFA |0
|
||||
<U05F0> \xD4 |0
|
||||
<U05F1> \xD5 |0
|
||||
<U05F2> \xD6 |0
|
||||
<U05F3> \xD7 |0
|
||||
<U05F4> \xD8 |0
|
||||
<U200E> \xFD |0
|
||||
<U200F> \xFE |0
|
||||
<U2013> \x96 |0
|
||||
<U2014> \x97 |0
|
||||
<U2018> \x91 |0
|
||||
<U2019> \x92 |0
|
||||
<U201A> \x82 |0
|
||||
<U201C> \x93 |0
|
||||
<U201D> \x94 |0
|
||||
<U201E> \x84 |0
|
||||
<U2020> \x86 |0
|
||||
<U2021> \x87 |0
|
||||
<U2022> \x95 |0
|
||||
<U2026> \x85 |0
|
||||
<U2030> \x89 |0
|
||||
<U2039> \x8B |0
|
||||
<U203A> \x9B |0
|
||||
<U20AA> \xA4 |0
|
||||
<U20AC> \x80 |0
|
||||
<U2122> \x99 |0
|
||||
<UFF01> \x21 |1
|
||||
<UFF02> \x22 |1
|
||||
<UFF03> \x23 |1
|
||||
<UFF04> \x24 |1
|
||||
<UFF05> \x25 |1
|
||||
<UFF06> \x26 |1
|
||||
<UFF07> \x27 |1
|
||||
<UFF08> \x28 |1
|
||||
<UFF09> \x29 |1
|
||||
<UFF0A> \x2A |1
|
||||
<UFF0B> \x2B |1
|
||||
<UFF0C> \x2C |1
|
||||
<UFF0D> \x2D |1
|
||||
<UFF0E> \x2E |1
|
||||
<UFF0F> \x2F |1
|
||||
<UFF10> \x30 |1
|
||||
<UFF11> \x31 |1
|
||||
<UFF12> \x32 |1
|
||||
<UFF13> \x33 |1
|
||||
<UFF14> \x34 |1
|
||||
<UFF15> \x35 |1
|
||||
<UFF16> \x36 |1
|
||||
<UFF17> \x37 |1
|
||||
<UFF18> \x38 |1
|
||||
<UFF19> \x39 |1
|
||||
<UFF1A> \x3A |1
|
||||
<UFF1B> \x3B |1
|
||||
<UFF1C> \x3C |1
|
||||
<UFF1D> \x3D |1
|
||||
<UFF1E> \x3E |1
|
||||
<UFF1F> \x3F |1
|
||||
<UFF20> \x40 |1
|
||||
<UFF21> \x41 |1
|
||||
<UFF22> \x42 |1
|
||||
<UFF23> \x43 |1
|
||||
<UFF24> \x44 |1
|
||||
<UFF25> \x45 |1
|
||||
<UFF26> \x46 |1
|
||||
<UFF27> \x47 |1
|
||||
<UFF28> \x48 |1
|
||||
<UFF29> \x49 |1
|
||||
<UFF2A> \x4A |1
|
||||
<UFF2B> \x4B |1
|
||||
<UFF2C> \x4C |1
|
||||
<UFF2D> \x4D |1
|
||||
<UFF2E> \x4E |1
|
||||
<UFF2F> \x4F |1
|
||||
<UFF30> \x50 |1
|
||||
<UFF31> \x51 |1
|
||||
<UFF32> \x52 |1
|
||||
<UFF33> \x53 |1
|
||||
<UFF34> \x54 |1
|
||||
<UFF35> \x55 |1
|
||||
<UFF36> \x56 |1
|
||||
<UFF37> \x57 |1
|
||||
<UFF38> \x58 |1
|
||||
<UFF39> \x59 |1
|
||||
<UFF3A> \x5A |1
|
||||
<UFF3B> \x5B |1
|
||||
<UFF3C> \x5C |1
|
||||
<UFF3D> \x5D |1
|
||||
<UFF3E> \x5E |1
|
||||
<UFF3F> \x5F |1
|
||||
<UFF40> \x60 |1
|
||||
<UFF41> \x61 |1
|
||||
<UFF42> \x62 |1
|
||||
<UFF43> \x63 |1
|
||||
<UFF44> \x64 |1
|
||||
<UFF45> \x65 |1
|
||||
<UFF46> \x66 |1
|
||||
<UFF47> \x67 |1
|
||||
<UFF48> \x68 |1
|
||||
<UFF49> \x69 |1
|
||||
<UFF4A> \x6A |1
|
||||
<UFF4B> \x6B |1
|
||||
<UFF4C> \x6C |1
|
||||
<UFF4D> \x6D |1
|
||||
<UFF4E> \x6E |1
|
||||
<UFF4F> \x6F |1
|
||||
<UFF50> \x70 |1
|
||||
<UFF51> \x71 |1
|
||||
<UFF52> \x72 |1
|
||||
<UFF53> \x73 |1
|
||||
<UFF54> \x74 |1
|
||||
<UFF55> \x75 |1
|
||||
<UFF56> \x76 |1
|
||||
<UFF57> \x77 |1
|
||||
<UFF58> \x78 |1
|
||||
<UFF59> \x79 |1
|
||||
<UFF5A> \x7A |1
|
||||
<UFF5B> \x7B |1
|
||||
<UFF5C> \x7C |1
|
||||
<UFF5D> \x7D |1
|
||||
<UFF5E> \x7E |1
|
||||
END CHARMAP
|
||||
@@ -0,0 +1,551 @@
|
||||
# *******************************************************************************
|
||||
# *
|
||||
# * Copyright (C) 1998-2001, International Business Machines
|
||||
# * Corporation and others. All Rights Reserved.
|
||||
# *
|
||||
# *******************************************************************************
|
||||
#
|
||||
# File created on Mon Nov 13 08:50:45 2000
|
||||
#
|
||||
# File created by dtcocm version 3.00
|
||||
# from source files 44B014E8.RPMAP100 and 14E844B0.TPMAP100
|
||||
#
|
||||
# Patched for jitterbug 792
|
||||
#
|
||||
# Table Version : 1.01
|
||||
#
|
||||
<code_set_name> "IBM-5352"
|
||||
<char_name_mask> "AXXXX"
|
||||
<mb_cur_max> 1
|
||||
<mb_cur_min> 1
|
||||
<uconv_class> "SBCS"
|
||||
<subchar> \x1A
|
||||
#
|
||||
CHARMAP
|
||||
#
|
||||
#
|
||||
#ISO 10646 IBM-5352
|
||||
#_________ _________
|
||||
<U0000> \x00 |0
|
||||
<U0001> \x01 |0
|
||||
<U0002> \x02 |0
|
||||
<U0003> \x03 |0
|
||||
<U0004> \x04 |0
|
||||
<U0005> \x05 |0
|
||||
<U0006> \x06 |0
|
||||
<U0007> \x07 |0
|
||||
<U0008> \x08 |0
|
||||
<U0009> \x09 |0
|
||||
<U000A> \x0A |0
|
||||
<U000B> \x0B |0
|
||||
<U000C> \x0C |0
|
||||
<U000D> \x0D |0
|
||||
<U000E> \x0E |0
|
||||
<U000F> \x0F |0
|
||||
<U0010> \x10 |0
|
||||
<U0011> \x11 |0
|
||||
<U0012> \x12 |0
|
||||
<U0013> \x13 |0
|
||||
<U0014> \x14 |0
|
||||
<U0015> \x15 |0
|
||||
<U0016> \x16 |0
|
||||
<U0017> \x17 |0
|
||||
<U0018> \x18 |0
|
||||
<U0019> \x19 |0
|
||||
<U001A> \x1A |0
|
||||
<U001B> \x1B |0
|
||||
<U001C> \x1C |0
|
||||
<U001D> \x1D |0
|
||||
<U001E> \x1E |0
|
||||
<U001F> \x1F |0
|
||||
<U0020> \x20 |0
|
||||
<U0021> \x21 |0
|
||||
<U0022> \x22 |0
|
||||
<U0023> \x23 |0
|
||||
<U0024> \x24 |0
|
||||
<U0025> \x25 |0
|
||||
<U0026> \x26 |0
|
||||
<U0027> \x27 |0
|
||||
<U0028> \x28 |0
|
||||
<U0029> \x29 |0
|
||||
<U002A> \x2A |0
|
||||
<U002B> \x2B |0
|
||||
<U002C> \x2C |0
|
||||
<U002D> \x2D |0
|
||||
<U002E> \x2E |0
|
||||
<U002F> \x2F |0
|
||||
<U0030> \x30 |0
|
||||
<U0031> \x31 |0
|
||||
<U0032> \x32 |0
|
||||
<U0033> \x33 |0
|
||||
<U0034> \x34 |0
|
||||
<U0035> \x35 |0
|
||||
<U0036> \x36 |0
|
||||
<U0037> \x37 |0
|
||||
<U0038> \x38 |0
|
||||
<U0039> \x39 |0
|
||||
<U003A> \x3A |0
|
||||
<U003B> \x3B |0
|
||||
<U003C> \x3C |0
|
||||
<U003D> \x3D |0
|
||||
<U003E> \x3E |0
|
||||
<U003F> \x3F |0
|
||||
<U0040> \x40 |0
|
||||
<U0041> \x41 |0
|
||||
<U0042> \x42 |0
|
||||
<U0043> \x43 |0
|
||||
<U0044> \x44 |0
|
||||
<U0045> \x45 |0
|
||||
<U0046> \x46 |0
|
||||
<U0047> \x47 |0
|
||||
<U0048> \x48 |0
|
||||
<U0049> \x49 |0
|
||||
<U004A> \x4A |0
|
||||
<U004B> \x4B |0
|
||||
<U004C> \x4C |0
|
||||
<U004D> \x4D |0
|
||||
<U004E> \x4E |0
|
||||
<U004F> \x4F |0
|
||||
<U0050> \x50 |0
|
||||
<U0051> \x51 |0
|
||||
<U0052> \x52 |0
|
||||
<U0053> \x53 |0
|
||||
<U0054> \x54 |0
|
||||
<U0055> \x55 |0
|
||||
<U0056> \x56 |0
|
||||
<U0057> \x57 |0
|
||||
<U0058> \x58 |0
|
||||
<U0059> \x59 |0
|
||||
<U005A> \x5A |0
|
||||
<U005B> \x5B |0
|
||||
<U005C> \x5C |0
|
||||
<U005D> \x5D |0
|
||||
<U005E> \x5E |0
|
||||
<U005F> \x5F |0
|
||||
<U0060> \x60 |0
|
||||
<U0061> \x61 |0
|
||||
<U0062> \x62 |0
|
||||
<U0063> \x63 |0
|
||||
<U0064> \x64 |0
|
||||
<U0065> \x65 |0
|
||||
<U0066> \x66 |0
|
||||
<U0067> \x67 |0
|
||||
<U0068> \x68 |0
|
||||
<U0069> \x69 |0
|
||||
<U006A> \x6A |0
|
||||
<U006B> \x6B |0
|
||||
<U006C> \x6C |0
|
||||
<U006D> \x6D |0
|
||||
<U006E> \x6E |0
|
||||
<U006F> \x6F |0
|
||||
<U0070> \x70 |0
|
||||
<U0071> \x71 |0
|
||||
<U0072> \x72 |0
|
||||
<U0073> \x73 |0
|
||||
<U0074> \x74 |0
|
||||
<U0075> \x75 |0
|
||||
<U0076> \x76 |0
|
||||
<U0077> \x77 |0
|
||||
<U0078> \x78 |0
|
||||
<U0079> \x79 |0
|
||||
<U007A> \x7A |0
|
||||
<U007B> \x7B |0
|
||||
<U007C> \x7C |0
|
||||
<U007D> \x7D |0
|
||||
<U007E> \x7E |0
|
||||
<U007F> \x7F |0
|
||||
<U00A0> \xA0 |0
|
||||
<U00A2> \xA2 |0
|
||||
<U00A3> \xA3 |0
|
||||
<U00A4> \xA4 |0
|
||||
<U00A5> \xA5 |0
|
||||
<U00A6> \xA6 |0
|
||||
<U00A7> \xA7 |0
|
||||
<U00A8> \xA8 |0
|
||||
<U00A9> \xA9 |0
|
||||
<U00AB> \xAB |0
|
||||
<U00AC> \xAC |0
|
||||
<U00AD> \xAD |0
|
||||
<U00AE> \xAE |0
|
||||
<U00AF> \xAF |0
|
||||
<U00B0> \xB0 |0
|
||||
<U00B1> \xB1 |0
|
||||
<U00B2> \xB2 |0
|
||||
<U00B3> \xB3 |0
|
||||
<U00B4> \xB4 |0
|
||||
<U00B5> \xB5 |0
|
||||
<U00B6> \xB6 |0
|
||||
<U00B7> \xB7 |0
|
||||
<U00B8> \xB8 |0
|
||||
<U00B9> \xB9 |0
|
||||
<U00BB> \xBB |0
|
||||
<U00BC> \xBC |0
|
||||
<U00BD> \xBD |0
|
||||
<U00BE> \xBE |0
|
||||
<U00D7> \xD7 |0
|
||||
<U00E0> \xE0 |0
|
||||
<U00E2> \xE2 |0
|
||||
<U00E7> \xE7 |0
|
||||
<U00E8> \xE8 |0
|
||||
<U00E9> \xE9 |0
|
||||
<U00EA> \xEA |0
|
||||
<U00EB> \xEB |0
|
||||
<U00EE> \xEE |0
|
||||
<U00EF> \xEF |0
|
||||
<U00F4> \xF4 |0
|
||||
<U00F7> \xF7 |0
|
||||
<U00F9> \xF9 |0
|
||||
<U00FB> \xFB |0
|
||||
<U00FC> \xFC |0
|
||||
<U0152> \x8C |0
|
||||
<U0153> \x9C |0
|
||||
<U0192> \x83 |0
|
||||
<U02C6> \x88 |0
|
||||
<U060C> \xA1 |0
|
||||
<U061B> \xBA |0
|
||||
<U061F> \xBF |0
|
||||
<U0621> \xC1 |0
|
||||
<U0622> \xC2 |0
|
||||
<U0623> \xC3 |0
|
||||
<U0624> \xC4 |0
|
||||
<U0625> \xC5 |0
|
||||
<U0626> \xC6 |0
|
||||
<U0627> \xC7 |0
|
||||
<U0628> \xC8 |0
|
||||
<U0629> \xC9 |0
|
||||
<U062A> \xCA |0
|
||||
<U062B> \xCB |0
|
||||
<U062C> \xCC |0
|
||||
<U062D> \xCD |0
|
||||
<U062E> \xCE |0
|
||||
<U062F> \xCF |0
|
||||
<U0630> \xD0 |0
|
||||
<U0631> \xD1 |0
|
||||
<U0632> \xD2 |0
|
||||
<U0633> \xD3 |0
|
||||
<U0634> \xD4 |0
|
||||
<U0635> \xD5 |0
|
||||
<U0636> \xD6 |0
|
||||
<U0637> \xD8 |0
|
||||
<U0638> \xD9 |0
|
||||
<U0639> \xDA |0
|
||||
<U063A> \xDB |0
|
||||
<U0640> \xDC |0
|
||||
<U0641> \xDD |0
|
||||
<U0642> \xDE |0
|
||||
<U0643> \xDF |0
|
||||
<U0644> \xE1 |0
|
||||
<U0645> \xE3 |0
|
||||
<U0646> \xE4 |0
|
||||
<U0647> \xE5 |0
|
||||
<U0648> \xE6 |0
|
||||
<U0649> \xEC |0
|
||||
<U064A> \xED |0
|
||||
<U064B> \xF0 |0
|
||||
<U064C> \xF1 |0
|
||||
<U064D> \xF2 |0
|
||||
<U064E> \xF3 |0
|
||||
<U064F> \xF5 |0
|
||||
<U0650> \xF6 |0
|
||||
<U0651> \xF8 |0
|
||||
<U0652> \xFA |0
|
||||
<U0660> \x30 |1
|
||||
<U0661> \x31 |1
|
||||
<U0662> \x32 |1
|
||||
<U0663> \x33 |1
|
||||
<U0664> \x34 |1
|
||||
<U0665> \x35 |1
|
||||
<U0666> \x36 |1
|
||||
<U0667> \x37 |1
|
||||
<U0668> \x38 |1
|
||||
<U0669> \x39 |1
|
||||
<U066B> \x2C |1
|
||||
<U066C> \x2E |1
|
||||
<U0679> \x8A |0
|
||||
<U067E> \x81 |0
|
||||
<U0686> \x8D |0
|
||||
<U0688> \x8F |0
|
||||
<U0691> \x9A |0
|
||||
<U0698> \x8E |0
|
||||
<U06A9> \x98 |0
|
||||
<U06AF> \x90 |0
|
||||
<U06BA> \x9F |0
|
||||
<U06BE> \xAA |0
|
||||
<U06C1> \xC0 |0
|
||||
<U06D2> \xFF |0
|
||||
<U06F0> \x30 |1
|
||||
<U06F1> \x31 |1
|
||||
<U06F2> \x32 |1
|
||||
<U06F3> \x33 |1
|
||||
<U06F4> \x34 |1
|
||||
<U06F5> \x35 |1
|
||||
<U06F6> \x36 |1
|
||||
<U06F7> \x37 |1
|
||||
<U06F8> \x38 |1
|
||||
<U06F9> \x39 |1
|
||||
<U200C> \x9D |0
|
||||
<U200D> \x9E |0
|
||||
<U200E> \xFD |0
|
||||
<U200F> \xFE |0
|
||||
<U2013> \x96 |0
|
||||
<U2014> \x97 |0
|
||||
<U2018> \x91 |0
|
||||
<U2019> \x92 |0
|
||||
<U201A> \x82 |0
|
||||
<U201C> \x93 |0
|
||||
<U201D> \x94 |0
|
||||
<U201E> \x84 |0
|
||||
<U2020> \x86 |0
|
||||
<U2021> \x87 |0
|
||||
<U2022> \x95 |0
|
||||
<U2026> \x85 |0
|
||||
<U2030> \x89 |0
|
||||
<U2039> \x8B |0
|
||||
<U203A> \x9B |0
|
||||
<U20AC> \x80 |0
|
||||
<U2122> \x99 |0
|
||||
<UFB56> \x81 |1
|
||||
<UFB58> \x81 |1
|
||||
<UFB66> \x8A |1
|
||||
<UFB68> \x8A |1
|
||||
<UFB7A> \x8D |1
|
||||
<UFB7C> \x8D |1
|
||||
<UFB88> \x8F |1
|
||||
<UFB8A> \x8E |1
|
||||
<UFB8C> \x9A |1
|
||||
<UFB8E> \x98 |1
|
||||
<UFB90> \x98 |1
|
||||
<UFB92> \x90 |1
|
||||
<UFB94> \x90 |1
|
||||
<UFB9E> \x9F |1
|
||||
<UFBA6> \xC0 |1
|
||||
<UFBA8> \xC0 |1
|
||||
<UFBAA> \xAA |1
|
||||
<UFBAC> \xAA |1
|
||||
<UFBAE> \xFF |1
|
||||
<UFE70> \xF0 |1
|
||||
<UFE71> \xF0 |1
|
||||
<UFE72> \xF1 |1
|
||||
<UFE74> \xF2 |1
|
||||
<UFE76> \xF3 |1
|
||||
<UFE77> \xF3 |1
|
||||
<UFE78> \xF5 |1
|
||||
<UFE79> \xF5 |1
|
||||
<UFE7A> \xF6 |1
|
||||
<UFE7B> \xF6 |1
|
||||
<UFE7C> \xF8 |1
|
||||
<UFE7D> \xF8 |1
|
||||
<UFE7E> \xFA |1
|
||||
<UFE7F> \xFA |1
|
||||
<UFE80> \xC1 |1
|
||||
<UFE81> \xC2 |1
|
||||
<UFE82> \xC2 |1
|
||||
<UFE83> \xC3 |1
|
||||
<UFE84> \xC3 |1
|
||||
<UFE85> \xC4 |1
|
||||
<UFE86> \xC4 |1
|
||||
<UFE87> \xC5 |1
|
||||
<UFE88> \xC5 |1
|
||||
<UFE89> \xC6 |1
|
||||
<UFE8A> \xC6 |1
|
||||
<UFE8B> \xC6 |1
|
||||
<UFE8C> \xC6 |1
|
||||
<UFE8D> \xC7 |1
|
||||
<UFE8E> \xC7 |1
|
||||
<UFE8F> \xC8 |1
|
||||
<UFE90> \xC8 |1
|
||||
<UFE91> \xC8 |1
|
||||
<UFE92> \xC8 |1
|
||||
<UFE93> \xC9 |1
|
||||
<UFE94> \xC9 |1
|
||||
<UFE95> \xCA |1
|
||||
<UFE96> \xCA |1
|
||||
<UFE97> \xCA |1
|
||||
<UFE98> \xCA |1
|
||||
<UFE99> \xCB |1
|
||||
<UFE9A> \xCB |1
|
||||
<UFE9B> \xCB |1
|
||||
<UFE9C> \xCB |1
|
||||
<UFE9D> \xCC |1
|
||||
<UFE9E> \xCC |1
|
||||
<UFE9F> \xCC |1
|
||||
<UFEA0> \xCC |1
|
||||
<UFEA1> \xCD |1
|
||||
<UFEA2> \xCD |1
|
||||
<UFEA3> \xCD |1
|
||||
<UFEA4> \xCD |1
|
||||
<UFEA5> \xCE |1
|
||||
<UFEA6> \xCE |1
|
||||
<UFEA7> \xCE |1
|
||||
<UFEA8> \xCE |1
|
||||
<UFEA9> \xCF |1
|
||||
<UFEAA> \xCF |1
|
||||
<UFEAB> \xD0 |1
|
||||
<UFEAC> \xD0 |1
|
||||
<UFEAD> \xD1 |1
|
||||
<UFEAE> \xD1 |1
|
||||
<UFEAF> \xD2 |1
|
||||
<UFEB0> \xD2 |1
|
||||
<UFEB1> \xD3 |1
|
||||
<UFEB2> \xD3 |1
|
||||
<UFEB3> \xD3 |1
|
||||
<UFEB4> \xD3 |1
|
||||
<UFEB5> \xD4 |1
|
||||
<UFEB6> \xD4 |1
|
||||
<UFEB7> \xD4 |1
|
||||
<UFEB8> \xD4 |1
|
||||
<UFEB9> \xD5 |1
|
||||
<UFEBA> \xD5 |1
|
||||
<UFEBB> \xD5 |1
|
||||
<UFEBC> \xD5 |1
|
||||
<UFEBD> \xD6 |1
|
||||
<UFEBE> \xD6 |1
|
||||
<UFEBF> \xD6 |1
|
||||
<UFEC0> \xD6 |1
|
||||
<UFEC1> \xD8 |1
|
||||
<UFEC2> \xD8 |1
|
||||
<UFEC3> \xD8 |1
|
||||
<UFEC4> \xD8 |1
|
||||
<UFEC5> \xD9 |1
|
||||
<UFEC6> \xD9 |1
|
||||
<UFEC7> \xD9 |1
|
||||
<UFEC8> \xD9 |1
|
||||
<UFEC9> \xDA |1
|
||||
<UFECA> \xDA |1
|
||||
<UFECB> \xDA |1
|
||||
<UFECC> \xDA |1
|
||||
<UFECD> \xDB |1
|
||||
<UFECE> \xDB |1
|
||||
<UFECF> \xDB |1
|
||||
<UFED0> \xDB |1
|
||||
<UFED1> \xDD |1
|
||||
<UFED2> \xDD |1
|
||||
<UFED3> \xDD |1
|
||||
<UFED4> \xDD |1
|
||||
<UFED5> \xDE |1
|
||||
<UFED6> \xDE |1
|
||||
<UFED7> \xDE |1
|
||||
<UFED8> \xDE |1
|
||||
<UFED9> \xDF |1
|
||||
<UFEDA> \xDF |1
|
||||
<UFEDB> \xDF |1
|
||||
<UFEDC> \xDF |1
|
||||
<UFEDD> \xE1 |1
|
||||
<UFEDE> \xE1 |1
|
||||
<UFEDF> \xE1 |1
|
||||
<UFEE0> \xE1 |1
|
||||
<UFEE1> \xE3 |1
|
||||
<UFEE2> \xE3 |1
|
||||
<UFEE3> \xE3 |1
|
||||
<UFEE4> \xE3 |1
|
||||
<UFEE5> \xE4 |1
|
||||
<UFEE6> \xE4 |1
|
||||
<UFEE7> \xE4 |1
|
||||
<UFEE8> \xE4 |1
|
||||
<UFEE9> \xE5 |1
|
||||
<UFEEA> \xE5 |1
|
||||
<UFEEB> \xE5 |1
|
||||
<UFEEC> \xE5 |1
|
||||
<UFEED> \xE6 |1
|
||||
<UFEEE> \xE6 |1
|
||||
<UFEEF> \xEC |1
|
||||
<UFEF0> \xEC |1
|
||||
<UFEF1> \xED |1
|
||||
<UFEF2> \xED |1
|
||||
<UFEF3> \xED |1
|
||||
<UFEF4> \xED |1
|
||||
<UFF01> \x21 |1
|
||||
<UFF02> \x22 |1
|
||||
<UFF03> \x23 |1
|
||||
<UFF04> \x24 |1
|
||||
<UFF05> \x25 |1
|
||||
<UFF06> \x26 |1
|
||||
<UFF07> \x27 |1
|
||||
<UFF08> \x28 |1
|
||||
<UFF09> \x29 |1
|
||||
<UFF0A> \x2A |1
|
||||
<UFF0B> \x2B |1
|
||||
<UFF0C> \x2C |1
|
||||
<UFF0D> \x2D |1
|
||||
<UFF0E> \x2E |1
|
||||
<UFF0F> \x2F |1
|
||||
<UFF10> \x30 |1
|
||||
<UFF11> \x31 |1
|
||||
<UFF12> \x32 |1
|
||||
<UFF13> \x33 |1
|
||||
<UFF14> \x34 |1
|
||||
<UFF15> \x35 |1
|
||||
<UFF16> \x36 |1
|
||||
<UFF17> \x37 |1
|
||||
<UFF18> \x38 |1
|
||||
<UFF19> \x39 |1
|
||||
<UFF1A> \x3A |1
|
||||
<UFF1B> \x3B |1
|
||||
<UFF1C> \x3C |1
|
||||
<UFF1D> \x3D |1
|
||||
<UFF1E> \x3E |1
|
||||
<UFF1F> \x3F |1
|
||||
<UFF20> \x40 |1
|
||||
<UFF21> \x41 |1
|
||||
<UFF22> \x42 |1
|
||||
<UFF23> \x43 |1
|
||||
<UFF24> \x44 |1
|
||||
<UFF25> \x45 |1
|
||||
<UFF26> \x46 |1
|
||||
<UFF27> \x47 |1
|
||||
<UFF28> \x48 |1
|
||||
<UFF29> \x49 |1
|
||||
<UFF2A> \x4A |1
|
||||
<UFF2B> \x4B |1
|
||||
<UFF2C> \x4C |1
|
||||
<UFF2D> \x4D |1
|
||||
<UFF2E> \x4E |1
|
||||
<UFF2F> \x4F |1
|
||||
<UFF30> \x50 |1
|
||||
<UFF31> \x51 |1
|
||||
<UFF32> \x52 |1
|
||||
<UFF33> \x53 |1
|
||||
<UFF34> \x54 |1
|
||||
<UFF35> \x55 |1
|
||||
<UFF36> \x56 |1
|
||||
<UFF37> \x57 |1
|
||||
<UFF38> \x58 |1
|
||||
<UFF39> \x59 |1
|
||||
<UFF3A> \x5A |1
|
||||
<UFF3B> \x5B |1
|
||||
<UFF3C> \x5C |1
|
||||
<UFF3D> \x5D |1
|
||||
<UFF3E> \x5E |1
|
||||
<UFF3F> \x5F |1
|
||||
<UFF40> \x60 |1
|
||||
<UFF41> \x61 |1
|
||||
<UFF42> \x62 |1
|
||||
<UFF43> \x63 |1
|
||||
<UFF44> \x64 |1
|
||||
<UFF45> \x65 |1
|
||||
<UFF46> \x66 |1
|
||||
<UFF47> \x67 |1
|
||||
<UFF48> \x68 |1
|
||||
<UFF49> \x69 |1
|
||||
<UFF4A> \x6A |1
|
||||
<UFF4B> \x6B |1
|
||||
<UFF4C> \x6C |1
|
||||
<UFF4D> \x6D |1
|
||||
<UFF4E> \x6E |1
|
||||
<UFF4F> \x6F |1
|
||||
<UFF50> \x70 |1
|
||||
<UFF51> \x71 |1
|
||||
<UFF52> \x72 |1
|
||||
<UFF53> \x73 |1
|
||||
<UFF54> \x74 |1
|
||||
<UFF55> \x75 |1
|
||||
<UFF56> \x76 |1
|
||||
<UFF57> \x77 |1
|
||||
<UFF58> \x78 |1
|
||||
<UFF59> \x79 |1
|
||||
<UFF5A> \x7A |1
|
||||
<UFF5B> \x7B |1
|
||||
<UFF5C> \x7C |1
|
||||
<UFF5D> \x7D |1
|
||||
<UFF5E> \x7E |1
|
||||
END CHARMAP
|
||||
@@ -0,0 +1,339 @@
|
||||
# *******************************************************************************
|
||||
# *
|
||||
# * Copyright (C) 1995-2000, International Business Machines
|
||||
# * Corporation and others. All Rights Reserved.
|
||||
# *
|
||||
# *******************************************************************************
|
||||
#
|
||||
# File created on Mon Nov 13 09:28:04 2000
|
||||
#
|
||||
# File created by dtcocm version 3.00
|
||||
# from source files 34B00394.RPMAP100 and 039434B0.TPMAP100
|
||||
#
|
||||
# Table Version : 1.01
|
||||
#
|
||||
<code_set_name> "IBM-916"
|
||||
<char_name_mask> "AXXXX"
|
||||
<mb_cur_max> 1
|
||||
<mb_cur_min> 1
|
||||
<uconv_class> "SBCS"
|
||||
<subchar> \x1A
|
||||
#
|
||||
CHARMAP
|
||||
#
|
||||
#
|
||||
#ISO 10646 IBM-916
|
||||
#_________ _________
|
||||
<U0000> \x00 |0
|
||||
<U0001> \x01 |0
|
||||
<U0002> \x02 |0
|
||||
<U0003> \x03 |0
|
||||
<U0004> \x04 |0
|
||||
<U0005> \x05 |0
|
||||
<U0006> \x06 |0
|
||||
<U0007> \x07 |0
|
||||
<U0008> \x08 |0
|
||||
<U0009> \x09 |0
|
||||
<U000A> \x0A |0
|
||||
<U000B> \x0B |0
|
||||
<U000C> \x0C |0
|
||||
<U000D> \x0D |0
|
||||
<U000E> \x0E |0
|
||||
<U000F> \x0F |0
|
||||
<U0010> \x10 |0
|
||||
<U0011> \x11 |0
|
||||
<U0012> \x12 |0
|
||||
<U0013> \x13 |0
|
||||
<U0014> \x14 |0
|
||||
<U0015> \x15 |0
|
||||
<U0016> \x16 |0
|
||||
<U0017> \x17 |0
|
||||
<U0018> \x18 |0
|
||||
<U0019> \x19 |0
|
||||
<U001A> \x1A |0
|
||||
<U001B> \x1B |0
|
||||
<U001C> \x1C |0
|
||||
<U001D> \x1D |0
|
||||
<U001E> \x1E |0
|
||||
<U001F> \x1F |0
|
||||
<U0020> \x20 |0
|
||||
<U0021> \x21 |0
|
||||
<U0022> \x22 |0
|
||||
<U0023> \x23 |0
|
||||
<U0024> \x24 |0
|
||||
<U0025> \x25 |0
|
||||
<U0026> \x26 |0
|
||||
<U0027> \x27 |0
|
||||
<U0028> \x28 |0
|
||||
<U0029> \x29 |0
|
||||
<U002A> \x2A |0
|
||||
<U002B> \x2B |0
|
||||
<U002C> \x2C |0
|
||||
<U002D> \x2D |0
|
||||
<U002E> \x2E |0
|
||||
<U002F> \x2F |0
|
||||
<U0030> \x30 |0
|
||||
<U0031> \x31 |0
|
||||
<U0032> \x32 |0
|
||||
<U0033> \x33 |0
|
||||
<U0034> \x34 |0
|
||||
<U0035> \x35 |0
|
||||
<U0036> \x36 |0
|
||||
<U0037> \x37 |0
|
||||
<U0038> \x38 |0
|
||||
<U0039> \x39 |0
|
||||
<U003A> \x3A |0
|
||||
<U003B> \x3B |0
|
||||
<U003C> \x3C |0
|
||||
<U003D> \x3D |0
|
||||
<U003E> \x3E |0
|
||||
<U003F> \x3F |0
|
||||
<U0040> \x40 |0
|
||||
<U0041> \x41 |0
|
||||
<U0042> \x42 |0
|
||||
<U0043> \x43 |0
|
||||
<U0044> \x44 |0
|
||||
<U0045> \x45 |0
|
||||
<U0046> \x46 |0
|
||||
<U0047> \x47 |0
|
||||
<U0048> \x48 |0
|
||||
<U0049> \x49 |0
|
||||
<U004A> \x4A |0
|
||||
<U004B> \x4B |0
|
||||
<U004C> \x4C |0
|
||||
<U004D> \x4D |0
|
||||
<U004E> \x4E |0
|
||||
<U004F> \x4F |0
|
||||
<U0050> \x50 |0
|
||||
<U0051> \x51 |0
|
||||
<U0052> \x52 |0
|
||||
<U0053> \x53 |0
|
||||
<U0054> \x54 |0
|
||||
<U0055> \x55 |0
|
||||
<U0056> \x56 |0
|
||||
<U0057> \x57 |0
|
||||
<U0058> \x58 |0
|
||||
<U0059> \x59 |0
|
||||
<U005A> \x5A |0
|
||||
<U005B> \x5B |0
|
||||
<U005C> \x5C |0
|
||||
<U005D> \x5D |0
|
||||
<U005E> \x5E |0
|
||||
<U005F> \x5F |0
|
||||
<U0060> \x60 |0
|
||||
<U0061> \x61 |0
|
||||
<U0062> \x62 |0
|
||||
<U0063> \x63 |0
|
||||
<U0064> \x64 |0
|
||||
<U0065> \x65 |0
|
||||
<U0066> \x66 |0
|
||||
<U0067> \x67 |0
|
||||
<U0068> \x68 |0
|
||||
<U0069> \x69 |0
|
||||
<U006A> \x6A |0
|
||||
<U006B> \x6B |0
|
||||
<U006C> \x6C |0
|
||||
<U006D> \x6D |0
|
||||
<U006E> \x6E |0
|
||||
<U006F> \x6F |0
|
||||
<U0070> \x70 |0
|
||||
<U0071> \x71 |0
|
||||
<U0072> \x72 |0
|
||||
<U0073> \x73 |0
|
||||
<U0074> \x74 |0
|
||||
<U0075> \x75 |0
|
||||
<U0076> \x76 |0
|
||||
<U0077> \x77 |0
|
||||
<U0078> \x78 |0
|
||||
<U0079> \x79 |0
|
||||
<U007A> \x7A |0
|
||||
<U007B> \x7B |0
|
||||
<U007C> \x7C |0
|
||||
<U007D> \x7D |0
|
||||
<U007E> \x7E |0
|
||||
<U007F> \x7F |0
|
||||
<U0080> \x80 |0
|
||||
<U0081> \x81 |0
|
||||
<U0082> \x82 |0
|
||||
<U0083> \x83 |0
|
||||
<U0084> \x84 |0
|
||||
<U0085> \x85 |0
|
||||
<U0086> \x86 |0
|
||||
<U0087> \x87 |0
|
||||
<U0088> \x88 |0
|
||||
<U0089> \x89 |0
|
||||
<U008A> \x8A |0
|
||||
<U008B> \x8B |0
|
||||
<U008C> \x8C |0
|
||||
<U008D> \x8D |0
|
||||
<U008E> \x8E |0
|
||||
<U008F> \x8F |0
|
||||
<U0090> \x90 |0
|
||||
<U0091> \x91 |0
|
||||
<U0092> \x92 |0
|
||||
<U0093> \x93 |0
|
||||
<U0094> \x94 |0
|
||||
<U0095> \x95 |0
|
||||
<U0096> \x96 |0
|
||||
<U0097> \x97 |0
|
||||
<U0098> \x98 |0
|
||||
<U0099> \x99 |0
|
||||
<U009A> \x9A |0
|
||||
<U009B> \x9B |0
|
||||
<U009C> \x9C |0
|
||||
<U009D> \x9D |0
|
||||
<U009E> \x9E |0
|
||||
<U009F> \x9F |0
|
||||
<U00A0> \xA0 |0
|
||||
<U00A2> \xA2 |0
|
||||
<U00A3> \xA3 |0
|
||||
<U00A4> \xA4 |0
|
||||
<U00A5> \xA5 |0
|
||||
<U00A6> \xA6 |0
|
||||
<U00A7> \xA7 |0
|
||||
<U00A8> \xA8 |0
|
||||
<U00A9> \xA9 |0
|
||||
<U00AB> \xAB |0
|
||||
<U00AC> \xAC |0
|
||||
<U00AD> \xAD |0
|
||||
<U00AE> \xAE |0
|
||||
<U00B0> \xB0 |0
|
||||
<U00B1> \xB1 |0
|
||||
<U00B2> \xB2 |0
|
||||
<U00B3> \xB3 |0
|
||||
<U00B4> \xB4 |0
|
||||
<U00B5> \xB5 |0
|
||||
<U00B6> \xB6 |0
|
||||
<U00B8> \xB8 |0
|
||||
<U00B9> \xB9 |0
|
||||
<U00BB> \xBB |0
|
||||
<U00BC> \xBC |0
|
||||
<U00BD> \xBD |0
|
||||
<U00BE> \xBE |0
|
||||
<U00D7> \xAA |0
|
||||
<U00F7> \xBA |0
|
||||
<U05D0> \xE0 |0
|
||||
<U05D1> \xE1 |0
|
||||
<U05D2> \xE2 |0
|
||||
<U05D3> \xE3 |0
|
||||
<U05D4> \xE4 |0
|
||||
<U05D5> \xE5 |0
|
||||
<U05D6> \xE6 |0
|
||||
<U05D7> \xE7 |0
|
||||
<U05D8> \xE8 |0
|
||||
<U05D9> \xE9 |0
|
||||
<U05DA> \xEA |0
|
||||
<U05DB> \xEB |0
|
||||
<U05DC> \xEC |0
|
||||
<U05DD> \xED |0
|
||||
<U05DE> \xEE |0
|
||||
<U05DF> \xEF |0
|
||||
<U05E0> \xF0 |0
|
||||
<U05E1> \xF1 |0
|
||||
<U05E2> \xF2 |0
|
||||
<U05E3> \xF3 |0
|
||||
<U05E4> \xF4 |0
|
||||
<U05E5> \xF5 |0
|
||||
<U05E6> \xF6 |0
|
||||
<U05E7> \xF7 |0
|
||||
<U05E8> \xF8 |0
|
||||
<U05E9> \xF9 |0
|
||||
<U05EA> \xFA |0
|
||||
<U2017> \xDF |0
|
||||
<U2022> \xB7 |0
|
||||
<U203E> \xAF |0
|
||||
<UFF01> \x21 |1
|
||||
<UFF02> \x22 |1
|
||||
<UFF03> \x23 |1
|
||||
<UFF04> \x24 |1
|
||||
<UFF05> \x25 |1
|
||||
<UFF06> \x26 |1
|
||||
<UFF07> \x27 |1
|
||||
<UFF08> \x28 |1
|
||||
<UFF09> \x29 |1
|
||||
<UFF0A> \x2A |1
|
||||
<UFF0B> \x2B |1
|
||||
<UFF0C> \x2C |1
|
||||
<UFF0D> \x2D |1
|
||||
<UFF0E> \x2E |1
|
||||
<UFF0F> \x2F |1
|
||||
<UFF10> \x30 |1
|
||||
<UFF11> \x31 |1
|
||||
<UFF12> \x32 |1
|
||||
<UFF13> \x33 |1
|
||||
<UFF14> \x34 |1
|
||||
<UFF15> \x35 |1
|
||||
<UFF16> \x36 |1
|
||||
<UFF17> \x37 |1
|
||||
<UFF18> \x38 |1
|
||||
<UFF19> \x39 |1
|
||||
<UFF1A> \x3A |1
|
||||
<UFF1B> \x3B |1
|
||||
<UFF1C> \x3C |1
|
||||
<UFF1D> \x3D |1
|
||||
<UFF1E> \x3E |1
|
||||
<UFF1F> \x3F |1
|
||||
<UFF20> \x40 |1
|
||||
<UFF21> \x41 |1
|
||||
<UFF22> \x42 |1
|
||||
<UFF23> \x43 |1
|
||||
<UFF24> \x44 |1
|
||||
<UFF25> \x45 |1
|
||||
<UFF26> \x46 |1
|
||||
<UFF27> \x47 |1
|
||||
<UFF28> \x48 |1
|
||||
<UFF29> \x49 |1
|
||||
<UFF2A> \x4A |1
|
||||
<UFF2B> \x4B |1
|
||||
<UFF2C> \x4C |1
|
||||
<UFF2D> \x4D |1
|
||||
<UFF2E> \x4E |1
|
||||
<UFF2F> \x4F |1
|
||||
<UFF30> \x50 |1
|
||||
<UFF31> \x51 |1
|
||||
<UFF32> \x52 |1
|
||||
<UFF33> \x53 |1
|
||||
<UFF34> \x54 |1
|
||||
<UFF35> \x55 |1
|
||||
<UFF36> \x56 |1
|
||||
<UFF37> \x57 |1
|
||||
<UFF38> \x58 |1
|
||||
<UFF39> \x59 |1
|
||||
<UFF3A> \x5A |1
|
||||
<UFF3B> \x5B |1
|
||||
<UFF3C> \x5C |1
|
||||
<UFF3D> \x5D |1
|
||||
<UFF3E> \x5E |1
|
||||
<UFF3F> \x5F |1
|
||||
<UFF40> \x60 |1
|
||||
<UFF41> \x61 |1
|
||||
<UFF42> \x62 |1
|
||||
<UFF43> \x63 |1
|
||||
<UFF44> \x64 |1
|
||||
<UFF45> \x65 |1
|
||||
<UFF46> \x66 |1
|
||||
<UFF47> \x67 |1
|
||||
<UFF48> \x68 |1
|
||||
<UFF49> \x69 |1
|
||||
<UFF4A> \x6A |1
|
||||
<UFF4B> \x6B |1
|
||||
<UFF4C> \x6C |1
|
||||
<UFF4D> \x6D |1
|
||||
<UFF4E> \x6E |1
|
||||
<UFF4F> \x6F |1
|
||||
<UFF50> \x70 |1
|
||||
<UFF51> \x71 |1
|
||||
<UFF52> \x72 |1
|
||||
<UFF53> \x73 |1
|
||||
<UFF54> \x74 |1
|
||||
<UFF55> \x75 |1
|
||||
<UFF56> \x76 |1
|
||||
<UFF57> \x77 |1
|
||||
<UFF58> \x78 |1
|
||||
<UFF59> \x79 |1
|
||||
<UFF5A> \x7A |1
|
||||
<UFF5B> \x7B |1
|
||||
<UFF5C> \x7C |1
|
||||
<UFF5D> \x7D |1
|
||||
<UFF5E> \x7E |1
|
||||
END CHARMAP
|
||||
@@ -0,0 +1,378 @@
|
||||
# *******************************************************************************
|
||||
# *
|
||||
# * Copyright (C) 1995-2000, International Business Machines
|
||||
# * Corporation and others. All Rights Reserved.
|
||||
# *
|
||||
# *******************************************************************************
|
||||
#
|
||||
# File created on Mon Nov 13 09:28:04 2000
|
||||
#
|
||||
# File created by dtcocm version 3.00
|
||||
# from source files 34B00398.RPMAP100 and 039834B0.TPMAP100
|
||||
#
|
||||
# Table Version : 1.01
|
||||
#
|
||||
<code_set_name> "IBM-920"
|
||||
<char_name_mask> "AXXXX"
|
||||
<mb_cur_max> 1
|
||||
<mb_cur_min> 1
|
||||
<uconv_class> "SBCS"
|
||||
<subchar> \x1A
|
||||
#
|
||||
CHARMAP
|
||||
#
|
||||
#
|
||||
#ISO 10646 IBM-920
|
||||
#_________ _________
|
||||
<U0000> \x00 |0
|
||||
<U0001> \x01 |0
|
||||
<U0002> \x02 |0
|
||||
<U0003> \x03 |0
|
||||
<U0004> \x04 |0
|
||||
<U0005> \x05 |0
|
||||
<U0006> \x06 |0
|
||||
<U0007> \x07 |0
|
||||
<U0008> \x08 |0
|
||||
<U0009> \x09 |0
|
||||
<U000A> \x0A |0
|
||||
<U000B> \x0B |0
|
||||
<U000C> \x0C |0
|
||||
<U000D> \x0D |0
|
||||
<U000E> \x0E |0
|
||||
<U000F> \x0F |0
|
||||
<U0010> \x10 |0
|
||||
<U0011> \x11 |0
|
||||
<U0012> \x12 |0
|
||||
<U0013> \x13 |0
|
||||
<U0014> \x14 |0
|
||||
<U0015> \x15 |0
|
||||
<U0016> \x16 |0
|
||||
<U0017> \x17 |0
|
||||
<U0018> \x18 |0
|
||||
<U0019> \x19 |0
|
||||
<U001A> \x1A |0
|
||||
<U001B> \x1B |0
|
||||
<U001C> \x1C |0
|
||||
<U001D> \x1D |0
|
||||
<U001E> \x1E |0
|
||||
<U001F> \x1F |0
|
||||
<U0020> \x20 |0
|
||||
<U0021> \x21 |0
|
||||
<U0022> \x22 |0
|
||||
<U0023> \x23 |0
|
||||
<U0024> \x24 |0
|
||||
<U0025> \x25 |0
|
||||
<U0026> \x26 |0
|
||||
<U0027> \x27 |0
|
||||
<U0028> \x28 |0
|
||||
<U0029> \x29 |0
|
||||
<U002A> \x2A |0
|
||||
<U002B> \x2B |0
|
||||
<U002C> \x2C |0
|
||||
<U002D> \x2D |0
|
||||
<U002E> \x2E |0
|
||||
<U002F> \x2F |0
|
||||
<U0030> \x30 |0
|
||||
<U0031> \x31 |0
|
||||
<U0032> \x32 |0
|
||||
<U0033> \x33 |0
|
||||
<U0034> \x34 |0
|
||||
<U0035> \x35 |0
|
||||
<U0036> \x36 |0
|
||||
<U0037> \x37 |0
|
||||
<U0038> \x38 |0
|
||||
<U0039> \x39 |0
|
||||
<U003A> \x3A |0
|
||||
<U003B> \x3B |0
|
||||
<U003C> \x3C |0
|
||||
<U003D> \x3D |0
|
||||
<U003E> \x3E |0
|
||||
<U003F> \x3F |0
|
||||
<U0040> \x40 |0
|
||||
<U0041> \x41 |0
|
||||
<U0042> \x42 |0
|
||||
<U0043> \x43 |0
|
||||
<U0044> \x44 |0
|
||||
<U0045> \x45 |0
|
||||
<U0046> \x46 |0
|
||||
<U0047> \x47 |0
|
||||
<U0048> \x48 |0
|
||||
<U0049> \x49 |0
|
||||
<U004A> \x4A |0
|
||||
<U004B> \x4B |0
|
||||
<U004C> \x4C |0
|
||||
<U004D> \x4D |0
|
||||
<U004E> \x4E |0
|
||||
<U004F> \x4F |0
|
||||
<U0050> \x50 |0
|
||||
<U0051> \x51 |0
|
||||
<U0052> \x52 |0
|
||||
<U0053> \x53 |0
|
||||
<U0054> \x54 |0
|
||||
<U0055> \x55 |0
|
||||
<U0056> \x56 |0
|
||||
<U0057> \x57 |0
|
||||
<U0058> \x58 |0
|
||||
<U0059> \x59 |0
|
||||
<U005A> \x5A |0
|
||||
<U005B> \x5B |0
|
||||
<U005C> \x5C |0
|
||||
<U005D> \x5D |0
|
||||
<U005E> \x5E |0
|
||||
<U005F> \x5F |0
|
||||
<U0060> \x60 |0
|
||||
<U0061> \x61 |0
|
||||
<U0062> \x62 |0
|
||||
<U0063> \x63 |0
|
||||
<U0064> \x64 |0
|
||||
<U0065> \x65 |0
|
||||
<U0066> \x66 |0
|
||||
<U0067> \x67 |0
|
||||
<U0068> \x68 |0
|
||||
<U0069> \x69 |0
|
||||
<U006A> \x6A |0
|
||||
<U006B> \x6B |0
|
||||
<U006C> \x6C |0
|
||||
<U006D> \x6D |0
|
||||
<U006E> \x6E |0
|
||||
<U006F> \x6F |0
|
||||
<U0070> \x70 |0
|
||||
<U0071> \x71 |0
|
||||
<U0072> \x72 |0
|
||||
<U0073> \x73 |0
|
||||
<U0074> \x74 |0
|
||||
<U0075> \x75 |0
|
||||
<U0076> \x76 |0
|
||||
<U0077> \x77 |0
|
||||
<U0078> \x78 |0
|
||||
<U0079> \x79 |0
|
||||
<U007A> \x7A |0
|
||||
<U007B> \x7B |0
|
||||
<U007C> \x7C |0
|
||||
<U007D> \x7D |0
|
||||
<U007E> \x7E |0
|
||||
<U007F> \x7F |0
|
||||
<U0080> \x80 |0
|
||||
<U0081> \x81 |0
|
||||
<U0082> \x82 |0
|
||||
<U0083> \x83 |0
|
||||
<U0084> \x84 |0
|
||||
<U0085> \x85 |0
|
||||
<U0086> \x86 |0
|
||||
<U0087> \x87 |0
|
||||
<U0088> \x88 |0
|
||||
<U0089> \x89 |0
|
||||
<U008A> \x8A |0
|
||||
<U008B> \x8B |0
|
||||
<U008C> \x8C |0
|
||||
<U008D> \x8D |0
|
||||
<U008E> \x8E |0
|
||||
<U008F> \x8F |0
|
||||
<U0090> \x90 |0
|
||||
<U0091> \x91 |0
|
||||
<U0092> \x92 |0
|
||||
<U0093> \x93 |0
|
||||
<U0094> \x94 |0
|
||||
<U0095> \x95 |0
|
||||
<U0096> \x96 |0
|
||||
<U0097> \x97 |0
|
||||
<U0098> \x98 |0
|
||||
<U0099> \x99 |0
|
||||
<U009A> \x9A |0
|
||||
<U009B> \x9B |0
|
||||
<U009C> \x9C |0
|
||||
<U009D> \x9D |0
|
||||
<U009E> \x9E |0
|
||||
<U009F> \x9F |0
|
||||
<U00A0> \xA0 |0
|
||||
<U00A1> \xA1 |0
|
||||
<U00A2> \xA2 |0
|
||||
<U00A3> \xA3 |0
|
||||
<U00A4> \xA4 |0
|
||||
<U00A5> \xA5 |0
|
||||
<U00A6> \xA6 |0
|
||||
<U00A7> \xA7 |0
|
||||
<U00A8> \xA8 |0
|
||||
<U00A9> \xA9 |0
|
||||
<U00AA> \xAA |0
|
||||
<U00AB> \xAB |0
|
||||
<U00AC> \xAC |0
|
||||
<U00AD> \xAD |0
|
||||
<U00AE> \xAE |0
|
||||
<U00AF> \xAF |0
|
||||
<U00B0> \xB0 |0
|
||||
<U00B1> \xB1 |0
|
||||
<U00B2> \xB2 |0
|
||||
<U00B3> \xB3 |0
|
||||
<U00B4> \xB4 |0
|
||||
<U00B5> \xB5 |0
|
||||
<U00B6> \xB6 |0
|
||||
<U00B7> \xB7 |0
|
||||
<U00B8> \xB8 |0
|
||||
<U00B9> \xB9 |0
|
||||
<U00BA> \xBA |0
|
||||
<U00BB> \xBB |0
|
||||
<U00BC> \xBC |0
|
||||
<U00BD> \xBD |0
|
||||
<U00BE> \xBE |0
|
||||
<U00BF> \xBF |0
|
||||
<U00C0> \xC0 |0
|
||||
<U00C1> \xC1 |0
|
||||
<U00C2> \xC2 |0
|
||||
<U00C3> \xC3 |0
|
||||
<U00C4> \xC4 |0
|
||||
<U00C5> \xC5 |0
|
||||
<U00C6> \xC6 |0
|
||||
<U00C7> \xC7 |0
|
||||
<U00C8> \xC8 |0
|
||||
<U00C9> \xC9 |0
|
||||
<U00CA> \xCA |0
|
||||
<U00CB> \xCB |0
|
||||
<U00CC> \xCC |0
|
||||
<U00CD> \xCD |0
|
||||
<U00CE> \xCE |0
|
||||
<U00CF> \xCF |0
|
||||
<U00D1> \xD1 |0
|
||||
<U00D2> \xD2 |0
|
||||
<U00D3> \xD3 |0
|
||||
<U00D4> \xD4 |0
|
||||
<U00D5> \xD5 |0
|
||||
<U00D6> \xD6 |0
|
||||
<U00D7> \xD7 |0
|
||||
<U00D8> \xD8 |0
|
||||
<U00D9> \xD9 |0
|
||||
<U00DA> \xDA |0
|
||||
<U00DB> \xDB |0
|
||||
<U00DC> \xDC |0
|
||||
<U00DF> \xDF |0
|
||||
<U00E0> \xE0 |0
|
||||
<U00E1> \xE1 |0
|
||||
<U00E2> \xE2 |0
|
||||
<U00E3> \xE3 |0
|
||||
<U00E4> \xE4 |0
|
||||
<U00E5> \xE5 |0
|
||||
<U00E6> \xE6 |0
|
||||
<U00E7> \xE7 |0
|
||||
<U00E8> \xE8 |0
|
||||
<U00E9> \xE9 |0
|
||||
<U00EA> \xEA |0
|
||||
<U00EB> \xEB |0
|
||||
<U00EC> \xEC |0
|
||||
<U00ED> \xED |0
|
||||
<U00EE> \xEE |0
|
||||
<U00EF> \xEF |0
|
||||
<U00F1> \xF1 |0
|
||||
<U00F2> \xF2 |0
|
||||
<U00F3> \xF3 |0
|
||||
<U00F4> \xF4 |0
|
||||
<U00F5> \xF5 |0
|
||||
<U00F6> \xF6 |0
|
||||
<U00F7> \xF7 |0
|
||||
<U00F8> \xF8 |0
|
||||
<U00F9> \xF9 |0
|
||||
<U00FA> \xFA |0
|
||||
<U00FB> \xFB |0
|
||||
<U00FC> \xFC |0
|
||||
<U00FF> \xFF |0
|
||||
<U011E> \xD0 |0
|
||||
<U011F> \xF0 |0
|
||||
<U0130> \xDD |0
|
||||
<U0131> \xFD |0
|
||||
<U015E> \xDE |0
|
||||
<U015F> \xFE |0
|
||||
<U203E> \xAF |1
|
||||
<UFF01> \x21 |1
|
||||
<UFF02> \x22 |1
|
||||
<UFF03> \x23 |1
|
||||
<UFF04> \x24 |1
|
||||
<UFF05> \x25 |1
|
||||
<UFF06> \x26 |1
|
||||
<UFF07> \x27 |1
|
||||
<UFF08> \x28 |1
|
||||
<UFF09> \x29 |1
|
||||
<UFF0A> \x2A |1
|
||||
<UFF0B> \x2B |1
|
||||
<UFF0C> \x2C |1
|
||||
<UFF0D> \x2D |1
|
||||
<UFF0E> \x2E |1
|
||||
<UFF0F> \x2F |1
|
||||
<UFF10> \x30 |1
|
||||
<UFF11> \x31 |1
|
||||
<UFF12> \x32 |1
|
||||
<UFF13> \x33 |1
|
||||
<UFF14> \x34 |1
|
||||
<UFF15> \x35 |1
|
||||
<UFF16> \x36 |1
|
||||
<UFF17> \x37 |1
|
||||
<UFF18> \x38 |1
|
||||
<UFF19> \x39 |1
|
||||
<UFF1A> \x3A |1
|
||||
<UFF1B> \x3B |1
|
||||
<UFF1C> \x3C |1
|
||||
<UFF1D> \x3D |1
|
||||
<UFF1E> \x3E |1
|
||||
<UFF1F> \x3F |1
|
||||
<UFF20> \x40 |1
|
||||
<UFF21> \x41 |1
|
||||
<UFF22> \x42 |1
|
||||
<UFF23> \x43 |1
|
||||
<UFF24> \x44 |1
|
||||
<UFF25> \x45 |1
|
||||
<UFF26> \x46 |1
|
||||
<UFF27> \x47 |1
|
||||
<UFF28> \x48 |1
|
||||
<UFF29> \x49 |1
|
||||
<UFF2A> \x4A |1
|
||||
<UFF2B> \x4B |1
|
||||
<UFF2C> \x4C |1
|
||||
<UFF2D> \x4D |1
|
||||
<UFF2E> \x4E |1
|
||||
<UFF2F> \x4F |1
|
||||
<UFF30> \x50 |1
|
||||
<UFF31> \x51 |1
|
||||
<UFF32> \x52 |1
|
||||
<UFF33> \x53 |1
|
||||
<UFF34> \x54 |1
|
||||
<UFF35> \x55 |1
|
||||
<UFF36> \x56 |1
|
||||
<UFF37> \x57 |1
|
||||
<UFF38> \x58 |1
|
||||
<UFF39> \x59 |1
|
||||
<UFF3A> \x5A |1
|
||||
<UFF3B> \x5B |1
|
||||
<UFF3C> \x5C |1
|
||||
<UFF3D> \x5D |1
|
||||
<UFF3E> \x5E |1
|
||||
<UFF3F> \x5F |1
|
||||
<UFF40> \x60 |1
|
||||
<UFF41> \x61 |1
|
||||
<UFF42> \x62 |1
|
||||
<UFF43> \x63 |1
|
||||
<UFF44> \x64 |1
|
||||
<UFF45> \x65 |1
|
||||
<UFF46> \x66 |1
|
||||
<UFF47> \x67 |1
|
||||
<UFF48> \x68 |1
|
||||
<UFF49> \x69 |1
|
||||
<UFF4A> \x6A |1
|
||||
<UFF4B> \x6B |1
|
||||
<UFF4C> \x6C |1
|
||||
<UFF4D> \x6D |1
|
||||
<UFF4E> \x6E |1
|
||||
<UFF4F> \x6F |1
|
||||
<UFF50> \x70 |1
|
||||
<UFF51> \x71 |1
|
||||
<UFF52> \x72 |1
|
||||
<UFF53> \x73 |1
|
||||
<UFF54> \x74 |1
|
||||
<UFF55> \x75 |1
|
||||
<UFF56> \x76 |1
|
||||
<UFF57> \x77 |1
|
||||
<UFF58> \x78 |1
|
||||
<UFF59> \x79 |1
|
||||
<UFF5A> \x7A |1
|
||||
<UFF5B> \x7B |1
|
||||
<UFF5C> \x7C |1
|
||||
<UFF5D> \x7D |1
|
||||
<UFF5E> \x7E |1
|
||||
END CHARMAP
|
||||
Executable
+7
@@ -0,0 +1,7 @@
|
||||
CP1254.cs
|
||||
CP1255.cs
|
||||
CP1256.cs
|
||||
CP28596.cs
|
||||
CP28598.cs
|
||||
CP28599.cs
|
||||
CP38598.cs
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
topdir = ../../..
|
||||
|
||||
LIBRARY = $(topdir)/class/lib/I18N.MidEast.dll
|
||||
|
||||
LIB_LIST = list.unix
|
||||
LIB_FLAGS = -r corlib -r mscorlib -r I18N
|
||||
|
||||
SOURCES_INCLUDE=*.cs
|
||||
SOURCES_EXCLUDE=
|
||||
|
||||
export MONO_PATH_PREFIX = $(topdir)/class/lib:
|
||||
|
||||
include $(topdir)/class/library.make
|
||||
@@ -0,0 +1,403 @@
|
||||
/*
|
||||
* CP1251.cs - Cyrillic (Windows) code page.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// Generated from "ibm-5347.ucm".
|
||||
|
||||
namespace I18N.Other
|
||||
{
|
||||
|
||||
using System;
|
||||
using I18N.Common;
|
||||
|
||||
public class CP1251 : ByteEncoding
|
||||
{
|
||||
public CP1251()
|
||||
: base(1251, ToChars, "Cyrillic (Windows)",
|
||||
"koi8-r", "windows-1251", "windows-1251",
|
||||
true, true, true, true, 1251)
|
||||
{}
|
||||
|
||||
private static readonly char[] ToChars = {
|
||||
'\u0000', '\u0001', '\u0002', '\u0003', '\u0004', '\u0005',
|
||||
'\u0006', '\u0007', '\u0008', '\u0009', '\u000A', '\u000B',
|
||||
'\u000C', '\u000D', '\u000E', '\u000F', '\u0010', '\u0011',
|
||||
'\u0012', '\u0013', '\u0014', '\u0015', '\u0016', '\u0017',
|
||||
'\u0018', '\u0019', '\u001A', '\u001B', '\u001C', '\u001D',
|
||||
'\u001E', '\u001F', '\u0020', '\u0021', '\u0022', '\u0023',
|
||||
'\u0024', '\u0025', '\u0026', '\u0027', '\u0028', '\u0029',
|
||||
'\u002A', '\u002B', '\u002C', '\u002D', '\u002E', '\u002F',
|
||||
'\u0030', '\u0031', '\u0032', '\u0033', '\u0034', '\u0035',
|
||||
'\u0036', '\u0037', '\u0038', '\u0039', '\u003A', '\u003B',
|
||||
'\u003C', '\u003D', '\u003E', '\u003F', '\u0040', '\u0041',
|
||||
'\u0042', '\u0043', '\u0044', '\u0045', '\u0046', '\u0047',
|
||||
'\u0048', '\u0049', '\u004A', '\u004B', '\u004C', '\u004D',
|
||||
'\u004E', '\u004F', '\u0050', '\u0051', '\u0052', '\u0053',
|
||||
'\u0054', '\u0055', '\u0056', '\u0057', '\u0058', '\u0059',
|
||||
'\u005A', '\u005B', '\u005C', '\u005D', '\u005E', '\u005F',
|
||||
'\u0060', '\u0061', '\u0062', '\u0063', '\u0064', '\u0065',
|
||||
'\u0066', '\u0067', '\u0068', '\u0069', '\u006A', '\u006B',
|
||||
'\u006C', '\u006D', '\u006E', '\u006F', '\u0070', '\u0071',
|
||||
'\u0072', '\u0073', '\u0074', '\u0075', '\u0076', '\u0077',
|
||||
'\u0078', '\u0079', '\u007A', '\u007B', '\u007C', '\u007D',
|
||||
'\u007E', '\u007F', '\u0402', '\u0403', '\u201A', '\u0453',
|
||||
'\u201E', '\u2026', '\u2020', '\u2021', '\u20AC', '\u2030',
|
||||
'\u0409', '\u2039', '\u040A', '\u040C', '\u040B', '\u040F',
|
||||
'\u0452', '\u2018', '\u2019', '\u201C', '\u201D', '\u2022',
|
||||
'\u2013', '\u2014', '\u0098', '\u2122', '\u0459', '\u203A',
|
||||
'\u045A', '\u045C', '\u045B', '\u045F', '\u00A0', '\u040E',
|
||||
'\u045E', '\u0408', '\u00A4', '\u0490', '\u00A6', '\u00A7',
|
||||
'\u0401', '\u00A9', '\u0404', '\u00AB', '\u00AC', '\u00AD',
|
||||
'\u00AE', '\u0407', '\u00B0', '\u00B1', '\u0406', '\u0456',
|
||||
'\u0491', '\u00B5', '\u00B6', '\u00B7', '\u0451', '\u2116',
|
||||
'\u0454', '\u00BB', '\u0458', '\u0405', '\u0455', '\u0457',
|
||||
'\u0410', '\u0411', '\u0412', '\u0413', '\u0414', '\u0415',
|
||||
'\u0416', '\u0417', '\u0418', '\u0419', '\u041A', '\u041B',
|
||||
'\u041C', '\u041D', '\u041E', '\u041F', '\u0420', '\u0421',
|
||||
'\u0422', '\u0423', '\u0424', '\u0425', '\u0426', '\u0427',
|
||||
'\u0428', '\u0429', '\u042A', '\u042B', '\u042C', '\u042D',
|
||||
'\u042E', '\u042F', '\u0430', '\u0431', '\u0432', '\u0433',
|
||||
'\u0434', '\u0435', '\u0436', '\u0437', '\u0438', '\u0439',
|
||||
'\u043A', '\u043B', '\u043C', '\u043D', '\u043E', '\u043F',
|
||||
'\u0440', '\u0441', '\u0442', '\u0443', '\u0444', '\u0445',
|
||||
'\u0446', '\u0447', '\u0448', '\u0449', '\u044A', '\u044B',
|
||||
'\u044C', '\u044D', '\u044E', '\u044F',
|
||||
};
|
||||
|
||||
protected override void ToBytes(char[] chars, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(chars[charIndex++]);
|
||||
if(ch >= 128) switch(ch)
|
||||
{
|
||||
case 0x0098:
|
||||
case 0x00A0:
|
||||
case 0x00A4:
|
||||
case 0x00A6:
|
||||
case 0x00A7:
|
||||
case 0x00A9:
|
||||
case 0x00AB:
|
||||
case 0x00AC:
|
||||
case 0x00AD:
|
||||
case 0x00AE:
|
||||
case 0x00B0:
|
||||
case 0x00B1:
|
||||
case 0x00B5:
|
||||
case 0x00B6:
|
||||
case 0x00B7:
|
||||
case 0x00BB:
|
||||
break;
|
||||
case 0x0401: ch = 0xA8; break;
|
||||
case 0x0402: ch = 0x80; break;
|
||||
case 0x0403: ch = 0x81; break;
|
||||
case 0x0404: ch = 0xAA; break;
|
||||
case 0x0405: ch = 0xBD; break;
|
||||
case 0x0406: ch = 0xB2; break;
|
||||
case 0x0407: ch = 0xAF; break;
|
||||
case 0x0408: ch = 0xA3; break;
|
||||
case 0x0409: ch = 0x8A; break;
|
||||
case 0x040A: ch = 0x8C; break;
|
||||
case 0x040B: ch = 0x8E; break;
|
||||
case 0x040C: ch = 0x8D; break;
|
||||
case 0x040E: ch = 0xA1; break;
|
||||
case 0x040F: ch = 0x8F; break;
|
||||
case 0x0410:
|
||||
case 0x0411:
|
||||
case 0x0412:
|
||||
case 0x0413:
|
||||
case 0x0414:
|
||||
case 0x0415:
|
||||
case 0x0416:
|
||||
case 0x0417:
|
||||
case 0x0418:
|
||||
case 0x0419:
|
||||
case 0x041A:
|
||||
case 0x041B:
|
||||
case 0x041C:
|
||||
case 0x041D:
|
||||
case 0x041E:
|
||||
case 0x041F:
|
||||
case 0x0420:
|
||||
case 0x0421:
|
||||
case 0x0422:
|
||||
case 0x0423:
|
||||
case 0x0424:
|
||||
case 0x0425:
|
||||
case 0x0426:
|
||||
case 0x0427:
|
||||
case 0x0428:
|
||||
case 0x0429:
|
||||
case 0x042A:
|
||||
case 0x042B:
|
||||
case 0x042C:
|
||||
case 0x042D:
|
||||
case 0x042E:
|
||||
case 0x042F:
|
||||
case 0x0430:
|
||||
case 0x0431:
|
||||
case 0x0432:
|
||||
case 0x0433:
|
||||
case 0x0434:
|
||||
case 0x0435:
|
||||
case 0x0436:
|
||||
case 0x0437:
|
||||
case 0x0438:
|
||||
case 0x0439:
|
||||
case 0x043A:
|
||||
case 0x043B:
|
||||
case 0x043C:
|
||||
case 0x043D:
|
||||
case 0x043E:
|
||||
case 0x043F:
|
||||
case 0x0440:
|
||||
case 0x0441:
|
||||
case 0x0442:
|
||||
case 0x0443:
|
||||
case 0x0444:
|
||||
case 0x0445:
|
||||
case 0x0446:
|
||||
case 0x0447:
|
||||
case 0x0448:
|
||||
case 0x0449:
|
||||
case 0x044A:
|
||||
case 0x044B:
|
||||
case 0x044C:
|
||||
case 0x044D:
|
||||
case 0x044E:
|
||||
case 0x044F:
|
||||
ch -= 0x0350;
|
||||
break;
|
||||
case 0x0451: ch = 0xB8; break;
|
||||
case 0x0452: ch = 0x90; break;
|
||||
case 0x0453: ch = 0x83; break;
|
||||
case 0x0454: ch = 0xBA; break;
|
||||
case 0x0455: ch = 0xBE; break;
|
||||
case 0x0456: ch = 0xB3; break;
|
||||
case 0x0457: ch = 0xBF; break;
|
||||
case 0x0458: ch = 0xBC; break;
|
||||
case 0x0459: ch = 0x9A; break;
|
||||
case 0x045A: ch = 0x9C; break;
|
||||
case 0x045B: ch = 0x9E; break;
|
||||
case 0x045C: ch = 0x9D; break;
|
||||
case 0x045E: ch = 0xA2; break;
|
||||
case 0x045F: ch = 0x9F; break;
|
||||
case 0x0490: ch = 0xA5; break;
|
||||
case 0x0491: ch = 0xB4; break;
|
||||
case 0x2013: ch = 0x96; break;
|
||||
case 0x2014: ch = 0x97; break;
|
||||
case 0x2018: ch = 0x91; break;
|
||||
case 0x2019: ch = 0x92; break;
|
||||
case 0x201A: ch = 0x82; break;
|
||||
case 0x201C: ch = 0x93; break;
|
||||
case 0x201D: ch = 0x94; break;
|
||||
case 0x201E: ch = 0x84; break;
|
||||
case 0x2020: ch = 0x86; break;
|
||||
case 0x2021: ch = 0x87; break;
|
||||
case 0x2022: ch = 0x95; break;
|
||||
case 0x2026: ch = 0x85; break;
|
||||
case 0x2030: ch = 0x89; break;
|
||||
case 0x2039: ch = 0x8B; break;
|
||||
case 0x203A: ch = 0x9B; break;
|
||||
case 0x20AC: ch = 0x88; break;
|
||||
case 0x2116: ch = 0xB9; break;
|
||||
case 0x2122: ch = 0x99; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ToBytes(String s, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(s[charIndex++]);
|
||||
if(ch >= 128) switch(ch)
|
||||
{
|
||||
case 0x0098:
|
||||
case 0x00A0:
|
||||
case 0x00A4:
|
||||
case 0x00A6:
|
||||
case 0x00A7:
|
||||
case 0x00A9:
|
||||
case 0x00AB:
|
||||
case 0x00AC:
|
||||
case 0x00AD:
|
||||
case 0x00AE:
|
||||
case 0x00B0:
|
||||
case 0x00B1:
|
||||
case 0x00B5:
|
||||
case 0x00B6:
|
||||
case 0x00B7:
|
||||
case 0x00BB:
|
||||
break;
|
||||
case 0x0401: ch = 0xA8; break;
|
||||
case 0x0402: ch = 0x80; break;
|
||||
case 0x0403: ch = 0x81; break;
|
||||
case 0x0404: ch = 0xAA; break;
|
||||
case 0x0405: ch = 0xBD; break;
|
||||
case 0x0406: ch = 0xB2; break;
|
||||
case 0x0407: ch = 0xAF; break;
|
||||
case 0x0408: ch = 0xA3; break;
|
||||
case 0x0409: ch = 0x8A; break;
|
||||
case 0x040A: ch = 0x8C; break;
|
||||
case 0x040B: ch = 0x8E; break;
|
||||
case 0x040C: ch = 0x8D; break;
|
||||
case 0x040E: ch = 0xA1; break;
|
||||
case 0x040F: ch = 0x8F; break;
|
||||
case 0x0410:
|
||||
case 0x0411:
|
||||
case 0x0412:
|
||||
case 0x0413:
|
||||
case 0x0414:
|
||||
case 0x0415:
|
||||
case 0x0416:
|
||||
case 0x0417:
|
||||
case 0x0418:
|
||||
case 0x0419:
|
||||
case 0x041A:
|
||||
case 0x041B:
|
||||
case 0x041C:
|
||||
case 0x041D:
|
||||
case 0x041E:
|
||||
case 0x041F:
|
||||
case 0x0420:
|
||||
case 0x0421:
|
||||
case 0x0422:
|
||||
case 0x0423:
|
||||
case 0x0424:
|
||||
case 0x0425:
|
||||
case 0x0426:
|
||||
case 0x0427:
|
||||
case 0x0428:
|
||||
case 0x0429:
|
||||
case 0x042A:
|
||||
case 0x042B:
|
||||
case 0x042C:
|
||||
case 0x042D:
|
||||
case 0x042E:
|
||||
case 0x042F:
|
||||
case 0x0430:
|
||||
case 0x0431:
|
||||
case 0x0432:
|
||||
case 0x0433:
|
||||
case 0x0434:
|
||||
case 0x0435:
|
||||
case 0x0436:
|
||||
case 0x0437:
|
||||
case 0x0438:
|
||||
case 0x0439:
|
||||
case 0x043A:
|
||||
case 0x043B:
|
||||
case 0x043C:
|
||||
case 0x043D:
|
||||
case 0x043E:
|
||||
case 0x043F:
|
||||
case 0x0440:
|
||||
case 0x0441:
|
||||
case 0x0442:
|
||||
case 0x0443:
|
||||
case 0x0444:
|
||||
case 0x0445:
|
||||
case 0x0446:
|
||||
case 0x0447:
|
||||
case 0x0448:
|
||||
case 0x0449:
|
||||
case 0x044A:
|
||||
case 0x044B:
|
||||
case 0x044C:
|
||||
case 0x044D:
|
||||
case 0x044E:
|
||||
case 0x044F:
|
||||
ch -= 0x0350;
|
||||
break;
|
||||
case 0x0451: ch = 0xB8; break;
|
||||
case 0x0452: ch = 0x90; break;
|
||||
case 0x0453: ch = 0x83; break;
|
||||
case 0x0454: ch = 0xBA; break;
|
||||
case 0x0455: ch = 0xBE; break;
|
||||
case 0x0456: ch = 0xB3; break;
|
||||
case 0x0457: ch = 0xBF; break;
|
||||
case 0x0458: ch = 0xBC; break;
|
||||
case 0x0459: ch = 0x9A; break;
|
||||
case 0x045A: ch = 0x9C; break;
|
||||
case 0x045B: ch = 0x9E; break;
|
||||
case 0x045C: ch = 0x9D; break;
|
||||
case 0x045E: ch = 0xA2; break;
|
||||
case 0x045F: ch = 0x9F; break;
|
||||
case 0x0490: ch = 0xA5; break;
|
||||
case 0x0491: ch = 0xB4; break;
|
||||
case 0x2013: ch = 0x96; break;
|
||||
case 0x2014: ch = 0x97; break;
|
||||
case 0x2018: ch = 0x91; break;
|
||||
case 0x2019: ch = 0x92; break;
|
||||
case 0x201A: ch = 0x82; break;
|
||||
case 0x201C: ch = 0x93; break;
|
||||
case 0x201D: ch = 0x94; break;
|
||||
case 0x201E: ch = 0x84; break;
|
||||
case 0x2020: ch = 0x86; break;
|
||||
case 0x2021: ch = 0x87; break;
|
||||
case 0x2022: ch = 0x95; break;
|
||||
case 0x2026: ch = 0x85; break;
|
||||
case 0x2030: ch = 0x89; break;
|
||||
case 0x2039: ch = 0x8B; break;
|
||||
case 0x203A: ch = 0x9B; break;
|
||||
case 0x20AC: ch = 0x88; break;
|
||||
case 0x2116: ch = 0xB9; break;
|
||||
case 0x2122: ch = 0x99; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
}; // class CP1251
|
||||
|
||||
public class ENCwindows_1251 : CP1251
|
||||
{
|
||||
public ENCwindows_1251() : base() {}
|
||||
|
||||
}; // class ENCwindows_1251
|
||||
|
||||
}; // namespace I18N.Other
|
||||
@@ -0,0 +1,395 @@
|
||||
/*
|
||||
* CP1257.cs - Baltic (Windows) code page.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// Generated from "ibm-5353.ucm".
|
||||
|
||||
namespace I18N.Other
|
||||
{
|
||||
|
||||
using System;
|
||||
using I18N.Common;
|
||||
|
||||
public class CP1257 : ByteEncoding
|
||||
{
|
||||
public CP1257()
|
||||
: base(1257, ToChars, "Baltic (Windows)",
|
||||
"iso-8859-4", "windows-1257", "windows-1257",
|
||||
true, true, true, true, 1257)
|
||||
{}
|
||||
|
||||
private static readonly char[] ToChars = {
|
||||
'\u0000', '\u0001', '\u0002', '\u0003', '\u0004', '\u0005',
|
||||
'\u0006', '\u0007', '\u0008', '\u0009', '\u000A', '\u000B',
|
||||
'\u000C', '\u000D', '\u000E', '\u000F', '\u0010', '\u0011',
|
||||
'\u0012', '\u0013', '\u0014', '\u0015', '\u0016', '\u0017',
|
||||
'\u0018', '\u0019', '\u001A', '\u001B', '\u001C', '\u001D',
|
||||
'\u001E', '\u001F', '\u0020', '\u0021', '\u0022', '\u0023',
|
||||
'\u0024', '\u0025', '\u0026', '\u0027', '\u0028', '\u0029',
|
||||
'\u002A', '\u002B', '\u002C', '\u002D', '\u002E', '\u002F',
|
||||
'\u0030', '\u0031', '\u0032', '\u0033', '\u0034', '\u0035',
|
||||
'\u0036', '\u0037', '\u0038', '\u0039', '\u003A', '\u003B',
|
||||
'\u003C', '\u003D', '\u003E', '\u003F', '\u0040', '\u0041',
|
||||
'\u0042', '\u0043', '\u0044', '\u0045', '\u0046', '\u0047',
|
||||
'\u0048', '\u0049', '\u004A', '\u004B', '\u004C', '\u004D',
|
||||
'\u004E', '\u004F', '\u0050', '\u0051', '\u0052', '\u0053',
|
||||
'\u0054', '\u0055', '\u0056', '\u0057', '\u0058', '\u0059',
|
||||
'\u005A', '\u005B', '\u005C', '\u005D', '\u005E', '\u005F',
|
||||
'\u0060', '\u0061', '\u0062', '\u0063', '\u0064', '\u0065',
|
||||
'\u0066', '\u0067', '\u0068', '\u0069', '\u006A', '\u006B',
|
||||
'\u006C', '\u006D', '\u006E', '\u006F', '\u0070', '\u0071',
|
||||
'\u0072', '\u0073', '\u0074', '\u0075', '\u0076', '\u0077',
|
||||
'\u0078', '\u0079', '\u007A', '\u007B', '\u007C', '\u007D',
|
||||
'\u007E', '\u007F', '\u20AC', '\u0081', '\u201A', '\u0083',
|
||||
'\u201E', '\u2026', '\u2020', '\u2021', '\u0088', '\u2030',
|
||||
'\u008A', '\u2039', '\u008C', '\u00A8', '\u02C7', '\u00B8',
|
||||
'\u0090', '\u2018', '\u2019', '\u201C', '\u201D', '\u2022',
|
||||
'\u2013', '\u2014', '\u0098', '\u2122', '\u009A', '\u203A',
|
||||
'\u009C', '\u00AF', '\u02DB', '\u009F', '\u00A0', '\u003F',
|
||||
'\u00A2', '\u00A3', '\u00A4', '\u003F', '\u00A6', '\u00A7',
|
||||
'\u00D8', '\u00A9', '\u0156', '\u00AB', '\u00AC', '\u00AD',
|
||||
'\u00AE', '\u00C6', '\u00B0', '\u00B1', '\u00B2', '\u00B3',
|
||||
'\u00B4', '\u00B5', '\u00B6', '\u00B7', '\u00F8', '\u00B9',
|
||||
'\u0157', '\u00BB', '\u00BC', '\u00BD', '\u00BE', '\u00E6',
|
||||
'\u0104', '\u012E', '\u0100', '\u0106', '\u00C4', '\u00C5',
|
||||
'\u0118', '\u0112', '\u010C', '\u00C9', '\u0179', '\u0116',
|
||||
'\u0122', '\u0136', '\u012A', '\u013B', '\u0160', '\u0143',
|
||||
'\u0145', '\u00D3', '\u014C', '\u00D5', '\u00D6', '\u00D7',
|
||||
'\u0172', '\u0141', '\u015A', '\u016A', '\u00DC', '\u017B',
|
||||
'\u017D', '\u00DF', '\u0105', '\u012F', '\u0101', '\u0107',
|
||||
'\u00E4', '\u00E5', '\u0119', '\u0113', '\u010D', '\u00E9',
|
||||
'\u017A', '\u0117', '\u0123', '\u0137', '\u012B', '\u013C',
|
||||
'\u0161', '\u0144', '\u0146', '\u00F3', '\u014D', '\u00F5',
|
||||
'\u00F6', '\u00F7', '\u0173', '\u0142', '\u015B', '\u016B',
|
||||
'\u00FC', '\u017C', '\u017E', '\u02D9',
|
||||
};
|
||||
|
||||
protected override void ToBytes(char[] chars, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(chars[charIndex++]);
|
||||
if(ch >= 128) switch(ch)
|
||||
{
|
||||
case 0x0081:
|
||||
case 0x0083:
|
||||
case 0x0088:
|
||||
case 0x008A:
|
||||
case 0x008C:
|
||||
case 0x0090:
|
||||
case 0x0098:
|
||||
case 0x009A:
|
||||
case 0x009C:
|
||||
case 0x009F:
|
||||
case 0x00A0:
|
||||
case 0x00A2:
|
||||
case 0x00A3:
|
||||
case 0x00A4:
|
||||
case 0x00A6:
|
||||
case 0x00A7:
|
||||
case 0x00A9:
|
||||
case 0x00AB:
|
||||
case 0x00AC:
|
||||
case 0x00AD:
|
||||
case 0x00AE:
|
||||
case 0x00B0:
|
||||
case 0x00B1:
|
||||
case 0x00B2:
|
||||
case 0x00B3:
|
||||
case 0x00B4:
|
||||
case 0x00B5:
|
||||
case 0x00B6:
|
||||
case 0x00B7:
|
||||
case 0x00B9:
|
||||
case 0x00BB:
|
||||
case 0x00BC:
|
||||
case 0x00BD:
|
||||
case 0x00BE:
|
||||
case 0x00C4:
|
||||
case 0x00C5:
|
||||
case 0x00C9:
|
||||
case 0x00D3:
|
||||
case 0x00D5:
|
||||
case 0x00D6:
|
||||
case 0x00D7:
|
||||
case 0x00DC:
|
||||
case 0x00DF:
|
||||
case 0x00E4:
|
||||
case 0x00E5:
|
||||
case 0x00E9:
|
||||
case 0x00F3:
|
||||
case 0x00F5:
|
||||
case 0x00F6:
|
||||
case 0x00F7:
|
||||
case 0x00FC:
|
||||
break;
|
||||
case 0x00A8: ch = 0x8D; break;
|
||||
case 0x00AF: ch = 0x9D; break;
|
||||
case 0x00B8: ch = 0x8F; break;
|
||||
case 0x00C6: ch = 0xAF; break;
|
||||
case 0x00D8: ch = 0xA8; break;
|
||||
case 0x00E6: ch = 0xBF; break;
|
||||
case 0x00F8: ch = 0xB8; break;
|
||||
case 0x0100: ch = 0xC2; break;
|
||||
case 0x0101: ch = 0xE2; break;
|
||||
case 0x0104: ch = 0xC0; break;
|
||||
case 0x0105: ch = 0xE0; break;
|
||||
case 0x0106: ch = 0xC3; break;
|
||||
case 0x0107: ch = 0xE3; break;
|
||||
case 0x010C: ch = 0xC8; break;
|
||||
case 0x010D: ch = 0xE8; break;
|
||||
case 0x0112: ch = 0xC7; break;
|
||||
case 0x0113: ch = 0xE7; break;
|
||||
case 0x0116: ch = 0xCB; break;
|
||||
case 0x0117: ch = 0xEB; break;
|
||||
case 0x0118: ch = 0xC6; break;
|
||||
case 0x0119: ch = 0xE6; break;
|
||||
case 0x0122: ch = 0xCC; break;
|
||||
case 0x0123: ch = 0xEC; break;
|
||||
case 0x012A: ch = 0xCE; break;
|
||||
case 0x012B: ch = 0xEE; break;
|
||||
case 0x012E: ch = 0xC1; break;
|
||||
case 0x012F: ch = 0xE1; break;
|
||||
case 0x0136: ch = 0xCD; break;
|
||||
case 0x0137: ch = 0xED; break;
|
||||
case 0x013B: ch = 0xCF; break;
|
||||
case 0x013C: ch = 0xEF; break;
|
||||
case 0x0141: ch = 0xD9; break;
|
||||
case 0x0142: ch = 0xF9; break;
|
||||
case 0x0143: ch = 0xD1; break;
|
||||
case 0x0144: ch = 0xF1; break;
|
||||
case 0x0145: ch = 0xD2; break;
|
||||
case 0x0146: ch = 0xF2; break;
|
||||
case 0x014C: ch = 0xD4; break;
|
||||
case 0x014D: ch = 0xF4; break;
|
||||
case 0x0156: ch = 0xAA; break;
|
||||
case 0x0157: ch = 0xBA; break;
|
||||
case 0x015A: ch = 0xDA; break;
|
||||
case 0x015B: ch = 0xFA; break;
|
||||
case 0x0160: ch = 0xD0; break;
|
||||
case 0x0161: ch = 0xF0; break;
|
||||
case 0x016A: ch = 0xDB; break;
|
||||
case 0x016B: ch = 0xFB; break;
|
||||
case 0x0172: ch = 0xD8; break;
|
||||
case 0x0173: ch = 0xF8; break;
|
||||
case 0x0179: ch = 0xCA; break;
|
||||
case 0x017A: ch = 0xEA; break;
|
||||
case 0x017B: ch = 0xDD; break;
|
||||
case 0x017C: ch = 0xFD; break;
|
||||
case 0x017D: ch = 0xDE; break;
|
||||
case 0x017E: ch = 0xFE; break;
|
||||
case 0x02C7: ch = 0x8E; break;
|
||||
case 0x02D9: ch = 0xFF; break;
|
||||
case 0x02DB: ch = 0x9E; break;
|
||||
case 0x2013: ch = 0x96; break;
|
||||
case 0x2014: ch = 0x97; break;
|
||||
case 0x2018: ch = 0x91; break;
|
||||
case 0x2019: ch = 0x92; break;
|
||||
case 0x201A: ch = 0x82; break;
|
||||
case 0x201C: ch = 0x93; break;
|
||||
case 0x201D: ch = 0x94; break;
|
||||
case 0x201E: ch = 0x84; break;
|
||||
case 0x2020: ch = 0x86; break;
|
||||
case 0x2021: ch = 0x87; break;
|
||||
case 0x2022: ch = 0x95; break;
|
||||
case 0x2026: ch = 0x85; break;
|
||||
case 0x2030: ch = 0x89; break;
|
||||
case 0x2039: ch = 0x8B; break;
|
||||
case 0x203A: ch = 0x9B; break;
|
||||
case 0x20AC: ch = 0x80; break;
|
||||
case 0x2122: ch = 0x99; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ToBytes(String s, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(s[charIndex++]);
|
||||
if(ch >= 128) switch(ch)
|
||||
{
|
||||
case 0x0081:
|
||||
case 0x0083:
|
||||
case 0x0088:
|
||||
case 0x008A:
|
||||
case 0x008C:
|
||||
case 0x0090:
|
||||
case 0x0098:
|
||||
case 0x009A:
|
||||
case 0x009C:
|
||||
case 0x009F:
|
||||
case 0x00A0:
|
||||
case 0x00A2:
|
||||
case 0x00A3:
|
||||
case 0x00A4:
|
||||
case 0x00A6:
|
||||
case 0x00A7:
|
||||
case 0x00A9:
|
||||
case 0x00AB:
|
||||
case 0x00AC:
|
||||
case 0x00AD:
|
||||
case 0x00AE:
|
||||
case 0x00B0:
|
||||
case 0x00B1:
|
||||
case 0x00B2:
|
||||
case 0x00B3:
|
||||
case 0x00B4:
|
||||
case 0x00B5:
|
||||
case 0x00B6:
|
||||
case 0x00B7:
|
||||
case 0x00B9:
|
||||
case 0x00BB:
|
||||
case 0x00BC:
|
||||
case 0x00BD:
|
||||
case 0x00BE:
|
||||
case 0x00C4:
|
||||
case 0x00C5:
|
||||
case 0x00C9:
|
||||
case 0x00D3:
|
||||
case 0x00D5:
|
||||
case 0x00D6:
|
||||
case 0x00D7:
|
||||
case 0x00DC:
|
||||
case 0x00DF:
|
||||
case 0x00E4:
|
||||
case 0x00E5:
|
||||
case 0x00E9:
|
||||
case 0x00F3:
|
||||
case 0x00F5:
|
||||
case 0x00F6:
|
||||
case 0x00F7:
|
||||
case 0x00FC:
|
||||
break;
|
||||
case 0x00A8: ch = 0x8D; break;
|
||||
case 0x00AF: ch = 0x9D; break;
|
||||
case 0x00B8: ch = 0x8F; break;
|
||||
case 0x00C6: ch = 0xAF; break;
|
||||
case 0x00D8: ch = 0xA8; break;
|
||||
case 0x00E6: ch = 0xBF; break;
|
||||
case 0x00F8: ch = 0xB8; break;
|
||||
case 0x0100: ch = 0xC2; break;
|
||||
case 0x0101: ch = 0xE2; break;
|
||||
case 0x0104: ch = 0xC0; break;
|
||||
case 0x0105: ch = 0xE0; break;
|
||||
case 0x0106: ch = 0xC3; break;
|
||||
case 0x0107: ch = 0xE3; break;
|
||||
case 0x010C: ch = 0xC8; break;
|
||||
case 0x010D: ch = 0xE8; break;
|
||||
case 0x0112: ch = 0xC7; break;
|
||||
case 0x0113: ch = 0xE7; break;
|
||||
case 0x0116: ch = 0xCB; break;
|
||||
case 0x0117: ch = 0xEB; break;
|
||||
case 0x0118: ch = 0xC6; break;
|
||||
case 0x0119: ch = 0xE6; break;
|
||||
case 0x0122: ch = 0xCC; break;
|
||||
case 0x0123: ch = 0xEC; break;
|
||||
case 0x012A: ch = 0xCE; break;
|
||||
case 0x012B: ch = 0xEE; break;
|
||||
case 0x012E: ch = 0xC1; break;
|
||||
case 0x012F: ch = 0xE1; break;
|
||||
case 0x0136: ch = 0xCD; break;
|
||||
case 0x0137: ch = 0xED; break;
|
||||
case 0x013B: ch = 0xCF; break;
|
||||
case 0x013C: ch = 0xEF; break;
|
||||
case 0x0141: ch = 0xD9; break;
|
||||
case 0x0142: ch = 0xF9; break;
|
||||
case 0x0143: ch = 0xD1; break;
|
||||
case 0x0144: ch = 0xF1; break;
|
||||
case 0x0145: ch = 0xD2; break;
|
||||
case 0x0146: ch = 0xF2; break;
|
||||
case 0x014C: ch = 0xD4; break;
|
||||
case 0x014D: ch = 0xF4; break;
|
||||
case 0x0156: ch = 0xAA; break;
|
||||
case 0x0157: ch = 0xBA; break;
|
||||
case 0x015A: ch = 0xDA; break;
|
||||
case 0x015B: ch = 0xFA; break;
|
||||
case 0x0160: ch = 0xD0; break;
|
||||
case 0x0161: ch = 0xF0; break;
|
||||
case 0x016A: ch = 0xDB; break;
|
||||
case 0x016B: ch = 0xFB; break;
|
||||
case 0x0172: ch = 0xD8; break;
|
||||
case 0x0173: ch = 0xF8; break;
|
||||
case 0x0179: ch = 0xCA; break;
|
||||
case 0x017A: ch = 0xEA; break;
|
||||
case 0x017B: ch = 0xDD; break;
|
||||
case 0x017C: ch = 0xFD; break;
|
||||
case 0x017D: ch = 0xDE; break;
|
||||
case 0x017E: ch = 0xFE; break;
|
||||
case 0x02C7: ch = 0x8E; break;
|
||||
case 0x02D9: ch = 0xFF; break;
|
||||
case 0x02DB: ch = 0x9E; break;
|
||||
case 0x2013: ch = 0x96; break;
|
||||
case 0x2014: ch = 0x97; break;
|
||||
case 0x2018: ch = 0x91; break;
|
||||
case 0x2019: ch = 0x92; break;
|
||||
case 0x201A: ch = 0x82; break;
|
||||
case 0x201C: ch = 0x93; break;
|
||||
case 0x201D: ch = 0x94; break;
|
||||
case 0x201E: ch = 0x84; break;
|
||||
case 0x2020: ch = 0x86; break;
|
||||
case 0x2021: ch = 0x87; break;
|
||||
case 0x2022: ch = 0x95; break;
|
||||
case 0x2026: ch = 0x85; break;
|
||||
case 0x2030: ch = 0x89; break;
|
||||
case 0x2039: ch = 0x8B; break;
|
||||
case 0x203A: ch = 0x9B; break;
|
||||
case 0x20AC: ch = 0x80; break;
|
||||
case 0x2122: ch = 0x99; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
}; // class CP1257
|
||||
|
||||
public class ENCwindows_1257 : CP1257
|
||||
{
|
||||
public ENCwindows_1257() : base() {}
|
||||
|
||||
}; // class ENCwindows_1257
|
||||
|
||||
}; // namespace I18N.Other
|
||||
@@ -0,0 +1,399 @@
|
||||
/*
|
||||
* CP1258.cs - Vietnamese (Windows) code page.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// Generated from "ibm-5354.ucm".
|
||||
|
||||
namespace I18N.Other
|
||||
{
|
||||
|
||||
using System;
|
||||
using I18N.Common;
|
||||
|
||||
public class CP1258 : ByteEncoding
|
||||
{
|
||||
public CP1258()
|
||||
: base(1258, ToChars, "Vietnamese (Windows)",
|
||||
"windows-1258", "windows-1258", "windows-1258",
|
||||
true, true, true, true, 1258)
|
||||
{}
|
||||
|
||||
private static readonly char[] ToChars = {
|
||||
'\u0000', '\u0001', '\u0002', '\u0003', '\u0004', '\u0005',
|
||||
'\u0006', '\u0007', '\u0008', '\u0009', '\u000A', '\u000B',
|
||||
'\u000C', '\u000D', '\u000E', '\u000F', '\u0010', '\u0011',
|
||||
'\u0012', '\u0013', '\u0014', '\u0015', '\u0016', '\u0017',
|
||||
'\u0018', '\u0019', '\u001A', '\u001B', '\u001C', '\u001D',
|
||||
'\u001E', '\u001F', '\u0020', '\u0021', '\u0022', '\u0023',
|
||||
'\u0024', '\u0025', '\u0026', '\u0027', '\u0028', '\u0029',
|
||||
'\u002A', '\u002B', '\u002C', '\u002D', '\u002E', '\u002F',
|
||||
'\u0030', '\u0031', '\u0032', '\u0033', '\u0034', '\u0035',
|
||||
'\u0036', '\u0037', '\u0038', '\u0039', '\u003A', '\u003B',
|
||||
'\u003C', '\u003D', '\u003E', '\u003F', '\u0040', '\u0041',
|
||||
'\u0042', '\u0043', '\u0044', '\u0045', '\u0046', '\u0047',
|
||||
'\u0048', '\u0049', '\u004A', '\u004B', '\u004C', '\u004D',
|
||||
'\u004E', '\u004F', '\u0050', '\u0051', '\u0052', '\u0053',
|
||||
'\u0054', '\u0055', '\u0056', '\u0057', '\u0058', '\u0059',
|
||||
'\u005A', '\u005B', '\u005C', '\u005D', '\u005E', '\u005F',
|
||||
'\u0060', '\u0061', '\u0062', '\u0063', '\u0064', '\u0065',
|
||||
'\u0066', '\u0067', '\u0068', '\u0069', '\u006A', '\u006B',
|
||||
'\u006C', '\u006D', '\u006E', '\u006F', '\u0070', '\u0071',
|
||||
'\u0072', '\u0073', '\u0074', '\u0075', '\u0076', '\u0077',
|
||||
'\u0078', '\u0079', '\u007A', '\u007B', '\u007C', '\u007D',
|
||||
'\u007E', '\u007F', '\u20AC', '\u0081', '\u201A', '\u0192',
|
||||
'\u201E', '\u2026', '\u2020', '\u2021', '\u02C6', '\u2030',
|
||||
'\u008A', '\u2039', '\u0152', '\u008D', '\u008E', '\u008F',
|
||||
'\u0090', '\u2018', '\u2019', '\u201C', '\u201D', '\u2022',
|
||||
'\u2013', '\u2014', '\u02DC', '\u2122', '\u009A', '\u203A',
|
||||
'\u0153', '\u009D', '\u009E', '\u0178', '\u00A0', '\u00A1',
|
||||
'\u00A2', '\u00A3', '\u00A4', '\u00A5', '\u00A6', '\u00A7',
|
||||
'\u00A8', '\u00A9', '\u00AA', '\u00AB', '\u00AC', '\u00AD',
|
||||
'\u00AE', '\u00AF', '\u00B0', '\u00B1', '\u00B2', '\u00B3',
|
||||
'\u00B4', '\u00B5', '\u00B6', '\u00B7', '\u00B8', '\u00B9',
|
||||
'\u00BA', '\u00BB', '\u00BC', '\u00BD', '\u00BE', '\u00BF',
|
||||
'\u00C0', '\u00C1', '\u00C2', '\u0102', '\u00C4', '\u00C5',
|
||||
'\u00C6', '\u00C7', '\u00C8', '\u00C9', '\u00CA', '\u00CB',
|
||||
'\u0300', '\u00CD', '\u00CE', '\u00CF', '\u0110', '\u00D1',
|
||||
'\u0309', '\u00D3', '\u00D4', '\u01A0', '\u00D6', '\u00D7',
|
||||
'\u00D8', '\u00D9', '\u00DA', '\u00DB', '\u00DC', '\u01AF',
|
||||
'\u0303', '\u00DF', '\u00E0', '\u00E1', '\u00E2', '\u0103',
|
||||
'\u00E4', '\u00E5', '\u00E6', '\u00E7', '\u00E8', '\u00E9',
|
||||
'\u00EA', '\u00EB', '\u0301', '\u00ED', '\u00EE', '\u00EF',
|
||||
'\u0111', '\u00F1', '\u0323', '\u00F3', '\u00F4', '\u01A1',
|
||||
'\u00F6', '\u00F7', '\u00F8', '\u00F9', '\u00FA', '\u00FB',
|
||||
'\u00FC', '\u01B0', '\u20AB', '\u00FF',
|
||||
};
|
||||
|
||||
protected override void ToBytes(char[] chars, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(chars[charIndex++]);
|
||||
if(ch >= 128) switch(ch)
|
||||
{
|
||||
case 0x0081:
|
||||
case 0x008A:
|
||||
case 0x008D:
|
||||
case 0x008E:
|
||||
case 0x008F:
|
||||
case 0x0090:
|
||||
case 0x009A:
|
||||
case 0x009D:
|
||||
case 0x009E:
|
||||
case 0x00A0:
|
||||
case 0x00A1:
|
||||
case 0x00A2:
|
||||
case 0x00A3:
|
||||
case 0x00A4:
|
||||
case 0x00A5:
|
||||
case 0x00A6:
|
||||
case 0x00A7:
|
||||
case 0x00A8:
|
||||
case 0x00A9:
|
||||
case 0x00AA:
|
||||
case 0x00AB:
|
||||
case 0x00AC:
|
||||
case 0x00AD:
|
||||
case 0x00AE:
|
||||
case 0x00AF:
|
||||
case 0x00B0:
|
||||
case 0x00B1:
|
||||
case 0x00B2:
|
||||
case 0x00B3:
|
||||
case 0x00B4:
|
||||
case 0x00B5:
|
||||
case 0x00B6:
|
||||
case 0x00B7:
|
||||
case 0x00B8:
|
||||
case 0x00B9:
|
||||
case 0x00BA:
|
||||
case 0x00BB:
|
||||
case 0x00BC:
|
||||
case 0x00BD:
|
||||
case 0x00BE:
|
||||
case 0x00BF:
|
||||
case 0x00C0:
|
||||
case 0x00C1:
|
||||
case 0x00C2:
|
||||
case 0x00C4:
|
||||
case 0x00C5:
|
||||
case 0x00C6:
|
||||
case 0x00C7:
|
||||
case 0x00C8:
|
||||
case 0x00C9:
|
||||
case 0x00CA:
|
||||
case 0x00CB:
|
||||
case 0x00CD:
|
||||
case 0x00CE:
|
||||
case 0x00CF:
|
||||
case 0x00D1:
|
||||
case 0x00D3:
|
||||
case 0x00D4:
|
||||
case 0x00D6:
|
||||
case 0x00D7:
|
||||
case 0x00D8:
|
||||
case 0x00D9:
|
||||
case 0x00DA:
|
||||
case 0x00DB:
|
||||
case 0x00DC:
|
||||
case 0x00DF:
|
||||
case 0x00E0:
|
||||
case 0x00E1:
|
||||
case 0x00E2:
|
||||
case 0x00E4:
|
||||
case 0x00E5:
|
||||
case 0x00E6:
|
||||
case 0x00E7:
|
||||
case 0x00E8:
|
||||
case 0x00E9:
|
||||
case 0x00EA:
|
||||
case 0x00EB:
|
||||
case 0x00ED:
|
||||
case 0x00EE:
|
||||
case 0x00EF:
|
||||
case 0x00F1:
|
||||
case 0x00F3:
|
||||
case 0x00F4:
|
||||
case 0x00F6:
|
||||
case 0x00F7:
|
||||
case 0x00F8:
|
||||
case 0x00F9:
|
||||
case 0x00FA:
|
||||
case 0x00FB:
|
||||
case 0x00FC:
|
||||
case 0x00FF:
|
||||
break;
|
||||
case 0x0102: ch = 0xC3; break;
|
||||
case 0x0103: ch = 0xE3; break;
|
||||
case 0x0110: ch = 0xD0; break;
|
||||
case 0x0111: ch = 0xF0; break;
|
||||
case 0x0152: ch = 0x8C; break;
|
||||
case 0x0153: ch = 0x9C; break;
|
||||
case 0x0178: ch = 0x9F; break;
|
||||
case 0x0192: ch = 0x83; break;
|
||||
case 0x01A0: ch = 0xD5; break;
|
||||
case 0x01A1: ch = 0xF5; break;
|
||||
case 0x01AF: ch = 0xDD; break;
|
||||
case 0x01B0: ch = 0xFD; break;
|
||||
case 0x02C6: ch = 0x88; break;
|
||||
case 0x02DC: ch = 0x98; break;
|
||||
case 0x0300: ch = 0xCC; break;
|
||||
case 0x0301: ch = 0xEC; break;
|
||||
case 0x0303: ch = 0xDE; break;
|
||||
case 0x0309: ch = 0xD2; break;
|
||||
case 0x0323: ch = 0xF2; break;
|
||||
case 0x2013: ch = 0x96; break;
|
||||
case 0x2014: ch = 0x97; break;
|
||||
case 0x2018: ch = 0x91; break;
|
||||
case 0x2019: ch = 0x92; break;
|
||||
case 0x201A: ch = 0x82; break;
|
||||
case 0x201C: ch = 0x93; break;
|
||||
case 0x201D: ch = 0x94; break;
|
||||
case 0x201E: ch = 0x84; break;
|
||||
case 0x2020: ch = 0x86; break;
|
||||
case 0x2021: ch = 0x87; break;
|
||||
case 0x2022: ch = 0x95; break;
|
||||
case 0x2026: ch = 0x85; break;
|
||||
case 0x2030: ch = 0x89; break;
|
||||
case 0x2039: ch = 0x8B; break;
|
||||
case 0x203A: ch = 0x9B; break;
|
||||
case 0x20AB: ch = 0xFE; break;
|
||||
case 0x20AC: ch = 0x80; break;
|
||||
case 0x2122: ch = 0x99; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ToBytes(String s, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(s[charIndex++]);
|
||||
if(ch >= 128) switch(ch)
|
||||
{
|
||||
case 0x0081:
|
||||
case 0x008A:
|
||||
case 0x008D:
|
||||
case 0x008E:
|
||||
case 0x008F:
|
||||
case 0x0090:
|
||||
case 0x009A:
|
||||
case 0x009D:
|
||||
case 0x009E:
|
||||
case 0x00A0:
|
||||
case 0x00A1:
|
||||
case 0x00A2:
|
||||
case 0x00A3:
|
||||
case 0x00A4:
|
||||
case 0x00A5:
|
||||
case 0x00A6:
|
||||
case 0x00A7:
|
||||
case 0x00A8:
|
||||
case 0x00A9:
|
||||
case 0x00AA:
|
||||
case 0x00AB:
|
||||
case 0x00AC:
|
||||
case 0x00AD:
|
||||
case 0x00AE:
|
||||
case 0x00AF:
|
||||
case 0x00B0:
|
||||
case 0x00B1:
|
||||
case 0x00B2:
|
||||
case 0x00B3:
|
||||
case 0x00B4:
|
||||
case 0x00B5:
|
||||
case 0x00B6:
|
||||
case 0x00B7:
|
||||
case 0x00B8:
|
||||
case 0x00B9:
|
||||
case 0x00BA:
|
||||
case 0x00BB:
|
||||
case 0x00BC:
|
||||
case 0x00BD:
|
||||
case 0x00BE:
|
||||
case 0x00BF:
|
||||
case 0x00C0:
|
||||
case 0x00C1:
|
||||
case 0x00C2:
|
||||
case 0x00C4:
|
||||
case 0x00C5:
|
||||
case 0x00C6:
|
||||
case 0x00C7:
|
||||
case 0x00C8:
|
||||
case 0x00C9:
|
||||
case 0x00CA:
|
||||
case 0x00CB:
|
||||
case 0x00CD:
|
||||
case 0x00CE:
|
||||
case 0x00CF:
|
||||
case 0x00D1:
|
||||
case 0x00D3:
|
||||
case 0x00D4:
|
||||
case 0x00D6:
|
||||
case 0x00D7:
|
||||
case 0x00D8:
|
||||
case 0x00D9:
|
||||
case 0x00DA:
|
||||
case 0x00DB:
|
||||
case 0x00DC:
|
||||
case 0x00DF:
|
||||
case 0x00E0:
|
||||
case 0x00E1:
|
||||
case 0x00E2:
|
||||
case 0x00E4:
|
||||
case 0x00E5:
|
||||
case 0x00E6:
|
||||
case 0x00E7:
|
||||
case 0x00E8:
|
||||
case 0x00E9:
|
||||
case 0x00EA:
|
||||
case 0x00EB:
|
||||
case 0x00ED:
|
||||
case 0x00EE:
|
||||
case 0x00EF:
|
||||
case 0x00F1:
|
||||
case 0x00F3:
|
||||
case 0x00F4:
|
||||
case 0x00F6:
|
||||
case 0x00F7:
|
||||
case 0x00F8:
|
||||
case 0x00F9:
|
||||
case 0x00FA:
|
||||
case 0x00FB:
|
||||
case 0x00FC:
|
||||
case 0x00FF:
|
||||
break;
|
||||
case 0x0102: ch = 0xC3; break;
|
||||
case 0x0103: ch = 0xE3; break;
|
||||
case 0x0110: ch = 0xD0; break;
|
||||
case 0x0111: ch = 0xF0; break;
|
||||
case 0x0152: ch = 0x8C; break;
|
||||
case 0x0153: ch = 0x9C; break;
|
||||
case 0x0178: ch = 0x9F; break;
|
||||
case 0x0192: ch = 0x83; break;
|
||||
case 0x01A0: ch = 0xD5; break;
|
||||
case 0x01A1: ch = 0xF5; break;
|
||||
case 0x01AF: ch = 0xDD; break;
|
||||
case 0x01B0: ch = 0xFD; break;
|
||||
case 0x02C6: ch = 0x88; break;
|
||||
case 0x02DC: ch = 0x98; break;
|
||||
case 0x0300: ch = 0xCC; break;
|
||||
case 0x0301: ch = 0xEC; break;
|
||||
case 0x0303: ch = 0xDE; break;
|
||||
case 0x0309: ch = 0xD2; break;
|
||||
case 0x0323: ch = 0xF2; break;
|
||||
case 0x2013: ch = 0x96; break;
|
||||
case 0x2014: ch = 0x97; break;
|
||||
case 0x2018: ch = 0x91; break;
|
||||
case 0x2019: ch = 0x92; break;
|
||||
case 0x201A: ch = 0x82; break;
|
||||
case 0x201C: ch = 0x93; break;
|
||||
case 0x201D: ch = 0x94; break;
|
||||
case 0x201E: ch = 0x84; break;
|
||||
case 0x2020: ch = 0x86; break;
|
||||
case 0x2021: ch = 0x87; break;
|
||||
case 0x2022: ch = 0x95; break;
|
||||
case 0x2026: ch = 0x85; break;
|
||||
case 0x2030: ch = 0x89; break;
|
||||
case 0x2039: ch = 0x8B; break;
|
||||
case 0x203A: ch = 0x9B; break;
|
||||
case 0x20AB: ch = 0xFE; break;
|
||||
case 0x20AC: ch = 0x80; break;
|
||||
case 0x2122: ch = 0x99; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
}; // class CP1258
|
||||
|
||||
public class ENCwindows_1258 : CP1258
|
||||
{
|
||||
public ENCwindows_1258() : base() {}
|
||||
|
||||
}; // class ENCwindows_1258
|
||||
|
||||
}; // namespace I18N.Other
|
||||
@@ -0,0 +1,429 @@
|
||||
/*
|
||||
* CP20866.cs - Cyrillic (KOI8-R) code page.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// Generated from "ibm-878.ucm".
|
||||
|
||||
namespace I18N.Other
|
||||
{
|
||||
|
||||
using System;
|
||||
using I18N.Common;
|
||||
|
||||
public class CP20866 : ByteEncoding
|
||||
{
|
||||
public CP20866()
|
||||
: base(20866, ToChars, "Cyrillic (KOI8-R)",
|
||||
"koi8-r", "koi8-r", "koi8-r",
|
||||
true, true, true, true, 1251)
|
||||
{}
|
||||
|
||||
private static readonly char[] ToChars = {
|
||||
'\u0000', '\u0001', '\u0002', '\u0003', '\u0004', '\u0005',
|
||||
'\u0006', '\u0007', '\u0008', '\u0009', '\u000A', '\u000B',
|
||||
'\u000C', '\u000D', '\u000E', '\u000F', '\u0010', '\u0011',
|
||||
'\u0012', '\u0013', '\u0014', '\u0015', '\u0016', '\u0017',
|
||||
'\u0018', '\u0019', '\u001A', '\u001B', '\u001C', '\u001D',
|
||||
'\u001E', '\u001F', '\u0020', '\u0021', '\u0022', '\u0023',
|
||||
'\u0024', '\u0025', '\u0026', '\u0027', '\u0028', '\u0029',
|
||||
'\u002A', '\u002B', '\u002C', '\u002D', '\u002E', '\u002F',
|
||||
'\u0030', '\u0031', '\u0032', '\u0033', '\u0034', '\u0035',
|
||||
'\u0036', '\u0037', '\u0038', '\u0039', '\u003A', '\u003B',
|
||||
'\u003C', '\u003D', '\u003E', '\u003F', '\u0040', '\u0041',
|
||||
'\u0042', '\u0043', '\u0044', '\u0045', '\u0046', '\u0047',
|
||||
'\u0048', '\u0049', '\u004A', '\u004B', '\u004C', '\u004D',
|
||||
'\u004E', '\u004F', '\u0050', '\u0051', '\u0052', '\u0053',
|
||||
'\u0054', '\u0055', '\u0056', '\u0057', '\u0058', '\u0059',
|
||||
'\u005A', '\u005B', '\u005C', '\u005D', '\u005E', '\u005F',
|
||||
'\u0060', '\u0061', '\u0062', '\u0063', '\u0064', '\u0065',
|
||||
'\u0066', '\u0067', '\u0068', '\u0069', '\u006A', '\u006B',
|
||||
'\u006C', '\u006D', '\u006E', '\u006F', '\u0070', '\u0071',
|
||||
'\u0072', '\u0073', '\u0074', '\u0075', '\u0076', '\u0077',
|
||||
'\u0078', '\u0079', '\u007A', '\u007B', '\u007C', '\u007D',
|
||||
'\u007E', '\u007F', '\u2500', '\u2502', '\u250C', '\u2510',
|
||||
'\u2514', '\u2518', '\u251C', '\u2524', '\u252C', '\u2534',
|
||||
'\u253C', '\u2580', '\u2584', '\u2588', '\u258C', '\u2590',
|
||||
'\u2591', '\u2592', '\u2593', '\u2320', '\u25A0', '\u2219',
|
||||
'\u221A', '\u2248', '\u2264', '\u2265', '\u00A0', '\u2321',
|
||||
'\u00B0', '\u00B2', '\u00B7', '\u00F7', '\u2550', '\u2551',
|
||||
'\u2552', '\u0451', '\u2553', '\u2554', '\u2555', '\u2556',
|
||||
'\u2557', '\u2558', '\u2559', '\u255A', '\u255B', '\u255C',
|
||||
'\u255D', '\u255E', '\u255F', '\u2560', '\u2561', '\u0401',
|
||||
'\u2562', '\u2563', '\u2564', '\u2565', '\u2566', '\u2567',
|
||||
'\u2568', '\u2569', '\u256A', '\u256B', '\u256C', '\u00A9',
|
||||
'\u044E', '\u0430', '\u0431', '\u0446', '\u0434', '\u0435',
|
||||
'\u0444', '\u0433', '\u0445', '\u0438', '\u0439', '\u043A',
|
||||
'\u043B', '\u043C', '\u043D', '\u043E', '\u043F', '\u044F',
|
||||
'\u0440', '\u0441', '\u0442', '\u0443', '\u0436', '\u0432',
|
||||
'\u044C', '\u044B', '\u0437', '\u0448', '\u044D', '\u0449',
|
||||
'\u0447', '\u044A', '\u042E', '\u0410', '\u0411', '\u0426',
|
||||
'\u0414', '\u0415', '\u0424', '\u0413', '\u0425', '\u0418',
|
||||
'\u0419', '\u041A', '\u041B', '\u041C', '\u041D', '\u041E',
|
||||
'\u041F', '\u042F', '\u0420', '\u0421', '\u0422', '\u0423',
|
||||
'\u0416', '\u0412', '\u042C', '\u042B', '\u0417', '\u0428',
|
||||
'\u042D', '\u0429', '\u0427', '\u042A',
|
||||
};
|
||||
|
||||
protected override void ToBytes(char[] chars, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(chars[charIndex++]);
|
||||
if(ch >= 128) switch(ch)
|
||||
{
|
||||
case 0x00A0: ch = 0x9A; break;
|
||||
case 0x00A9: ch = 0xBF; break;
|
||||
case 0x00B0: ch = 0x9C; break;
|
||||
case 0x00B2: ch = 0x9D; break;
|
||||
case 0x00B7: ch = 0x9E; break;
|
||||
case 0x00F7: ch = 0x9F; break;
|
||||
case 0x0401: ch = 0xB3; break;
|
||||
case 0x0410: ch = 0xE1; break;
|
||||
case 0x0411: ch = 0xE2; break;
|
||||
case 0x0412: ch = 0xF7; break;
|
||||
case 0x0413: ch = 0xE7; break;
|
||||
case 0x0414: ch = 0xE4; break;
|
||||
case 0x0415: ch = 0xE5; break;
|
||||
case 0x0416: ch = 0xF6; break;
|
||||
case 0x0417: ch = 0xFA; break;
|
||||
case 0x0418:
|
||||
case 0x0419:
|
||||
case 0x041A:
|
||||
case 0x041B:
|
||||
case 0x041C:
|
||||
case 0x041D:
|
||||
case 0x041E:
|
||||
case 0x041F:
|
||||
ch -= 0x032F;
|
||||
break;
|
||||
case 0x0420:
|
||||
case 0x0421:
|
||||
case 0x0422:
|
||||
case 0x0423:
|
||||
ch -= 0x032E;
|
||||
break;
|
||||
case 0x0424: ch = 0xE6; break;
|
||||
case 0x0425: ch = 0xE8; break;
|
||||
case 0x0426: ch = 0xE3; break;
|
||||
case 0x0427: ch = 0xFE; break;
|
||||
case 0x0428: ch = 0xFB; break;
|
||||
case 0x0429: ch = 0xFD; break;
|
||||
case 0x042A: ch = 0xFF; break;
|
||||
case 0x042B: ch = 0xF9; break;
|
||||
case 0x042C: ch = 0xF8; break;
|
||||
case 0x042D: ch = 0xFC; break;
|
||||
case 0x042E: ch = 0xE0; break;
|
||||
case 0x042F: ch = 0xF1; break;
|
||||
case 0x0430: ch = 0xC1; break;
|
||||
case 0x0431: ch = 0xC2; break;
|
||||
case 0x0432: ch = 0xD7; break;
|
||||
case 0x0433: ch = 0xC7; break;
|
||||
case 0x0434: ch = 0xC4; break;
|
||||
case 0x0435: ch = 0xC5; break;
|
||||
case 0x0436: ch = 0xD6; break;
|
||||
case 0x0437: ch = 0xDA; break;
|
||||
case 0x0438:
|
||||
case 0x0439:
|
||||
case 0x043A:
|
||||
case 0x043B:
|
||||
case 0x043C:
|
||||
case 0x043D:
|
||||
case 0x043E:
|
||||
case 0x043F:
|
||||
ch -= 0x036F;
|
||||
break;
|
||||
case 0x0440:
|
||||
case 0x0441:
|
||||
case 0x0442:
|
||||
case 0x0443:
|
||||
ch -= 0x036E;
|
||||
break;
|
||||
case 0x0444: ch = 0xC6; break;
|
||||
case 0x0445: ch = 0xC8; break;
|
||||
case 0x0446: ch = 0xC3; break;
|
||||
case 0x0447: ch = 0xDE; break;
|
||||
case 0x0448: ch = 0xDB; break;
|
||||
case 0x0449: ch = 0xDD; break;
|
||||
case 0x044A: ch = 0xDF; break;
|
||||
case 0x044B: ch = 0xD9; break;
|
||||
case 0x044C: ch = 0xD8; break;
|
||||
case 0x044D: ch = 0xDC; break;
|
||||
case 0x044E: ch = 0xC0; break;
|
||||
case 0x044F: ch = 0xD1; break;
|
||||
case 0x0451: ch = 0xA3; break;
|
||||
case 0x2219: ch = 0x95; break;
|
||||
case 0x221A: ch = 0x96; break;
|
||||
case 0x2248: ch = 0x97; break;
|
||||
case 0x2264: ch = 0x98; break;
|
||||
case 0x2265: ch = 0x99; break;
|
||||
case 0x2320: ch = 0x93; break;
|
||||
case 0x2321: ch = 0x9B; break;
|
||||
case 0x2500: ch = 0x80; break;
|
||||
case 0x2502: ch = 0x81; break;
|
||||
case 0x250C: ch = 0x82; break;
|
||||
case 0x2510: ch = 0x83; break;
|
||||
case 0x2514: ch = 0x84; break;
|
||||
case 0x2518: ch = 0x85; break;
|
||||
case 0x251C: ch = 0x86; break;
|
||||
case 0x2524: ch = 0x87; break;
|
||||
case 0x252C: ch = 0x88; break;
|
||||
case 0x2534: ch = 0x89; break;
|
||||
case 0x253C: ch = 0x8A; break;
|
||||
case 0x2550: ch = 0xA0; break;
|
||||
case 0x2551: ch = 0xA1; break;
|
||||
case 0x2552: ch = 0xA2; break;
|
||||
case 0x2553:
|
||||
case 0x2554:
|
||||
case 0x2555:
|
||||
case 0x2556:
|
||||
case 0x2557:
|
||||
case 0x2558:
|
||||
case 0x2559:
|
||||
case 0x255A:
|
||||
case 0x255B:
|
||||
case 0x255C:
|
||||
case 0x255D:
|
||||
case 0x255E:
|
||||
case 0x255F:
|
||||
case 0x2560:
|
||||
case 0x2561:
|
||||
ch -= 0x24AF;
|
||||
break;
|
||||
case 0x2562:
|
||||
case 0x2563:
|
||||
case 0x2564:
|
||||
case 0x2565:
|
||||
case 0x2566:
|
||||
case 0x2567:
|
||||
case 0x2568:
|
||||
case 0x2569:
|
||||
case 0x256A:
|
||||
case 0x256B:
|
||||
case 0x256C:
|
||||
ch -= 0x24AE;
|
||||
break;
|
||||
case 0x2580: ch = 0x8B; break;
|
||||
case 0x2584: ch = 0x8C; break;
|
||||
case 0x2588: ch = 0x8D; break;
|
||||
case 0x258C: ch = 0x8E; break;
|
||||
case 0x2590:
|
||||
case 0x2591:
|
||||
case 0x2592:
|
||||
case 0x2593:
|
||||
ch -= 0x2501;
|
||||
break;
|
||||
case 0x25A0: ch = 0x94; break;
|
||||
case 0xFFE8: ch = 0x81; break;
|
||||
case 0xFFED: ch = 0x94; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ToBytes(String s, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(s[charIndex++]);
|
||||
if(ch >= 128) switch(ch)
|
||||
{
|
||||
case 0x00A0: ch = 0x9A; break;
|
||||
case 0x00A9: ch = 0xBF; break;
|
||||
case 0x00B0: ch = 0x9C; break;
|
||||
case 0x00B2: ch = 0x9D; break;
|
||||
case 0x00B7: ch = 0x9E; break;
|
||||
case 0x00F7: ch = 0x9F; break;
|
||||
case 0x0401: ch = 0xB3; break;
|
||||
case 0x0410: ch = 0xE1; break;
|
||||
case 0x0411: ch = 0xE2; break;
|
||||
case 0x0412: ch = 0xF7; break;
|
||||
case 0x0413: ch = 0xE7; break;
|
||||
case 0x0414: ch = 0xE4; break;
|
||||
case 0x0415: ch = 0xE5; break;
|
||||
case 0x0416: ch = 0xF6; break;
|
||||
case 0x0417: ch = 0xFA; break;
|
||||
case 0x0418:
|
||||
case 0x0419:
|
||||
case 0x041A:
|
||||
case 0x041B:
|
||||
case 0x041C:
|
||||
case 0x041D:
|
||||
case 0x041E:
|
||||
case 0x041F:
|
||||
ch -= 0x032F;
|
||||
break;
|
||||
case 0x0420:
|
||||
case 0x0421:
|
||||
case 0x0422:
|
||||
case 0x0423:
|
||||
ch -= 0x032E;
|
||||
break;
|
||||
case 0x0424: ch = 0xE6; break;
|
||||
case 0x0425: ch = 0xE8; break;
|
||||
case 0x0426: ch = 0xE3; break;
|
||||
case 0x0427: ch = 0xFE; break;
|
||||
case 0x0428: ch = 0xFB; break;
|
||||
case 0x0429: ch = 0xFD; break;
|
||||
case 0x042A: ch = 0xFF; break;
|
||||
case 0x042B: ch = 0xF9; break;
|
||||
case 0x042C: ch = 0xF8; break;
|
||||
case 0x042D: ch = 0xFC; break;
|
||||
case 0x042E: ch = 0xE0; break;
|
||||
case 0x042F: ch = 0xF1; break;
|
||||
case 0x0430: ch = 0xC1; break;
|
||||
case 0x0431: ch = 0xC2; break;
|
||||
case 0x0432: ch = 0xD7; break;
|
||||
case 0x0433: ch = 0xC7; break;
|
||||
case 0x0434: ch = 0xC4; break;
|
||||
case 0x0435: ch = 0xC5; break;
|
||||
case 0x0436: ch = 0xD6; break;
|
||||
case 0x0437: ch = 0xDA; break;
|
||||
case 0x0438:
|
||||
case 0x0439:
|
||||
case 0x043A:
|
||||
case 0x043B:
|
||||
case 0x043C:
|
||||
case 0x043D:
|
||||
case 0x043E:
|
||||
case 0x043F:
|
||||
ch -= 0x036F;
|
||||
break;
|
||||
case 0x0440:
|
||||
case 0x0441:
|
||||
case 0x0442:
|
||||
case 0x0443:
|
||||
ch -= 0x036E;
|
||||
break;
|
||||
case 0x0444: ch = 0xC6; break;
|
||||
case 0x0445: ch = 0xC8; break;
|
||||
case 0x0446: ch = 0xC3; break;
|
||||
case 0x0447: ch = 0xDE; break;
|
||||
case 0x0448: ch = 0xDB; break;
|
||||
case 0x0449: ch = 0xDD; break;
|
||||
case 0x044A: ch = 0xDF; break;
|
||||
case 0x044B: ch = 0xD9; break;
|
||||
case 0x044C: ch = 0xD8; break;
|
||||
case 0x044D: ch = 0xDC; break;
|
||||
case 0x044E: ch = 0xC0; break;
|
||||
case 0x044F: ch = 0xD1; break;
|
||||
case 0x0451: ch = 0xA3; break;
|
||||
case 0x2219: ch = 0x95; break;
|
||||
case 0x221A: ch = 0x96; break;
|
||||
case 0x2248: ch = 0x97; break;
|
||||
case 0x2264: ch = 0x98; break;
|
||||
case 0x2265: ch = 0x99; break;
|
||||
case 0x2320: ch = 0x93; break;
|
||||
case 0x2321: ch = 0x9B; break;
|
||||
case 0x2500: ch = 0x80; break;
|
||||
case 0x2502: ch = 0x81; break;
|
||||
case 0x250C: ch = 0x82; break;
|
||||
case 0x2510: ch = 0x83; break;
|
||||
case 0x2514: ch = 0x84; break;
|
||||
case 0x2518: ch = 0x85; break;
|
||||
case 0x251C: ch = 0x86; break;
|
||||
case 0x2524: ch = 0x87; break;
|
||||
case 0x252C: ch = 0x88; break;
|
||||
case 0x2534: ch = 0x89; break;
|
||||
case 0x253C: ch = 0x8A; break;
|
||||
case 0x2550: ch = 0xA0; break;
|
||||
case 0x2551: ch = 0xA1; break;
|
||||
case 0x2552: ch = 0xA2; break;
|
||||
case 0x2553:
|
||||
case 0x2554:
|
||||
case 0x2555:
|
||||
case 0x2556:
|
||||
case 0x2557:
|
||||
case 0x2558:
|
||||
case 0x2559:
|
||||
case 0x255A:
|
||||
case 0x255B:
|
||||
case 0x255C:
|
||||
case 0x255D:
|
||||
case 0x255E:
|
||||
case 0x255F:
|
||||
case 0x2560:
|
||||
case 0x2561:
|
||||
ch -= 0x24AF;
|
||||
break;
|
||||
case 0x2562:
|
||||
case 0x2563:
|
||||
case 0x2564:
|
||||
case 0x2565:
|
||||
case 0x2566:
|
||||
case 0x2567:
|
||||
case 0x2568:
|
||||
case 0x2569:
|
||||
case 0x256A:
|
||||
case 0x256B:
|
||||
case 0x256C:
|
||||
ch -= 0x24AE;
|
||||
break;
|
||||
case 0x2580: ch = 0x8B; break;
|
||||
case 0x2584: ch = 0x8C; break;
|
||||
case 0x2588: ch = 0x8D; break;
|
||||
case 0x258C: ch = 0x8E; break;
|
||||
case 0x2590:
|
||||
case 0x2591:
|
||||
case 0x2592:
|
||||
case 0x2593:
|
||||
ch -= 0x2501;
|
||||
break;
|
||||
case 0x25A0: ch = 0x94; break;
|
||||
case 0xFFE8: ch = 0x81; break;
|
||||
case 0xFFED: ch = 0x94; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
}; // class CP20866
|
||||
|
||||
public class ENCkoi8_r : CP20866
|
||||
{
|
||||
public ENCkoi8_r() : base() {}
|
||||
|
||||
}; // class ENCkoi8_r
|
||||
|
||||
}; // namespace I18N.Other
|
||||
@@ -0,0 +1,429 @@
|
||||
/*
|
||||
* CP21866.cs - Ukrainian (KOI8-U) code page.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// Generated from "koi8-u.ucm".
|
||||
|
||||
namespace I18N.Other
|
||||
{
|
||||
|
||||
using System;
|
||||
using I18N.Common;
|
||||
|
||||
public class CP21866 : ByteEncoding
|
||||
{
|
||||
public CP21866()
|
||||
: base(21866, ToChars, "Ukrainian (KOI8-U)",
|
||||
"koi8-u", "koi8-u", "koi8-u",
|
||||
true, true, true, true, 1251)
|
||||
{}
|
||||
|
||||
private static readonly char[] ToChars = {
|
||||
'\u0000', '\u0001', '\u0002', '\u0003', '\u0004', '\u0005',
|
||||
'\u0006', '\u0007', '\u0008', '\u0009', '\u000A', '\u000B',
|
||||
'\u000C', '\u000D', '\u000E', '\u000F', '\u0010', '\u0011',
|
||||
'\u0012', '\u0013', '\u0014', '\u0015', '\u0016', '\u0017',
|
||||
'\u0018', '\u0019', '\u001A', '\u001B', '\u001C', '\u001D',
|
||||
'\u001E', '\u001F', '\u0020', '\u0021', '\u0022', '\u0023',
|
||||
'\u0024', '\u0025', '\u0026', '\u0027', '\u0028', '\u0029',
|
||||
'\u002A', '\u002B', '\u002C', '\u002D', '\u002E', '\u002F',
|
||||
'\u0030', '\u0031', '\u0032', '\u0033', '\u0034', '\u0035',
|
||||
'\u0036', '\u0037', '\u0038', '\u0039', '\u003A', '\u003B',
|
||||
'\u003C', '\u003D', '\u003E', '\u003F', '\u0040', '\u0041',
|
||||
'\u0042', '\u0043', '\u0044', '\u0045', '\u0046', '\u0047',
|
||||
'\u0048', '\u0049', '\u004A', '\u004B', '\u004C', '\u004D',
|
||||
'\u004E', '\u004F', '\u0050', '\u0051', '\u0052', '\u0053',
|
||||
'\u0054', '\u0055', '\u0056', '\u0057', '\u0058', '\u0059',
|
||||
'\u005A', '\u005B', '\u005C', '\u005D', '\u005E', '\u005F',
|
||||
'\u0060', '\u0061', '\u0062', '\u0063', '\u0064', '\u0065',
|
||||
'\u0066', '\u0067', '\u0068', '\u0069', '\u006A', '\u006B',
|
||||
'\u006C', '\u006D', '\u006E', '\u006F', '\u0070', '\u0071',
|
||||
'\u0072', '\u0073', '\u0074', '\u0075', '\u0076', '\u0077',
|
||||
'\u0078', '\u0079', '\u007A', '\u007B', '\u007C', '\u007D',
|
||||
'\u007E', '\u007F', '\u2500', '\u2502', '\u250C', '\u2510',
|
||||
'\u2514', '\u2518', '\u251C', '\u2524', '\u252C', '\u2534',
|
||||
'\u253C', '\u2580', '\u2584', '\u2588', '\u258C', '\u2590',
|
||||
'\u2591', '\u2592', '\u2593', '\u2320', '\u25A0', '\u2219',
|
||||
'\u221A', '\u2248', '\u2264', '\u2265', '\u00A0', '\u2321',
|
||||
'\u00B0', '\u00B2', '\u00B7', '\u00F7', '\u2550', '\u2551',
|
||||
'\u2552', '\u0451', '\u0454', '\u2554', '\u0456', '\u0457',
|
||||
'\u2557', '\u2558', '\u2559', '\u255A', '\u255B', '\u0491',
|
||||
'\u255D', '\u255E', '\u255F', '\u2560', '\u2561', '\u0401',
|
||||
'\u0404', '\u2563', '\u0406', '\u0407', '\u2566', '\u2567',
|
||||
'\u2568', '\u2569', '\u256A', '\u0490', '\u256C', '\u00A9',
|
||||
'\u044E', '\u0430', '\u0431', '\u0446', '\u0434', '\u0435',
|
||||
'\u0444', '\u0433', '\u0445', '\u0438', '\u0439', '\u043A',
|
||||
'\u043B', '\u043C', '\u043D', '\u043E', '\u043F', '\u044F',
|
||||
'\u0440', '\u0441', '\u0442', '\u0443', '\u0436', '\u0432',
|
||||
'\u044C', '\u044B', '\u0437', '\u0448', '\u044D', '\u0449',
|
||||
'\u0447', '\u044A', '\u042E', '\u0410', '\u0411', '\u0426',
|
||||
'\u0414', '\u0415', '\u0424', '\u0413', '\u0425', '\u0418',
|
||||
'\u0419', '\u041A', '\u041B', '\u041C', '\u041D', '\u041E',
|
||||
'\u041F', '\u042F', '\u0420', '\u0421', '\u0422', '\u0423',
|
||||
'\u0416', '\u0412', '\u042C', '\u042B', '\u0417', '\u0428',
|
||||
'\u042D', '\u0429', '\u0427', '\u042A',
|
||||
};
|
||||
|
||||
protected override void ToBytes(char[] chars, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(chars[charIndex++]);
|
||||
if(ch >= 128) switch(ch)
|
||||
{
|
||||
case 0x00A0: ch = 0x9A; break;
|
||||
case 0x00A9: ch = 0xBF; break;
|
||||
case 0x00B0: ch = 0x9C; break;
|
||||
case 0x00B2: ch = 0x9D; break;
|
||||
case 0x00B7: ch = 0x9E; break;
|
||||
case 0x00F7: ch = 0x9F; break;
|
||||
case 0x0401: ch = 0xB3; break;
|
||||
case 0x0404: ch = 0xB4; break;
|
||||
case 0x0406: ch = 0xB6; break;
|
||||
case 0x0407: ch = 0xB7; break;
|
||||
case 0x0410: ch = 0xE1; break;
|
||||
case 0x0411: ch = 0xE2; break;
|
||||
case 0x0412: ch = 0xF7; break;
|
||||
case 0x0413: ch = 0xE7; break;
|
||||
case 0x0414: ch = 0xE4; break;
|
||||
case 0x0415: ch = 0xE5; break;
|
||||
case 0x0416: ch = 0xF6; break;
|
||||
case 0x0417: ch = 0xFA; break;
|
||||
case 0x0418:
|
||||
case 0x0419:
|
||||
case 0x041A:
|
||||
case 0x041B:
|
||||
case 0x041C:
|
||||
case 0x041D:
|
||||
case 0x041E:
|
||||
case 0x041F:
|
||||
ch -= 0x032F;
|
||||
break;
|
||||
case 0x0420:
|
||||
case 0x0421:
|
||||
case 0x0422:
|
||||
case 0x0423:
|
||||
ch -= 0x032E;
|
||||
break;
|
||||
case 0x0424: ch = 0xE6; break;
|
||||
case 0x0425: ch = 0xE8; break;
|
||||
case 0x0426: ch = 0xE3; break;
|
||||
case 0x0427: ch = 0xFE; break;
|
||||
case 0x0428: ch = 0xFB; break;
|
||||
case 0x0429: ch = 0xFD; break;
|
||||
case 0x042A: ch = 0xFF; break;
|
||||
case 0x042B: ch = 0xF9; break;
|
||||
case 0x042C: ch = 0xF8; break;
|
||||
case 0x042D: ch = 0xFC; break;
|
||||
case 0x042E: ch = 0xE0; break;
|
||||
case 0x042F: ch = 0xF1; break;
|
||||
case 0x0430: ch = 0xC1; break;
|
||||
case 0x0431: ch = 0xC2; break;
|
||||
case 0x0432: ch = 0xD7; break;
|
||||
case 0x0433: ch = 0xC7; break;
|
||||
case 0x0434: ch = 0xC4; break;
|
||||
case 0x0435: ch = 0xC5; break;
|
||||
case 0x0436: ch = 0xD6; break;
|
||||
case 0x0437: ch = 0xDA; break;
|
||||
case 0x0438:
|
||||
case 0x0439:
|
||||
case 0x043A:
|
||||
case 0x043B:
|
||||
case 0x043C:
|
||||
case 0x043D:
|
||||
case 0x043E:
|
||||
case 0x043F:
|
||||
ch -= 0x036F;
|
||||
break;
|
||||
case 0x0440:
|
||||
case 0x0441:
|
||||
case 0x0442:
|
||||
case 0x0443:
|
||||
ch -= 0x036E;
|
||||
break;
|
||||
case 0x0444: ch = 0xC6; break;
|
||||
case 0x0445: ch = 0xC8; break;
|
||||
case 0x0446: ch = 0xC3; break;
|
||||
case 0x0447: ch = 0xDE; break;
|
||||
case 0x0448: ch = 0xDB; break;
|
||||
case 0x0449: ch = 0xDD; break;
|
||||
case 0x044A: ch = 0xDF; break;
|
||||
case 0x044B: ch = 0xD9; break;
|
||||
case 0x044C: ch = 0xD8; break;
|
||||
case 0x044D: ch = 0xDC; break;
|
||||
case 0x044E: ch = 0xC0; break;
|
||||
case 0x044F: ch = 0xD1; break;
|
||||
case 0x0451: ch = 0xA3; break;
|
||||
case 0x0454: ch = 0xA4; break;
|
||||
case 0x0456: ch = 0xA6; break;
|
||||
case 0x0457: ch = 0xA7; break;
|
||||
case 0x0490: ch = 0xBD; break;
|
||||
case 0x0491: ch = 0xAD; break;
|
||||
case 0x2219: ch = 0x95; break;
|
||||
case 0x221A: ch = 0x96; break;
|
||||
case 0x2248: ch = 0x97; break;
|
||||
case 0x2264: ch = 0x98; break;
|
||||
case 0x2265: ch = 0x99; break;
|
||||
case 0x2320: ch = 0x93; break;
|
||||
case 0x2321: ch = 0x9B; break;
|
||||
case 0x2500: ch = 0x80; break;
|
||||
case 0x2502: ch = 0x81; break;
|
||||
case 0x250C: ch = 0x82; break;
|
||||
case 0x2510: ch = 0x83; break;
|
||||
case 0x2514: ch = 0x84; break;
|
||||
case 0x2518: ch = 0x85; break;
|
||||
case 0x251C: ch = 0x86; break;
|
||||
case 0x2524: ch = 0x87; break;
|
||||
case 0x252C: ch = 0x88; break;
|
||||
case 0x2534: ch = 0x89; break;
|
||||
case 0x253C: ch = 0x8A; break;
|
||||
case 0x2550: ch = 0xA0; break;
|
||||
case 0x2551: ch = 0xA1; break;
|
||||
case 0x2552: ch = 0xA2; break;
|
||||
case 0x2554: ch = 0xA5; break;
|
||||
case 0x2557:
|
||||
case 0x2558:
|
||||
case 0x2559:
|
||||
case 0x255A:
|
||||
case 0x255B:
|
||||
ch -= 0x24AF;
|
||||
break;
|
||||
case 0x255D:
|
||||
case 0x255E:
|
||||
case 0x255F:
|
||||
case 0x2560:
|
||||
case 0x2561:
|
||||
ch -= 0x24AF;
|
||||
break;
|
||||
case 0x2563: ch = 0xB5; break;
|
||||
case 0x2566:
|
||||
case 0x2567:
|
||||
case 0x2568:
|
||||
case 0x2569:
|
||||
case 0x256A:
|
||||
ch -= 0x24AE;
|
||||
break;
|
||||
case 0x256C: ch = 0xBE; break;
|
||||
case 0x2580: ch = 0x8B; break;
|
||||
case 0x2584: ch = 0x8C; break;
|
||||
case 0x2588: ch = 0x8D; break;
|
||||
case 0x258C: ch = 0x8E; break;
|
||||
case 0x2590:
|
||||
case 0x2591:
|
||||
case 0x2592:
|
||||
case 0x2593:
|
||||
ch -= 0x2501;
|
||||
break;
|
||||
case 0x25A0: ch = 0x94; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ToBytes(String s, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(s[charIndex++]);
|
||||
if(ch >= 128) switch(ch)
|
||||
{
|
||||
case 0x00A0: ch = 0x9A; break;
|
||||
case 0x00A9: ch = 0xBF; break;
|
||||
case 0x00B0: ch = 0x9C; break;
|
||||
case 0x00B2: ch = 0x9D; break;
|
||||
case 0x00B7: ch = 0x9E; break;
|
||||
case 0x00F7: ch = 0x9F; break;
|
||||
case 0x0401: ch = 0xB3; break;
|
||||
case 0x0404: ch = 0xB4; break;
|
||||
case 0x0406: ch = 0xB6; break;
|
||||
case 0x0407: ch = 0xB7; break;
|
||||
case 0x0410: ch = 0xE1; break;
|
||||
case 0x0411: ch = 0xE2; break;
|
||||
case 0x0412: ch = 0xF7; break;
|
||||
case 0x0413: ch = 0xE7; break;
|
||||
case 0x0414: ch = 0xE4; break;
|
||||
case 0x0415: ch = 0xE5; break;
|
||||
case 0x0416: ch = 0xF6; break;
|
||||
case 0x0417: ch = 0xFA; break;
|
||||
case 0x0418:
|
||||
case 0x0419:
|
||||
case 0x041A:
|
||||
case 0x041B:
|
||||
case 0x041C:
|
||||
case 0x041D:
|
||||
case 0x041E:
|
||||
case 0x041F:
|
||||
ch -= 0x032F;
|
||||
break;
|
||||
case 0x0420:
|
||||
case 0x0421:
|
||||
case 0x0422:
|
||||
case 0x0423:
|
||||
ch -= 0x032E;
|
||||
break;
|
||||
case 0x0424: ch = 0xE6; break;
|
||||
case 0x0425: ch = 0xE8; break;
|
||||
case 0x0426: ch = 0xE3; break;
|
||||
case 0x0427: ch = 0xFE; break;
|
||||
case 0x0428: ch = 0xFB; break;
|
||||
case 0x0429: ch = 0xFD; break;
|
||||
case 0x042A: ch = 0xFF; break;
|
||||
case 0x042B: ch = 0xF9; break;
|
||||
case 0x042C: ch = 0xF8; break;
|
||||
case 0x042D: ch = 0xFC; break;
|
||||
case 0x042E: ch = 0xE0; break;
|
||||
case 0x042F: ch = 0xF1; break;
|
||||
case 0x0430: ch = 0xC1; break;
|
||||
case 0x0431: ch = 0xC2; break;
|
||||
case 0x0432: ch = 0xD7; break;
|
||||
case 0x0433: ch = 0xC7; break;
|
||||
case 0x0434: ch = 0xC4; break;
|
||||
case 0x0435: ch = 0xC5; break;
|
||||
case 0x0436: ch = 0xD6; break;
|
||||
case 0x0437: ch = 0xDA; break;
|
||||
case 0x0438:
|
||||
case 0x0439:
|
||||
case 0x043A:
|
||||
case 0x043B:
|
||||
case 0x043C:
|
||||
case 0x043D:
|
||||
case 0x043E:
|
||||
case 0x043F:
|
||||
ch -= 0x036F;
|
||||
break;
|
||||
case 0x0440:
|
||||
case 0x0441:
|
||||
case 0x0442:
|
||||
case 0x0443:
|
||||
ch -= 0x036E;
|
||||
break;
|
||||
case 0x0444: ch = 0xC6; break;
|
||||
case 0x0445: ch = 0xC8; break;
|
||||
case 0x0446: ch = 0xC3; break;
|
||||
case 0x0447: ch = 0xDE; break;
|
||||
case 0x0448: ch = 0xDB; break;
|
||||
case 0x0449: ch = 0xDD; break;
|
||||
case 0x044A: ch = 0xDF; break;
|
||||
case 0x044B: ch = 0xD9; break;
|
||||
case 0x044C: ch = 0xD8; break;
|
||||
case 0x044D: ch = 0xDC; break;
|
||||
case 0x044E: ch = 0xC0; break;
|
||||
case 0x044F: ch = 0xD1; break;
|
||||
case 0x0451: ch = 0xA3; break;
|
||||
case 0x0454: ch = 0xA4; break;
|
||||
case 0x0456: ch = 0xA6; break;
|
||||
case 0x0457: ch = 0xA7; break;
|
||||
case 0x0490: ch = 0xBD; break;
|
||||
case 0x0491: ch = 0xAD; break;
|
||||
case 0x2219: ch = 0x95; break;
|
||||
case 0x221A: ch = 0x96; break;
|
||||
case 0x2248: ch = 0x97; break;
|
||||
case 0x2264: ch = 0x98; break;
|
||||
case 0x2265: ch = 0x99; break;
|
||||
case 0x2320: ch = 0x93; break;
|
||||
case 0x2321: ch = 0x9B; break;
|
||||
case 0x2500: ch = 0x80; break;
|
||||
case 0x2502: ch = 0x81; break;
|
||||
case 0x250C: ch = 0x82; break;
|
||||
case 0x2510: ch = 0x83; break;
|
||||
case 0x2514: ch = 0x84; break;
|
||||
case 0x2518: ch = 0x85; break;
|
||||
case 0x251C: ch = 0x86; break;
|
||||
case 0x2524: ch = 0x87; break;
|
||||
case 0x252C: ch = 0x88; break;
|
||||
case 0x2534: ch = 0x89; break;
|
||||
case 0x253C: ch = 0x8A; break;
|
||||
case 0x2550: ch = 0xA0; break;
|
||||
case 0x2551: ch = 0xA1; break;
|
||||
case 0x2552: ch = 0xA2; break;
|
||||
case 0x2554: ch = 0xA5; break;
|
||||
case 0x2557:
|
||||
case 0x2558:
|
||||
case 0x2559:
|
||||
case 0x255A:
|
||||
case 0x255B:
|
||||
ch -= 0x24AF;
|
||||
break;
|
||||
case 0x255D:
|
||||
case 0x255E:
|
||||
case 0x255F:
|
||||
case 0x2560:
|
||||
case 0x2561:
|
||||
ch -= 0x24AF;
|
||||
break;
|
||||
case 0x2563: ch = 0xB5; break;
|
||||
case 0x2566:
|
||||
case 0x2567:
|
||||
case 0x2568:
|
||||
case 0x2569:
|
||||
case 0x256A:
|
||||
ch -= 0x24AE;
|
||||
break;
|
||||
case 0x256C: ch = 0xBE; break;
|
||||
case 0x2580: ch = 0x8B; break;
|
||||
case 0x2584: ch = 0x8C; break;
|
||||
case 0x2588: ch = 0x8D; break;
|
||||
case 0x258C: ch = 0x8E; break;
|
||||
case 0x2590:
|
||||
case 0x2591:
|
||||
case 0x2592:
|
||||
case 0x2593:
|
||||
ch -= 0x2501;
|
||||
break;
|
||||
case 0x25A0: ch = 0x94; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
}; // class CP21866
|
||||
|
||||
public class ENCkoi8_u : CP21866
|
||||
{
|
||||
public ENCkoi8_u() : base() {}
|
||||
|
||||
}; // class ENCkoi8_u
|
||||
|
||||
}; // namespace I18N.Other
|
||||
@@ -0,0 +1,333 @@
|
||||
/*
|
||||
* CP28594.cs - Baltic (ISO) code page.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// Generated from "ibm-914.ucm".
|
||||
|
||||
namespace I18N.Other
|
||||
{
|
||||
|
||||
using System;
|
||||
using I18N.Common;
|
||||
|
||||
public class CP28594 : ByteEncoding
|
||||
{
|
||||
public CP28594()
|
||||
: base(28594, ToChars, "Baltic (ISO)",
|
||||
"iso-8859-4", "iso-8859-4", "iso-8859-4",
|
||||
true, true, true, true, 1257)
|
||||
{}
|
||||
|
||||
private static readonly char[] ToChars = {
|
||||
'\u0000', '\u0001', '\u0002', '\u0003', '\u0004', '\u0005',
|
||||
'\u0006', '\u0007', '\u0008', '\u0009', '\u000A', '\u000B',
|
||||
'\u000C', '\u000D', '\u000E', '\u000F', '\u0010', '\u0011',
|
||||
'\u0012', '\u0013', '\u0014', '\u0015', '\u0016', '\u0017',
|
||||
'\u0018', '\u0019', '\u001A', '\u001B', '\u001C', '\u001D',
|
||||
'\u001E', '\u001F', '\u0020', '\u0021', '\u0022', '\u0023',
|
||||
'\u0024', '\u0025', '\u0026', '\u0027', '\u0028', '\u0029',
|
||||
'\u002A', '\u002B', '\u002C', '\u002D', '\u002E', '\u002F',
|
||||
'\u0030', '\u0031', '\u0032', '\u0033', '\u0034', '\u0035',
|
||||
'\u0036', '\u0037', '\u0038', '\u0039', '\u003A', '\u003B',
|
||||
'\u003C', '\u003D', '\u003E', '\u003F', '\u0040', '\u0041',
|
||||
'\u0042', '\u0043', '\u0044', '\u0045', '\u0046', '\u0047',
|
||||
'\u0048', '\u0049', '\u004A', '\u004B', '\u004C', '\u004D',
|
||||
'\u004E', '\u004F', '\u0050', '\u0051', '\u0052', '\u0053',
|
||||
'\u0054', '\u0055', '\u0056', '\u0057', '\u0058', '\u0059',
|
||||
'\u005A', '\u005B', '\u005C', '\u005D', '\u005E', '\u005F',
|
||||
'\u0060', '\u0061', '\u0062', '\u0063', '\u0064', '\u0065',
|
||||
'\u0066', '\u0067', '\u0068', '\u0069', '\u006A', '\u006B',
|
||||
'\u006C', '\u006D', '\u006E', '\u006F', '\u0070', '\u0071',
|
||||
'\u0072', '\u0073', '\u0074', '\u0075', '\u0076', '\u0077',
|
||||
'\u0078', '\u0079', '\u007A', '\u007B', '\u007C', '\u007D',
|
||||
'\u007E', '\u007F', '\u0080', '\u0081', '\u0082', '\u0083',
|
||||
'\u0084', '\u0085', '\u0086', '\u0087', '\u0088', '\u0089',
|
||||
'\u008A', '\u008B', '\u008C', '\u008D', '\u008E', '\u008F',
|
||||
'\u0090', '\u0091', '\u0092', '\u0093', '\u0094', '\u0095',
|
||||
'\u0096', '\u0097', '\u0098', '\u0099', '\u009A', '\u009B',
|
||||
'\u009C', '\u009D', '\u009E', '\u009F', '\u00A0', '\u0104',
|
||||
'\u0138', '\u0156', '\u00A4', '\u0128', '\u013B', '\u00A7',
|
||||
'\u00A8', '\u0160', '\u0112', '\u0122', '\u0166', '\u00AD',
|
||||
'\u017D', '\u00AF', '\u00B0', '\u0105', '\u02DB', '\u0157',
|
||||
'\u00B4', '\u0129', '\u013C', '\u02C7', '\u00B8', '\u0161',
|
||||
'\u0113', '\u0123', '\u0167', '\u014A', '\u017E', '\u014B',
|
||||
'\u0100', '\u00C1', '\u00C2', '\u00C3', '\u00C4', '\u00C5',
|
||||
'\u00C6', '\u012E', '\u010C', '\u00C9', '\u0118', '\u00CB',
|
||||
'\u0116', '\u00CD', '\u00CE', '\u012A', '\u0110', '\u0145',
|
||||
'\u014C', '\u0136', '\u00D4', '\u00D5', '\u00D6', '\u00D7',
|
||||
'\u00D8', '\u0172', '\u00DA', '\u00DB', '\u00DC', '\u0168',
|
||||
'\u016A', '\u00DF', '\u0101', '\u00E1', '\u00E2', '\u00E3',
|
||||
'\u00E4', '\u00E5', '\u00E6', '\u012F', '\u010D', '\u00E9',
|
||||
'\u0119', '\u00EB', '\u0117', '\u00ED', '\u00EE', '\u012B',
|
||||
'\u0111', '\u0146', '\u014D', '\u0137', '\u00F4', '\u00F5',
|
||||
'\u00F6', '\u00F7', '\u00F8', '\u0173', '\u00FA', '\u00FB',
|
||||
'\u00FC', '\u0169', '\u016B', '\u02D9',
|
||||
};
|
||||
|
||||
protected override void ToBytes(char[] chars, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(chars[charIndex++]);
|
||||
if(ch >= 161) switch(ch)
|
||||
{
|
||||
case 0x00A4:
|
||||
case 0x00A7:
|
||||
case 0x00A8:
|
||||
case 0x00AD:
|
||||
case 0x00AF:
|
||||
case 0x00B0:
|
||||
case 0x00B4:
|
||||
case 0x00B8:
|
||||
case 0x00C1:
|
||||
case 0x00C2:
|
||||
case 0x00C3:
|
||||
case 0x00C4:
|
||||
case 0x00C5:
|
||||
case 0x00C6:
|
||||
case 0x00C9:
|
||||
case 0x00CB:
|
||||
case 0x00CD:
|
||||
case 0x00CE:
|
||||
case 0x00D4:
|
||||
case 0x00D5:
|
||||
case 0x00D6:
|
||||
case 0x00D7:
|
||||
case 0x00D8:
|
||||
case 0x00DA:
|
||||
case 0x00DB:
|
||||
case 0x00DC:
|
||||
case 0x00DF:
|
||||
case 0x00E1:
|
||||
case 0x00E2:
|
||||
case 0x00E3:
|
||||
case 0x00E4:
|
||||
case 0x00E5:
|
||||
case 0x00E6:
|
||||
case 0x00E9:
|
||||
case 0x00EB:
|
||||
case 0x00ED:
|
||||
case 0x00EE:
|
||||
case 0x00F4:
|
||||
case 0x00F5:
|
||||
case 0x00F6:
|
||||
case 0x00F7:
|
||||
case 0x00F8:
|
||||
case 0x00FA:
|
||||
case 0x00FB:
|
||||
case 0x00FC:
|
||||
break;
|
||||
case 0x0100: ch = 0xC0; break;
|
||||
case 0x0101: ch = 0xE0; break;
|
||||
case 0x0104: ch = 0xA1; break;
|
||||
case 0x0105: ch = 0xB1; break;
|
||||
case 0x010C: ch = 0xC8; break;
|
||||
case 0x010D: ch = 0xE8; break;
|
||||
case 0x0110: ch = 0xD0; break;
|
||||
case 0x0111: ch = 0xF0; break;
|
||||
case 0x0112: ch = 0xAA; break;
|
||||
case 0x0113: ch = 0xBA; break;
|
||||
case 0x0116: ch = 0xCC; break;
|
||||
case 0x0117: ch = 0xEC; break;
|
||||
case 0x0118: ch = 0xCA; break;
|
||||
case 0x0119: ch = 0xEA; break;
|
||||
case 0x0122: ch = 0xAB; break;
|
||||
case 0x0123: ch = 0xBB; break;
|
||||
case 0x0128: ch = 0xA5; break;
|
||||
case 0x0129: ch = 0xB5; break;
|
||||
case 0x012A: ch = 0xCF; break;
|
||||
case 0x012B: ch = 0xEF; break;
|
||||
case 0x012E: ch = 0xC7; break;
|
||||
case 0x012F: ch = 0xE7; break;
|
||||
case 0x0136: ch = 0xD3; break;
|
||||
case 0x0137: ch = 0xF3; break;
|
||||
case 0x0138: ch = 0xA2; break;
|
||||
case 0x013B: ch = 0xA6; break;
|
||||
case 0x013C: ch = 0xB6; break;
|
||||
case 0x0145: ch = 0xD1; break;
|
||||
case 0x0146: ch = 0xF1; break;
|
||||
case 0x014A: ch = 0xBD; break;
|
||||
case 0x014B: ch = 0xBF; break;
|
||||
case 0x014C: ch = 0xD2; break;
|
||||
case 0x014D: ch = 0xF2; break;
|
||||
case 0x0156: ch = 0xA3; break;
|
||||
case 0x0157: ch = 0xB3; break;
|
||||
case 0x0160: ch = 0xA9; break;
|
||||
case 0x0161: ch = 0xB9; break;
|
||||
case 0x0166: ch = 0xAC; break;
|
||||
case 0x0167: ch = 0xBC; break;
|
||||
case 0x0168: ch = 0xDD; break;
|
||||
case 0x0169: ch = 0xFD; break;
|
||||
case 0x016A: ch = 0xDE; break;
|
||||
case 0x016B: ch = 0xFE; break;
|
||||
case 0x0172: ch = 0xD9; break;
|
||||
case 0x0173: ch = 0xF9; break;
|
||||
case 0x017D: ch = 0xAE; break;
|
||||
case 0x017E: ch = 0xBE; break;
|
||||
case 0x02C7: ch = 0xB7; break;
|
||||
case 0x02D9: ch = 0xFF; break;
|
||||
case 0x02DB: ch = 0xB2; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ToBytes(String s, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(s[charIndex++]);
|
||||
if(ch >= 161) switch(ch)
|
||||
{
|
||||
case 0x00A4:
|
||||
case 0x00A7:
|
||||
case 0x00A8:
|
||||
case 0x00AD:
|
||||
case 0x00AF:
|
||||
case 0x00B0:
|
||||
case 0x00B4:
|
||||
case 0x00B8:
|
||||
case 0x00C1:
|
||||
case 0x00C2:
|
||||
case 0x00C3:
|
||||
case 0x00C4:
|
||||
case 0x00C5:
|
||||
case 0x00C6:
|
||||
case 0x00C9:
|
||||
case 0x00CB:
|
||||
case 0x00CD:
|
||||
case 0x00CE:
|
||||
case 0x00D4:
|
||||
case 0x00D5:
|
||||
case 0x00D6:
|
||||
case 0x00D7:
|
||||
case 0x00D8:
|
||||
case 0x00DA:
|
||||
case 0x00DB:
|
||||
case 0x00DC:
|
||||
case 0x00DF:
|
||||
case 0x00E1:
|
||||
case 0x00E2:
|
||||
case 0x00E3:
|
||||
case 0x00E4:
|
||||
case 0x00E5:
|
||||
case 0x00E6:
|
||||
case 0x00E9:
|
||||
case 0x00EB:
|
||||
case 0x00ED:
|
||||
case 0x00EE:
|
||||
case 0x00F4:
|
||||
case 0x00F5:
|
||||
case 0x00F6:
|
||||
case 0x00F7:
|
||||
case 0x00F8:
|
||||
case 0x00FA:
|
||||
case 0x00FB:
|
||||
case 0x00FC:
|
||||
break;
|
||||
case 0x0100: ch = 0xC0; break;
|
||||
case 0x0101: ch = 0xE0; break;
|
||||
case 0x0104: ch = 0xA1; break;
|
||||
case 0x0105: ch = 0xB1; break;
|
||||
case 0x010C: ch = 0xC8; break;
|
||||
case 0x010D: ch = 0xE8; break;
|
||||
case 0x0110: ch = 0xD0; break;
|
||||
case 0x0111: ch = 0xF0; break;
|
||||
case 0x0112: ch = 0xAA; break;
|
||||
case 0x0113: ch = 0xBA; break;
|
||||
case 0x0116: ch = 0xCC; break;
|
||||
case 0x0117: ch = 0xEC; break;
|
||||
case 0x0118: ch = 0xCA; break;
|
||||
case 0x0119: ch = 0xEA; break;
|
||||
case 0x0122: ch = 0xAB; break;
|
||||
case 0x0123: ch = 0xBB; break;
|
||||
case 0x0128: ch = 0xA5; break;
|
||||
case 0x0129: ch = 0xB5; break;
|
||||
case 0x012A: ch = 0xCF; break;
|
||||
case 0x012B: ch = 0xEF; break;
|
||||
case 0x012E: ch = 0xC7; break;
|
||||
case 0x012F: ch = 0xE7; break;
|
||||
case 0x0136: ch = 0xD3; break;
|
||||
case 0x0137: ch = 0xF3; break;
|
||||
case 0x0138: ch = 0xA2; break;
|
||||
case 0x013B: ch = 0xA6; break;
|
||||
case 0x013C: ch = 0xB6; break;
|
||||
case 0x0145: ch = 0xD1; break;
|
||||
case 0x0146: ch = 0xF1; break;
|
||||
case 0x014A: ch = 0xBD; break;
|
||||
case 0x014B: ch = 0xBF; break;
|
||||
case 0x014C: ch = 0xD2; break;
|
||||
case 0x014D: ch = 0xF2; break;
|
||||
case 0x0156: ch = 0xA3; break;
|
||||
case 0x0157: ch = 0xB3; break;
|
||||
case 0x0160: ch = 0xA9; break;
|
||||
case 0x0161: ch = 0xB9; break;
|
||||
case 0x0166: ch = 0xAC; break;
|
||||
case 0x0167: ch = 0xBC; break;
|
||||
case 0x0168: ch = 0xDD; break;
|
||||
case 0x0169: ch = 0xFD; break;
|
||||
case 0x016A: ch = 0xDE; break;
|
||||
case 0x016B: ch = 0xFE; break;
|
||||
case 0x0172: ch = 0xD9; break;
|
||||
case 0x0173: ch = 0xF9; break;
|
||||
case 0x017D: ch = 0xAE; break;
|
||||
case 0x017E: ch = 0xBE; break;
|
||||
case 0x02C7: ch = 0xB7; break;
|
||||
case 0x02D9: ch = 0xFF; break;
|
||||
case 0x02DB: ch = 0xB2; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
}; // class CP28594
|
||||
|
||||
public class ENCiso_8859_4 : CP28594
|
||||
{
|
||||
public ENCiso_8859_4() : base() {}
|
||||
|
||||
}; // class ENCiso_8859_4
|
||||
|
||||
}; // namespace I18N.Other
|
||||
@@ -0,0 +1,345 @@
|
||||
/*
|
||||
* CP28595.cs - Cyrillic (ISO) code page.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// Generated from "ibm-915.ucm".
|
||||
|
||||
namespace I18N.Other
|
||||
{
|
||||
|
||||
using System;
|
||||
using I18N.Common;
|
||||
|
||||
public class CP28595 : ByteEncoding
|
||||
{
|
||||
public CP28595()
|
||||
: base(28595, ToChars, "Cyrillic (ISO)",
|
||||
"iso-8859-5", "iso-8859-5", "iso-8859-5",
|
||||
true, true, true, true, 1251)
|
||||
{}
|
||||
|
||||
private static readonly char[] ToChars = {
|
||||
'\u0000', '\u0001', '\u0002', '\u0003', '\u0004', '\u0005',
|
||||
'\u0006', '\u0007', '\u0008', '\u0009', '\u000A', '\u000B',
|
||||
'\u000C', '\u000D', '\u000E', '\u000F', '\u0010', '\u0011',
|
||||
'\u0012', '\u0013', '\u0014', '\u0015', '\u0016', '\u0017',
|
||||
'\u0018', '\u0019', '\u001A', '\u001B', '\u001C', '\u001D',
|
||||
'\u001E', '\u001F', '\u0020', '\u0021', '\u0022', '\u0023',
|
||||
'\u0024', '\u0025', '\u0026', '\u0027', '\u0028', '\u0029',
|
||||
'\u002A', '\u002B', '\u002C', '\u002D', '\u002E', '\u002F',
|
||||
'\u0030', '\u0031', '\u0032', '\u0033', '\u0034', '\u0035',
|
||||
'\u0036', '\u0037', '\u0038', '\u0039', '\u003A', '\u003B',
|
||||
'\u003C', '\u003D', '\u003E', '\u003F', '\u0040', '\u0041',
|
||||
'\u0042', '\u0043', '\u0044', '\u0045', '\u0046', '\u0047',
|
||||
'\u0048', '\u0049', '\u004A', '\u004B', '\u004C', '\u004D',
|
||||
'\u004E', '\u004F', '\u0050', '\u0051', '\u0052', '\u0053',
|
||||
'\u0054', '\u0055', '\u0056', '\u0057', '\u0058', '\u0059',
|
||||
'\u005A', '\u005B', '\u005C', '\u005D', '\u005E', '\u005F',
|
||||
'\u0060', '\u0061', '\u0062', '\u0063', '\u0064', '\u0065',
|
||||
'\u0066', '\u0067', '\u0068', '\u0069', '\u006A', '\u006B',
|
||||
'\u006C', '\u006D', '\u006E', '\u006F', '\u0070', '\u0071',
|
||||
'\u0072', '\u0073', '\u0074', '\u0075', '\u0076', '\u0077',
|
||||
'\u0078', '\u0079', '\u007A', '\u007B', '\u007C', '\u007D',
|
||||
'\u007E', '\u007F', '\u0080', '\u0081', '\u0082', '\u0083',
|
||||
'\u0084', '\u0085', '\u0086', '\u0087', '\u0088', '\u0089',
|
||||
'\u008A', '\u008B', '\u008C', '\u008D', '\u008E', '\u008F',
|
||||
'\u0090', '\u0091', '\u0092', '\u0093', '\u0094', '\u0095',
|
||||
'\u0096', '\u0097', '\u0098', '\u0099', '\u009A', '\u009B',
|
||||
'\u009C', '\u009D', '\u009E', '\u009F', '\u00A0', '\u0401',
|
||||
'\u0402', '\u0403', '\u0404', '\u0405', '\u0406', '\u0407',
|
||||
'\u0408', '\u0409', '\u040A', '\u040B', '\u040C', '\u00AD',
|
||||
'\u040E', '\u040F', '\u0410', '\u0411', '\u0412', '\u0413',
|
||||
'\u0414', '\u0415', '\u0416', '\u0417', '\u0418', '\u0419',
|
||||
'\u041A', '\u041B', '\u041C', '\u041D', '\u041E', '\u041F',
|
||||
'\u0420', '\u0421', '\u0422', '\u0423', '\u0424', '\u0425',
|
||||
'\u0426', '\u0427', '\u0428', '\u0429', '\u042A', '\u042B',
|
||||
'\u042C', '\u042D', '\u042E', '\u042F', '\u0430', '\u0431',
|
||||
'\u0432', '\u0433', '\u0434', '\u0435', '\u0436', '\u0437',
|
||||
'\u0438', '\u0439', '\u043A', '\u043B', '\u043C', '\u043D',
|
||||
'\u043E', '\u043F', '\u0440', '\u0441', '\u0442', '\u0443',
|
||||
'\u0444', '\u0445', '\u0446', '\u0447', '\u0448', '\u0449',
|
||||
'\u044A', '\u044B', '\u044C', '\u044D', '\u044E', '\u044F',
|
||||
'\u2116', '\u0451', '\u0452', '\u0453', '\u0454', '\u0455',
|
||||
'\u0456', '\u0457', '\u0458', '\u0459', '\u045A', '\u045B',
|
||||
'\u045C', '\u00A7', '\u045E', '\u045F',
|
||||
};
|
||||
|
||||
protected override void ToBytes(char[] chars, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(chars[charIndex++]);
|
||||
if(ch >= 161) switch(ch)
|
||||
{
|
||||
case 0x00AD:
|
||||
break;
|
||||
case 0x00A7: ch = 0xFD; break;
|
||||
case 0x0401:
|
||||
case 0x0402:
|
||||
case 0x0403:
|
||||
case 0x0404:
|
||||
case 0x0405:
|
||||
case 0x0406:
|
||||
case 0x0407:
|
||||
case 0x0408:
|
||||
case 0x0409:
|
||||
case 0x040A:
|
||||
case 0x040B:
|
||||
case 0x040C:
|
||||
ch -= 0x0360;
|
||||
break;
|
||||
case 0x040E:
|
||||
case 0x040F:
|
||||
case 0x0410:
|
||||
case 0x0411:
|
||||
case 0x0412:
|
||||
case 0x0413:
|
||||
case 0x0414:
|
||||
case 0x0415:
|
||||
case 0x0416:
|
||||
case 0x0417:
|
||||
case 0x0418:
|
||||
case 0x0419:
|
||||
case 0x041A:
|
||||
case 0x041B:
|
||||
case 0x041C:
|
||||
case 0x041D:
|
||||
case 0x041E:
|
||||
case 0x041F:
|
||||
case 0x0420:
|
||||
case 0x0421:
|
||||
case 0x0422:
|
||||
case 0x0423:
|
||||
case 0x0424:
|
||||
case 0x0425:
|
||||
case 0x0426:
|
||||
case 0x0427:
|
||||
case 0x0428:
|
||||
case 0x0429:
|
||||
case 0x042A:
|
||||
case 0x042B:
|
||||
case 0x042C:
|
||||
case 0x042D:
|
||||
case 0x042E:
|
||||
case 0x042F:
|
||||
case 0x0430:
|
||||
case 0x0431:
|
||||
case 0x0432:
|
||||
case 0x0433:
|
||||
case 0x0434:
|
||||
case 0x0435:
|
||||
case 0x0436:
|
||||
case 0x0437:
|
||||
case 0x0438:
|
||||
case 0x0439:
|
||||
case 0x043A:
|
||||
case 0x043B:
|
||||
case 0x043C:
|
||||
case 0x043D:
|
||||
case 0x043E:
|
||||
case 0x043F:
|
||||
case 0x0440:
|
||||
case 0x0441:
|
||||
case 0x0442:
|
||||
case 0x0443:
|
||||
case 0x0444:
|
||||
case 0x0445:
|
||||
case 0x0446:
|
||||
case 0x0447:
|
||||
case 0x0448:
|
||||
case 0x0449:
|
||||
case 0x044A:
|
||||
case 0x044B:
|
||||
case 0x044C:
|
||||
case 0x044D:
|
||||
case 0x044E:
|
||||
case 0x044F:
|
||||
ch -= 0x0360;
|
||||
break;
|
||||
case 0x0451:
|
||||
case 0x0452:
|
||||
case 0x0453:
|
||||
case 0x0454:
|
||||
case 0x0455:
|
||||
case 0x0456:
|
||||
case 0x0457:
|
||||
case 0x0458:
|
||||
case 0x0459:
|
||||
case 0x045A:
|
||||
case 0x045B:
|
||||
case 0x045C:
|
||||
ch -= 0x0360;
|
||||
break;
|
||||
case 0x045E: ch = 0xFE; break;
|
||||
case 0x045F: ch = 0xFF; break;
|
||||
case 0x2116: ch = 0xF0; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ToBytes(String s, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(s[charIndex++]);
|
||||
if(ch >= 161) switch(ch)
|
||||
{
|
||||
case 0x00AD:
|
||||
break;
|
||||
case 0x00A7: ch = 0xFD; break;
|
||||
case 0x0401:
|
||||
case 0x0402:
|
||||
case 0x0403:
|
||||
case 0x0404:
|
||||
case 0x0405:
|
||||
case 0x0406:
|
||||
case 0x0407:
|
||||
case 0x0408:
|
||||
case 0x0409:
|
||||
case 0x040A:
|
||||
case 0x040B:
|
||||
case 0x040C:
|
||||
ch -= 0x0360;
|
||||
break;
|
||||
case 0x040E:
|
||||
case 0x040F:
|
||||
case 0x0410:
|
||||
case 0x0411:
|
||||
case 0x0412:
|
||||
case 0x0413:
|
||||
case 0x0414:
|
||||
case 0x0415:
|
||||
case 0x0416:
|
||||
case 0x0417:
|
||||
case 0x0418:
|
||||
case 0x0419:
|
||||
case 0x041A:
|
||||
case 0x041B:
|
||||
case 0x041C:
|
||||
case 0x041D:
|
||||
case 0x041E:
|
||||
case 0x041F:
|
||||
case 0x0420:
|
||||
case 0x0421:
|
||||
case 0x0422:
|
||||
case 0x0423:
|
||||
case 0x0424:
|
||||
case 0x0425:
|
||||
case 0x0426:
|
||||
case 0x0427:
|
||||
case 0x0428:
|
||||
case 0x0429:
|
||||
case 0x042A:
|
||||
case 0x042B:
|
||||
case 0x042C:
|
||||
case 0x042D:
|
||||
case 0x042E:
|
||||
case 0x042F:
|
||||
case 0x0430:
|
||||
case 0x0431:
|
||||
case 0x0432:
|
||||
case 0x0433:
|
||||
case 0x0434:
|
||||
case 0x0435:
|
||||
case 0x0436:
|
||||
case 0x0437:
|
||||
case 0x0438:
|
||||
case 0x0439:
|
||||
case 0x043A:
|
||||
case 0x043B:
|
||||
case 0x043C:
|
||||
case 0x043D:
|
||||
case 0x043E:
|
||||
case 0x043F:
|
||||
case 0x0440:
|
||||
case 0x0441:
|
||||
case 0x0442:
|
||||
case 0x0443:
|
||||
case 0x0444:
|
||||
case 0x0445:
|
||||
case 0x0446:
|
||||
case 0x0447:
|
||||
case 0x0448:
|
||||
case 0x0449:
|
||||
case 0x044A:
|
||||
case 0x044B:
|
||||
case 0x044C:
|
||||
case 0x044D:
|
||||
case 0x044E:
|
||||
case 0x044F:
|
||||
ch -= 0x0360;
|
||||
break;
|
||||
case 0x0451:
|
||||
case 0x0452:
|
||||
case 0x0453:
|
||||
case 0x0454:
|
||||
case 0x0455:
|
||||
case 0x0456:
|
||||
case 0x0457:
|
||||
case 0x0458:
|
||||
case 0x0459:
|
||||
case 0x045A:
|
||||
case 0x045B:
|
||||
case 0x045C:
|
||||
ch -= 0x0360;
|
||||
break;
|
||||
case 0x045E: ch = 0xFE; break;
|
||||
case 0x045F: ch = 0xFF; break;
|
||||
case 0x2116: ch = 0xF0; break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
}; // class CP28595
|
||||
|
||||
public class ENCiso_8859_5 : CP28595
|
||||
{
|
||||
public ENCiso_8859_5() : base() {}
|
||||
|
||||
}; // class ENCiso_8859_5
|
||||
|
||||
}; // namespace I18N.Other
|
||||
@@ -0,0 +1,496 @@
|
||||
/*
|
||||
* CP57002.cs - ISCII code pages 57002-57011.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
namespace I18N.Other
|
||||
{
|
||||
|
||||
using System;
|
||||
using System.Text;
|
||||
using I18N.Common;
|
||||
|
||||
// This class provides an abstract base for the ISCII encodings,
|
||||
// which all have a similar pattern. Code points 0x00-0x7F are
|
||||
// the standard ASCII character set, and code points 0x80-0xFF
|
||||
// are a shifted version of the Unicode character set, starting
|
||||
// at a fixed offset.
|
||||
|
||||
public abstract class ISCIIEncoding : Encoding
|
||||
{
|
||||
// Internal state.
|
||||
protected int shift;
|
||||
protected String encodingName;
|
||||
protected String webName;
|
||||
|
||||
// Constructor.
|
||||
protected ISCIIEncoding(int codePage, int shift,
|
||||
String encodingName, String webName)
|
||||
: base(codePage)
|
||||
{
|
||||
this.shift = shift;
|
||||
this.encodingName = encodingName;
|
||||
this.webName = webName;
|
||||
}
|
||||
|
||||
// Get the number of bytes needed to encode a character buffer.
|
||||
public override int GetByteCount(char[] chars, int index, int count)
|
||||
{
|
||||
if(chars == null)
|
||||
{
|
||||
throw new ArgumentNullException("chars");
|
||||
}
|
||||
if(index < 0 || index > chars.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("index", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(count < 0 || count > (chars.Length - index))
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("count", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
return count;
|
||||
}
|
||||
|
||||
// Convenience wrappers for "GetByteCount".
|
||||
public override int GetByteCount(String s)
|
||||
{
|
||||
if(s == null)
|
||||
{
|
||||
throw new ArgumentNullException("s");
|
||||
}
|
||||
return s.Length;
|
||||
}
|
||||
|
||||
// Get the bytes that result from encoding a character buffer.
|
||||
public override int GetBytes(char[] chars, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
if(chars == null)
|
||||
{
|
||||
throw new ArgumentNullException("chars");
|
||||
}
|
||||
if(bytes == null)
|
||||
{
|
||||
throw new ArgumentNullException("bytes");
|
||||
}
|
||||
if(charIndex < 0 || charIndex > chars.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("charIndex", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(charCount < 0 || charCount > (chars.Length - charIndex))
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("charCount", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(byteIndex < 0 || byteIndex > bytes.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("byteIndex", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if((bytes.Length - byteIndex) < charCount)
|
||||
{
|
||||
throw new ArgumentException
|
||||
(Strings.GetString("Arg_InsufficientSpace"), "bytes");
|
||||
}
|
||||
|
||||
// Convert the characters into bytes.
|
||||
char ch;
|
||||
int posn = byteIndex;
|
||||
char first = (char)shift;
|
||||
char last = (char)(shift + 0x7F);
|
||||
while(charCount-- > 0)
|
||||
{
|
||||
ch = chars[charIndex++];
|
||||
if(ch < (char)0x0080)
|
||||
{
|
||||
// Regular ASCII subset.
|
||||
bytes[posn++] = (byte)ch;
|
||||
}
|
||||
else if(ch >= first && ch <= last)
|
||||
{
|
||||
// ISCII range that we need to shift.
|
||||
bytes[posn++] = (byte)(ch - first + 0x80);
|
||||
}
|
||||
else if(ch >= '\uFF01' && ch <= '\uFF5E')
|
||||
{
|
||||
// ASCII full-width characters.
|
||||
bytes[posn++] = (byte)(ch - 0xFEE0);
|
||||
}
|
||||
else
|
||||
{
|
||||
bytes[posn++] = (byte)'?';
|
||||
}
|
||||
}
|
||||
|
||||
// Return the final length of the output.
|
||||
return posn - byteIndex;
|
||||
}
|
||||
|
||||
// Convenience wrappers for "GetBytes".
|
||||
public override int GetBytes(String s, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
// Validate the parameters.
|
||||
if(s == null)
|
||||
{
|
||||
throw new ArgumentNullException("s");
|
||||
}
|
||||
if(bytes == null)
|
||||
{
|
||||
throw new ArgumentNullException("bytes");
|
||||
}
|
||||
if(charIndex < 0 || charIndex > s.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("charIndex",
|
||||
Strings.GetString("ArgRange_StringIndex"));
|
||||
}
|
||||
if(charCount < 0 || charCount > (s.Length - charIndex))
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("charCount",
|
||||
Strings.GetString("ArgRange_StringRange"));
|
||||
}
|
||||
if(byteIndex < 0 || byteIndex > bytes.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("byteIndex",
|
||||
Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if((bytes.Length - byteIndex) < charCount)
|
||||
{
|
||||
throw new ArgumentException
|
||||
(Strings.GetString("Arg_InsufficientSpace"), "bytes");
|
||||
}
|
||||
|
||||
// Convert the characters into bytes.
|
||||
char ch;
|
||||
int posn = byteIndex;
|
||||
char first = (char)shift;
|
||||
char last = (char)(shift + 0x7F);
|
||||
while(charCount-- > 0)
|
||||
{
|
||||
ch = s[charIndex++];
|
||||
if(ch < (char)0x0080)
|
||||
{
|
||||
// Regular ASCII subset.
|
||||
bytes[posn++] = (byte)ch;
|
||||
}
|
||||
else if(ch >= first && ch <= last)
|
||||
{
|
||||
// ISCII range that we need to shift.
|
||||
bytes[posn++] = (byte)(ch - first + 0x80);
|
||||
}
|
||||
else if(ch >= '\uFF01' && ch <= '\uFF5E')
|
||||
{
|
||||
// ASCII full-width characters.
|
||||
bytes[posn++] = (byte)(ch - 0xFEE0);
|
||||
}
|
||||
else
|
||||
{
|
||||
bytes[posn++] = (byte)'?';
|
||||
}
|
||||
}
|
||||
|
||||
// Return the final length of the output.
|
||||
return posn - byteIndex;
|
||||
}
|
||||
|
||||
// Get the number of characters needed to decode a byte buffer.
|
||||
public override int GetCharCount(byte[] bytes, int index, int count)
|
||||
{
|
||||
if(bytes == null)
|
||||
{
|
||||
throw new ArgumentNullException("bytes");
|
||||
}
|
||||
if(index < 0 || index > bytes.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("index", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(count < 0 || count > (bytes.Length - index))
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("count", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
return count;
|
||||
}
|
||||
|
||||
// Get the characters that result from decoding a byte buffer.
|
||||
public override int GetChars(byte[] bytes, int byteIndex, int byteCount,
|
||||
char[] chars, int charIndex)
|
||||
{
|
||||
// Validate the parameters.
|
||||
if(bytes == null)
|
||||
{
|
||||
throw new ArgumentNullException("bytes");
|
||||
}
|
||||
if(chars == null)
|
||||
{
|
||||
throw new ArgumentNullException("chars");
|
||||
}
|
||||
if(byteIndex < 0 || byteIndex > bytes.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("byteIndex", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(byteCount < 0 || byteCount > (bytes.Length - byteIndex))
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("byteCount", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if(charIndex < 0 || charIndex > chars.Length)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("charIndex", Strings.GetString("ArgRange_Array"));
|
||||
}
|
||||
if((chars.Length - charIndex) < byteCount)
|
||||
{
|
||||
throw new ArgumentException
|
||||
(Strings.GetString("Arg_InsufficientSpace"), "chars");
|
||||
}
|
||||
|
||||
// Convert the bytes into characters.
|
||||
int count = byteCount;
|
||||
int byteval;
|
||||
int shift = this.shift - 0x80;
|
||||
while(count-- > 0)
|
||||
{
|
||||
byteval = (int)(bytes[byteIndex++]);
|
||||
if(byteval < 0x80)
|
||||
{
|
||||
// Ordinary ASCII character.
|
||||
chars[charIndex++] = (char)byteval;
|
||||
}
|
||||
else
|
||||
{
|
||||
// Shift the ISCII character into the Unicode page.
|
||||
chars[charIndex++] = (char)(byteval + shift);
|
||||
}
|
||||
}
|
||||
return byteCount;
|
||||
}
|
||||
|
||||
// Get the maximum number of bytes needed to encode a
|
||||
// specified number of characters.
|
||||
public override int GetMaxByteCount(int charCount)
|
||||
{
|
||||
if(charCount < 0)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("charCount",
|
||||
Strings.GetString("ArgRange_NonNegative"));
|
||||
}
|
||||
return charCount;
|
||||
}
|
||||
|
||||
// Get the maximum number of characters needed to decode a
|
||||
// specified number of bytes.
|
||||
public override int GetMaxCharCount(int byteCount)
|
||||
{
|
||||
if(byteCount < 0)
|
||||
{
|
||||
throw new ArgumentOutOfRangeException
|
||||
("byteCount",
|
||||
Strings.GetString("ArgRange_NonNegative"));
|
||||
}
|
||||
return byteCount;
|
||||
}
|
||||
|
||||
#if !ECMA_COMPAT
|
||||
|
||||
// Get the mail body name for this encoding.
|
||||
public override String BodyName
|
||||
{
|
||||
get
|
||||
{
|
||||
return webName;
|
||||
}
|
||||
}
|
||||
|
||||
// Get the human-readable name for this encoding.
|
||||
public override String EncodingName
|
||||
{
|
||||
get
|
||||
{
|
||||
return encodingName;
|
||||
}
|
||||
}
|
||||
|
||||
// Get the mail agent header name for this encoding.
|
||||
public override String HeaderName
|
||||
{
|
||||
get
|
||||
{
|
||||
return webName;
|
||||
}
|
||||
}
|
||||
|
||||
// Get the IANA-preferred Web name for this encoding.
|
||||
public override String WebName
|
||||
{
|
||||
get
|
||||
{
|
||||
return webName;
|
||||
}
|
||||
}
|
||||
|
||||
#endif // !ECMA_COMPAT
|
||||
|
||||
}; // class ISCIIEncoding
|
||||
|
||||
// Define the ISCII code pages as subclasses of "ISCIIEncoding".
|
||||
|
||||
public class CP57002 : ISCIIEncoding
|
||||
{
|
||||
public CP57002() : base(57002, 0x0900, "ISCII Devanagari", "x-iscii-de") {}
|
||||
|
||||
}; // class CP57002
|
||||
|
||||
public class CP57003 : ISCIIEncoding
|
||||
{
|
||||
public CP57003() : base(57003, 0x0980, "ISCII Bengali", "x-iscii-be") {}
|
||||
|
||||
}; // class CP57003
|
||||
|
||||
public class CP57004 : ISCIIEncoding
|
||||
{
|
||||
public CP57004() : base(57004, 0x0B80, "ISCII Tamil", "x-iscii-ta") {}
|
||||
|
||||
}; // class CP57004
|
||||
|
||||
public class CP57005 : ISCIIEncoding
|
||||
{
|
||||
public CP57005() : base(57005, 0x0B80, "ISCII Telugu", "x-iscii-te") {}
|
||||
|
||||
}; // class CP57005
|
||||
|
||||
public class CP57006 : ISCIIEncoding
|
||||
{
|
||||
// Note: Unicode has a "Sinhala" page, but no "Assamese" page.
|
||||
// Until I hear otherwise, I will assume that they are the same
|
||||
// thing with different names - Rhys Weatherley, 16 April 2002.
|
||||
public CP57006() : base(57006, 0x0D80, "ISCII Assamese", "x-iscii-as") {}
|
||||
|
||||
}; // class CP57006
|
||||
|
||||
public class CP57007 : ISCIIEncoding
|
||||
{
|
||||
public CP57007() : base(57007, 0x0B00, "ISCII Oriya", "x-iscii-or") {}
|
||||
|
||||
}; // class CP57007
|
||||
|
||||
public class CP57008 : ISCIIEncoding
|
||||
{
|
||||
public CP57008() : base(57008, 0x0C80, "ISCII Kannada", "x-iscii-ka") {}
|
||||
|
||||
}; // class CP57008
|
||||
|
||||
public class CP57009 : ISCIIEncoding
|
||||
{
|
||||
public CP57009() : base(57009, 0x0D00, "ISCII Malayalam", "x-iscii-ma") {}
|
||||
|
||||
}; // class CP57009
|
||||
|
||||
public class CP57010 : ISCIIEncoding
|
||||
{
|
||||
public CP57010() : base(57010, 0x0A80, "ISCII Gujarati", "x-iscii-gu") {}
|
||||
|
||||
}; // class CP57010
|
||||
|
||||
public class CP57011 : ISCIIEncoding
|
||||
{
|
||||
// Note: Unicode has a "Gurmukhi" page, but no "Punjabi" page.
|
||||
// Other ISCII-related information on the Internet seems to
|
||||
// indicate that they are the same. Until I hear otherwise,
|
||||
// I will assume that they are the same thing with different
|
||||
// names - Rhys Weatherley, 16 April 2002.
|
||||
public CP57011() : base(57011, 0x0A00, "ISCII Punjabi", "x-iscii-pa") {}
|
||||
|
||||
}; // class CP57011
|
||||
|
||||
// Define the web encoding name aliases for the above code pages.
|
||||
|
||||
public class ENCx_iscii_de : CP57002
|
||||
{
|
||||
public ENCx_iscii_de() : base() {}
|
||||
|
||||
}; // class ENCx_iscii_de
|
||||
|
||||
public class ENCx_iscii_be : CP57003
|
||||
{
|
||||
public ENCx_iscii_be() : base() {}
|
||||
|
||||
}; // class ENCx_iscii_be
|
||||
|
||||
public class ENCx_iscii_ta : CP57004
|
||||
{
|
||||
public ENCx_iscii_ta() : base() {}
|
||||
|
||||
}; // class ENCx_iscii_ta
|
||||
|
||||
public class ENCx_iscii_te : CP57005
|
||||
{
|
||||
public ENCx_iscii_te() : base() {}
|
||||
|
||||
}; // class ENCx_iscii_te
|
||||
|
||||
public class ENCx_iscii_as : CP57006
|
||||
{
|
||||
public ENCx_iscii_as() : base() {}
|
||||
|
||||
}; // class ENCx_iscii_as
|
||||
|
||||
public class ENCx_iscii_or : CP57007
|
||||
{
|
||||
public ENCx_iscii_or() : base() {}
|
||||
|
||||
}; // class ENCx_iscii_or
|
||||
|
||||
public class ENCx_iscii_ka : CP57008
|
||||
{
|
||||
public ENCx_iscii_ka() : base() {}
|
||||
|
||||
}; // class ENCx_iscii_ka
|
||||
|
||||
public class ENCx_iscii_ma : CP57009
|
||||
{
|
||||
public ENCx_iscii_ma() : base() {}
|
||||
|
||||
}; // class ENCx_iscii_ma
|
||||
|
||||
public class ENCx_iscii_gu : CP57010
|
||||
{
|
||||
public ENCx_iscii_gu() : base() {}
|
||||
|
||||
}; // class ENCx_iscii_gu
|
||||
|
||||
public class ENCx_iscii_pa : CP57011
|
||||
{
|
||||
public ENCx_iscii_pa() : base() {}
|
||||
|
||||
}; // class ENCx_iscii_pa
|
||||
|
||||
}; // namespace I18N.Other
|
||||
@@ -0,0 +1,537 @@
|
||||
/*
|
||||
* CP874.cs - Thai (Windows) code page.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// Generated from "ibm-874.ucm".
|
||||
|
||||
namespace I18N.Other
|
||||
{
|
||||
|
||||
using System;
|
||||
using I18N.Common;
|
||||
|
||||
public class CP874 : ByteEncoding
|
||||
{
|
||||
public CP874()
|
||||
: base(874, ToChars, "Thai (Windows)",
|
||||
"windows-874", "windows-874", "windows-874",
|
||||
true, true, true, true, 874)
|
||||
{}
|
||||
|
||||
private static readonly char[] ToChars = {
|
||||
'\u0000', '\u0001', '\u0002', '\u0003', '\u0004', '\u0005',
|
||||
'\u0006', '\u0007', '\u0008', '\u0009', '\u000A', '\u000B',
|
||||
'\u000C', '\u000D', '\u000E', '\u000F', '\u0010', '\u0011',
|
||||
'\u0012', '\u0013', '\u0014', '\u0015', '\u0016', '\u0017',
|
||||
'\u0018', '\u0019', '\u001C', '\u001B', '\u007F', '\u001D',
|
||||
'\u001E', '\u001F', '\u0020', '\u0021', '\u0022', '\u0023',
|
||||
'\u0024', '\u0025', '\u0026', '\u0027', '\u0028', '\u0029',
|
||||
'\u002A', '\u002B', '\u002C', '\u002D', '\u002E', '\u002F',
|
||||
'\u0030', '\u0031', '\u0032', '\u0033', '\u0034', '\u0035',
|
||||
'\u0036', '\u0037', '\u0038', '\u0039', '\u003A', '\u003B',
|
||||
'\u003C', '\u003D', '\u003E', '\u003F', '\u0040', '\u0041',
|
||||
'\u0042', '\u0043', '\u0044', '\u0045', '\u0046', '\u0047',
|
||||
'\u0048', '\u0049', '\u004A', '\u004B', '\u004C', '\u004D',
|
||||
'\u004E', '\u004F', '\u0050', '\u0051', '\u0052', '\u0053',
|
||||
'\u0054', '\u0055', '\u0056', '\u0057', '\u0058', '\u0059',
|
||||
'\u005A', '\u005B', '\u005C', '\u005D', '\u005E', '\u005F',
|
||||
'\u0060', '\u0061', '\u0062', '\u0063', '\u0064', '\u0065',
|
||||
'\u0066', '\u0067', '\u0068', '\u0069', '\u006A', '\u006B',
|
||||
'\u006C', '\u006D', '\u006E', '\u006F', '\u0070', '\u0071',
|
||||
'\u0072', '\u0073', '\u0074', '\u0075', '\u0076', '\u0077',
|
||||
'\u0078', '\u0079', '\u007A', '\u007B', '\u007C', '\u007D',
|
||||
'\u007E', '\u001A', '\u003F', '\u003F', '\u003F', '\u003F',
|
||||
'\u003F', '\u003F', '\u003F', '\u003F', '\u003F', '\u003F',
|
||||
'\u003F', '\u003F', '\u003F', '\u003F', '\u003F', '\u003F',
|
||||
'\u003F', '\u003F', '\u003F', '\u003F', '\u003F', '\u003F',
|
||||
'\u003F', '\u003F', '\u003F', '\u003F', '\u003F', '\u003F',
|
||||
'\u003F', '\u003F', '\u003F', '\u003F', '\u0E48', '\u0E01',
|
||||
'\u0E02', '\u0E03', '\u0E04', '\u0E05', '\u0E06', '\u0E07',
|
||||
'\u0E08', '\u0E09', '\u0E0A', '\u0E0B', '\u0E0C', '\u0E0D',
|
||||
'\u0E0E', '\u0E0F', '\u0E10', '\u0E11', '\u0E12', '\u0E13',
|
||||
'\u0E14', '\u0E15', '\u0E16', '\u0E17', '\u0E18', '\u0E19',
|
||||
'\u0E1A', '\u0E1B', '\u0E1C', '\u0E1D', '\u0E1E', '\u0E1F',
|
||||
'\u0E20', '\u0E21', '\u0E22', '\u0E23', '\u0E24', '\u0E25',
|
||||
'\u0E26', '\u0E27', '\u0E28', '\u0E29', '\u0E2A', '\u0E2B',
|
||||
'\u0E2C', '\u0E2D', '\u0E2E', '\u0E2F', '\u0E30', '\u0E31',
|
||||
'\u0E32', '\u0E33', '\u0E34', '\u0E35', '\u0E36', '\u0E37',
|
||||
'\u0E38', '\u0E39', '\u0E3A', '\u0E49', '\u0E4A', '\u0E4B',
|
||||
'\u0E4C', '\u0E3F', '\u0E40', '\u0E41', '\u0E42', '\u0E43',
|
||||
'\u0E44', '\u0E45', '\u0E46', '\u0E47', '\u0E48', '\u0E49',
|
||||
'\u0E4A', '\u0E4B', '\u0E4C', '\u0E4D', '\u0E4E', '\u0E4F',
|
||||
'\u0E50', '\u0E51', '\u0E52', '\u0E53', '\u0E54', '\u0E55',
|
||||
'\u0E56', '\u0E57', '\u0E58', '\u0E59', '\u0E5A', '\u0E5B',
|
||||
'\u00A2', '\u00AC', '\u00A6', '\u00A0',
|
||||
};
|
||||
|
||||
protected override void ToBytes(char[] chars, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(chars[charIndex++]);
|
||||
if(ch >= 26) switch(ch)
|
||||
{
|
||||
case 0x001B:
|
||||
case 0x001D:
|
||||
case 0x001E:
|
||||
case 0x001F:
|
||||
case 0x0020:
|
||||
case 0x0021:
|
||||
case 0x0022:
|
||||
case 0x0023:
|
||||
case 0x0024:
|
||||
case 0x0025:
|
||||
case 0x0026:
|
||||
case 0x0027:
|
||||
case 0x0028:
|
||||
case 0x0029:
|
||||
case 0x002A:
|
||||
case 0x002B:
|
||||
case 0x002C:
|
||||
case 0x002D:
|
||||
case 0x002E:
|
||||
case 0x002F:
|
||||
case 0x0030:
|
||||
case 0x0031:
|
||||
case 0x0032:
|
||||
case 0x0033:
|
||||
case 0x0034:
|
||||
case 0x0035:
|
||||
case 0x0036:
|
||||
case 0x0037:
|
||||
case 0x0038:
|
||||
case 0x0039:
|
||||
case 0x003A:
|
||||
case 0x003B:
|
||||
case 0x003C:
|
||||
case 0x003D:
|
||||
case 0x003E:
|
||||
case 0x003F:
|
||||
case 0x0040:
|
||||
case 0x0041:
|
||||
case 0x0042:
|
||||
case 0x0043:
|
||||
case 0x0044:
|
||||
case 0x0045:
|
||||
case 0x0046:
|
||||
case 0x0047:
|
||||
case 0x0048:
|
||||
case 0x0049:
|
||||
case 0x004A:
|
||||
case 0x004B:
|
||||
case 0x004C:
|
||||
case 0x004D:
|
||||
case 0x004E:
|
||||
case 0x004F:
|
||||
case 0x0050:
|
||||
case 0x0051:
|
||||
case 0x0052:
|
||||
case 0x0053:
|
||||
case 0x0054:
|
||||
case 0x0055:
|
||||
case 0x0056:
|
||||
case 0x0057:
|
||||
case 0x0058:
|
||||
case 0x0059:
|
||||
case 0x005A:
|
||||
case 0x005B:
|
||||
case 0x005C:
|
||||
case 0x005D:
|
||||
case 0x005E:
|
||||
case 0x005F:
|
||||
case 0x0060:
|
||||
case 0x0061:
|
||||
case 0x0062:
|
||||
case 0x0063:
|
||||
case 0x0064:
|
||||
case 0x0065:
|
||||
case 0x0066:
|
||||
case 0x0067:
|
||||
case 0x0068:
|
||||
case 0x0069:
|
||||
case 0x006A:
|
||||
case 0x006B:
|
||||
case 0x006C:
|
||||
case 0x006D:
|
||||
case 0x006E:
|
||||
case 0x006F:
|
||||
case 0x0070:
|
||||
case 0x0071:
|
||||
case 0x0072:
|
||||
case 0x0073:
|
||||
case 0x0074:
|
||||
case 0x0075:
|
||||
case 0x0076:
|
||||
case 0x0077:
|
||||
case 0x0078:
|
||||
case 0x0079:
|
||||
case 0x007A:
|
||||
case 0x007B:
|
||||
case 0x007C:
|
||||
case 0x007D:
|
||||
case 0x007E:
|
||||
break;
|
||||
case 0x001A: ch = 0x7F; break;
|
||||
case 0x001C: ch = 0x1A; break;
|
||||
case 0x007F: ch = 0x1C; break;
|
||||
case 0x00A0: ch = 0xFF; break;
|
||||
case 0x00A2: ch = 0xFC; break;
|
||||
case 0x00A6: ch = 0xFE; break;
|
||||
case 0x00AC: ch = 0xFD; break;
|
||||
case 0x0E01:
|
||||
case 0x0E02:
|
||||
case 0x0E03:
|
||||
case 0x0E04:
|
||||
case 0x0E05:
|
||||
case 0x0E06:
|
||||
case 0x0E07:
|
||||
case 0x0E08:
|
||||
case 0x0E09:
|
||||
case 0x0E0A:
|
||||
case 0x0E0B:
|
||||
case 0x0E0C:
|
||||
case 0x0E0D:
|
||||
case 0x0E0E:
|
||||
case 0x0E0F:
|
||||
case 0x0E10:
|
||||
case 0x0E11:
|
||||
case 0x0E12:
|
||||
case 0x0E13:
|
||||
case 0x0E14:
|
||||
case 0x0E15:
|
||||
case 0x0E16:
|
||||
case 0x0E17:
|
||||
case 0x0E18:
|
||||
case 0x0E19:
|
||||
case 0x0E1A:
|
||||
case 0x0E1B:
|
||||
case 0x0E1C:
|
||||
case 0x0E1D:
|
||||
case 0x0E1E:
|
||||
case 0x0E1F:
|
||||
case 0x0E20:
|
||||
case 0x0E21:
|
||||
case 0x0E22:
|
||||
case 0x0E23:
|
||||
case 0x0E24:
|
||||
case 0x0E25:
|
||||
case 0x0E26:
|
||||
case 0x0E27:
|
||||
case 0x0E28:
|
||||
case 0x0E29:
|
||||
case 0x0E2A:
|
||||
case 0x0E2B:
|
||||
case 0x0E2C:
|
||||
case 0x0E2D:
|
||||
case 0x0E2E:
|
||||
case 0x0E2F:
|
||||
case 0x0E30:
|
||||
case 0x0E31:
|
||||
case 0x0E32:
|
||||
case 0x0E33:
|
||||
case 0x0E34:
|
||||
case 0x0E35:
|
||||
case 0x0E36:
|
||||
case 0x0E37:
|
||||
case 0x0E38:
|
||||
case 0x0E39:
|
||||
case 0x0E3A:
|
||||
ch -= 0x0D60;
|
||||
break;
|
||||
case 0x0E3F:
|
||||
case 0x0E40:
|
||||
case 0x0E41:
|
||||
case 0x0E42:
|
||||
case 0x0E43:
|
||||
case 0x0E44:
|
||||
case 0x0E45:
|
||||
case 0x0E46:
|
||||
case 0x0E47:
|
||||
case 0x0E48:
|
||||
case 0x0E49:
|
||||
case 0x0E4A:
|
||||
case 0x0E4B:
|
||||
case 0x0E4C:
|
||||
case 0x0E4D:
|
||||
case 0x0E4E:
|
||||
case 0x0E4F:
|
||||
case 0x0E50:
|
||||
case 0x0E51:
|
||||
case 0x0E52:
|
||||
case 0x0E53:
|
||||
case 0x0E54:
|
||||
case 0x0E55:
|
||||
case 0x0E56:
|
||||
case 0x0E57:
|
||||
case 0x0E58:
|
||||
case 0x0E59:
|
||||
case 0x0E5A:
|
||||
case 0x0E5B:
|
||||
ch -= 0x0D60;
|
||||
break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ToBytes(String s, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(s[charIndex++]);
|
||||
if(ch >= 26) switch(ch)
|
||||
{
|
||||
case 0x001B:
|
||||
case 0x001D:
|
||||
case 0x001E:
|
||||
case 0x001F:
|
||||
case 0x0020:
|
||||
case 0x0021:
|
||||
case 0x0022:
|
||||
case 0x0023:
|
||||
case 0x0024:
|
||||
case 0x0025:
|
||||
case 0x0026:
|
||||
case 0x0027:
|
||||
case 0x0028:
|
||||
case 0x0029:
|
||||
case 0x002A:
|
||||
case 0x002B:
|
||||
case 0x002C:
|
||||
case 0x002D:
|
||||
case 0x002E:
|
||||
case 0x002F:
|
||||
case 0x0030:
|
||||
case 0x0031:
|
||||
case 0x0032:
|
||||
case 0x0033:
|
||||
case 0x0034:
|
||||
case 0x0035:
|
||||
case 0x0036:
|
||||
case 0x0037:
|
||||
case 0x0038:
|
||||
case 0x0039:
|
||||
case 0x003A:
|
||||
case 0x003B:
|
||||
case 0x003C:
|
||||
case 0x003D:
|
||||
case 0x003E:
|
||||
case 0x003F:
|
||||
case 0x0040:
|
||||
case 0x0041:
|
||||
case 0x0042:
|
||||
case 0x0043:
|
||||
case 0x0044:
|
||||
case 0x0045:
|
||||
case 0x0046:
|
||||
case 0x0047:
|
||||
case 0x0048:
|
||||
case 0x0049:
|
||||
case 0x004A:
|
||||
case 0x004B:
|
||||
case 0x004C:
|
||||
case 0x004D:
|
||||
case 0x004E:
|
||||
case 0x004F:
|
||||
case 0x0050:
|
||||
case 0x0051:
|
||||
case 0x0052:
|
||||
case 0x0053:
|
||||
case 0x0054:
|
||||
case 0x0055:
|
||||
case 0x0056:
|
||||
case 0x0057:
|
||||
case 0x0058:
|
||||
case 0x0059:
|
||||
case 0x005A:
|
||||
case 0x005B:
|
||||
case 0x005C:
|
||||
case 0x005D:
|
||||
case 0x005E:
|
||||
case 0x005F:
|
||||
case 0x0060:
|
||||
case 0x0061:
|
||||
case 0x0062:
|
||||
case 0x0063:
|
||||
case 0x0064:
|
||||
case 0x0065:
|
||||
case 0x0066:
|
||||
case 0x0067:
|
||||
case 0x0068:
|
||||
case 0x0069:
|
||||
case 0x006A:
|
||||
case 0x006B:
|
||||
case 0x006C:
|
||||
case 0x006D:
|
||||
case 0x006E:
|
||||
case 0x006F:
|
||||
case 0x0070:
|
||||
case 0x0071:
|
||||
case 0x0072:
|
||||
case 0x0073:
|
||||
case 0x0074:
|
||||
case 0x0075:
|
||||
case 0x0076:
|
||||
case 0x0077:
|
||||
case 0x0078:
|
||||
case 0x0079:
|
||||
case 0x007A:
|
||||
case 0x007B:
|
||||
case 0x007C:
|
||||
case 0x007D:
|
||||
case 0x007E:
|
||||
break;
|
||||
case 0x001A: ch = 0x7F; break;
|
||||
case 0x001C: ch = 0x1A; break;
|
||||
case 0x007F: ch = 0x1C; break;
|
||||
case 0x00A0: ch = 0xFF; break;
|
||||
case 0x00A2: ch = 0xFC; break;
|
||||
case 0x00A6: ch = 0xFE; break;
|
||||
case 0x00AC: ch = 0xFD; break;
|
||||
case 0x0E01:
|
||||
case 0x0E02:
|
||||
case 0x0E03:
|
||||
case 0x0E04:
|
||||
case 0x0E05:
|
||||
case 0x0E06:
|
||||
case 0x0E07:
|
||||
case 0x0E08:
|
||||
case 0x0E09:
|
||||
case 0x0E0A:
|
||||
case 0x0E0B:
|
||||
case 0x0E0C:
|
||||
case 0x0E0D:
|
||||
case 0x0E0E:
|
||||
case 0x0E0F:
|
||||
case 0x0E10:
|
||||
case 0x0E11:
|
||||
case 0x0E12:
|
||||
case 0x0E13:
|
||||
case 0x0E14:
|
||||
case 0x0E15:
|
||||
case 0x0E16:
|
||||
case 0x0E17:
|
||||
case 0x0E18:
|
||||
case 0x0E19:
|
||||
case 0x0E1A:
|
||||
case 0x0E1B:
|
||||
case 0x0E1C:
|
||||
case 0x0E1D:
|
||||
case 0x0E1E:
|
||||
case 0x0E1F:
|
||||
case 0x0E20:
|
||||
case 0x0E21:
|
||||
case 0x0E22:
|
||||
case 0x0E23:
|
||||
case 0x0E24:
|
||||
case 0x0E25:
|
||||
case 0x0E26:
|
||||
case 0x0E27:
|
||||
case 0x0E28:
|
||||
case 0x0E29:
|
||||
case 0x0E2A:
|
||||
case 0x0E2B:
|
||||
case 0x0E2C:
|
||||
case 0x0E2D:
|
||||
case 0x0E2E:
|
||||
case 0x0E2F:
|
||||
case 0x0E30:
|
||||
case 0x0E31:
|
||||
case 0x0E32:
|
||||
case 0x0E33:
|
||||
case 0x0E34:
|
||||
case 0x0E35:
|
||||
case 0x0E36:
|
||||
case 0x0E37:
|
||||
case 0x0E38:
|
||||
case 0x0E39:
|
||||
case 0x0E3A:
|
||||
ch -= 0x0D60;
|
||||
break;
|
||||
case 0x0E3F:
|
||||
case 0x0E40:
|
||||
case 0x0E41:
|
||||
case 0x0E42:
|
||||
case 0x0E43:
|
||||
case 0x0E44:
|
||||
case 0x0E45:
|
||||
case 0x0E46:
|
||||
case 0x0E47:
|
||||
case 0x0E48:
|
||||
case 0x0E49:
|
||||
case 0x0E4A:
|
||||
case 0x0E4B:
|
||||
case 0x0E4C:
|
||||
case 0x0E4D:
|
||||
case 0x0E4E:
|
||||
case 0x0E4F:
|
||||
case 0x0E50:
|
||||
case 0x0E51:
|
||||
case 0x0E52:
|
||||
case 0x0E53:
|
||||
case 0x0E54:
|
||||
case 0x0E55:
|
||||
case 0x0E56:
|
||||
case 0x0E57:
|
||||
case 0x0E58:
|
||||
case 0x0E59:
|
||||
case 0x0E5A:
|
||||
case 0x0E5B:
|
||||
ch -= 0x0D60;
|
||||
break;
|
||||
default:
|
||||
{
|
||||
if(ch >= 0xFF01 && ch <= 0xFF5E)
|
||||
ch -= 0xFEE0;
|
||||
else
|
||||
ch = 0x3F;
|
||||
}
|
||||
break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
}; // class CP874
|
||||
|
||||
public class ENCwindows_874 : CP874
|
||||
{
|
||||
public ENCwindows_874() : base() {}
|
||||
|
||||
}; // class ENCwindows_874
|
||||
|
||||
}; // namespace I18N.Other
|
||||
@@ -0,0 +1,377 @@
|
||||
# *******************************************************************************
|
||||
# *
|
||||
# * Copyright (C) 1998-2000, International Business Machines
|
||||
# * Corporation and others. All Rights Reserved.
|
||||
# *
|
||||
# *******************************************************************************
|
||||
#
|
||||
# File created on Mon Nov 13 08:50:44 2000
|
||||
#
|
||||
# File created by dtcocm version 3.00
|
||||
# from source files 44B014E3.RPMAP100 and 14E344B0.TPMAP100
|
||||
#
|
||||
# Table Version : 1.01
|
||||
#
|
||||
<code_set_name> "IBM-5347"
|
||||
<char_name_mask> "AXXXX"
|
||||
<mb_cur_max> 1
|
||||
<mb_cur_min> 1
|
||||
<uconv_class> "SBCS"
|
||||
<subchar> \x1A
|
||||
#
|
||||
CHARMAP
|
||||
#
|
||||
#
|
||||
#ISO 10646 IBM-5347
|
||||
#_________ _________
|
||||
<U0000> \x00 |0
|
||||
<U0001> \x01 |0
|
||||
<U0002> \x02 |0
|
||||
<U0003> \x03 |0
|
||||
<U0004> \x04 |0
|
||||
<U0005> \x05 |0
|
||||
<U0006> \x06 |0
|
||||
<U0007> \x07 |0
|
||||
<U0008> \x08 |0
|
||||
<U0009> \x09 |0
|
||||
<U000A> \x0A |0
|
||||
<U000B> \x0B |0
|
||||
<U000C> \x0C |0
|
||||
<U000D> \x0D |0
|
||||
<U000E> \x0E |0
|
||||
<U000F> \x0F |0
|
||||
<U0010> \x10 |0
|
||||
<U0011> \x11 |0
|
||||
<U0012> \x12 |0
|
||||
<U0013> \x13 |0
|
||||
<U0014> \x14 |0
|
||||
<U0015> \x15 |0
|
||||
<U0016> \x16 |0
|
||||
<U0017> \x17 |0
|
||||
<U0018> \x18 |0
|
||||
<U0019> \x19 |0
|
||||
<U001A> \x1A |0
|
||||
<U001B> \x1B |0
|
||||
<U001C> \x1C |0
|
||||
<U001D> \x1D |0
|
||||
<U001E> \x1E |0
|
||||
<U001F> \x1F |0
|
||||
<U0020> \x20 |0
|
||||
<U0021> \x21 |0
|
||||
<U0022> \x22 |0
|
||||
<U0023> \x23 |0
|
||||
<U0024> \x24 |0
|
||||
<U0025> \x25 |0
|
||||
<U0026> \x26 |0
|
||||
<U0027> \x27 |0
|
||||
<U0028> \x28 |0
|
||||
<U0029> \x29 |0
|
||||
<U002A> \x2A |0
|
||||
<U002B> \x2B |0
|
||||
<U002C> \x2C |0
|
||||
<U002D> \x2D |0
|
||||
<U002E> \x2E |0
|
||||
<U002F> \x2F |0
|
||||
<U0030> \x30 |0
|
||||
<U0031> \x31 |0
|
||||
<U0032> \x32 |0
|
||||
<U0033> \x33 |0
|
||||
<U0034> \x34 |0
|
||||
<U0035> \x35 |0
|
||||
<U0036> \x36 |0
|
||||
<U0037> \x37 |0
|
||||
<U0038> \x38 |0
|
||||
<U0039> \x39 |0
|
||||
<U003A> \x3A |0
|
||||
<U003B> \x3B |0
|
||||
<U003C> \x3C |0
|
||||
<U003D> \x3D |0
|
||||
<U003E> \x3E |0
|
||||
<U003F> \x3F |0
|
||||
<U0040> \x40 |0
|
||||
<U0041> \x41 |0
|
||||
<U0042> \x42 |0
|
||||
<U0043> \x43 |0
|
||||
<U0044> \x44 |0
|
||||
<U0045> \x45 |0
|
||||
<U0046> \x46 |0
|
||||
<U0047> \x47 |0
|
||||
<U0048> \x48 |0
|
||||
<U0049> \x49 |0
|
||||
<U004A> \x4A |0
|
||||
<U004B> \x4B |0
|
||||
<U004C> \x4C |0
|
||||
<U004D> \x4D |0
|
||||
<U004E> \x4E |0
|
||||
<U004F> \x4F |0
|
||||
<U0050> \x50 |0
|
||||
<U0051> \x51 |0
|
||||
<U0052> \x52 |0
|
||||
<U0053> \x53 |0
|
||||
<U0054> \x54 |0
|
||||
<U0055> \x55 |0
|
||||
<U0056> \x56 |0
|
||||
<U0057> \x57 |0
|
||||
<U0058> \x58 |0
|
||||
<U0059> \x59 |0
|
||||
<U005A> \x5A |0
|
||||
<U005B> \x5B |0
|
||||
<U005C> \x5C |0
|
||||
<U005D> \x5D |0
|
||||
<U005E> \x5E |0
|
||||
<U005F> \x5F |0
|
||||
<U0060> \x60 |0
|
||||
<U0061> \x61 |0
|
||||
<U0062> \x62 |0
|
||||
<U0063> \x63 |0
|
||||
<U0064> \x64 |0
|
||||
<U0065> \x65 |0
|
||||
<U0066> \x66 |0
|
||||
<U0067> \x67 |0
|
||||
<U0068> \x68 |0
|
||||
<U0069> \x69 |0
|
||||
<U006A> \x6A |0
|
||||
<U006B> \x6B |0
|
||||
<U006C> \x6C |0
|
||||
<U006D> \x6D |0
|
||||
<U006E> \x6E |0
|
||||
<U006F> \x6F |0
|
||||
<U0070> \x70 |0
|
||||
<U0071> \x71 |0
|
||||
<U0072> \x72 |0
|
||||
<U0073> \x73 |0
|
||||
<U0074> \x74 |0
|
||||
<U0075> \x75 |0
|
||||
<U0076> \x76 |0
|
||||
<U0077> \x77 |0
|
||||
<U0078> \x78 |0
|
||||
<U0079> \x79 |0
|
||||
<U007A> \x7A |0
|
||||
<U007B> \x7B |0
|
||||
<U007C> \x7C |0
|
||||
<U007D> \x7D |0
|
||||
<U007E> \x7E |0
|
||||
<U007F> \x7F |0
|
||||
<U0098> \x98 |0
|
||||
<U00A0> \xA0 |0
|
||||
<U00A4> \xA4 |0
|
||||
<U00A6> \xA6 |0
|
||||
<U00A7> \xA7 |0
|
||||
<U00A9> \xA9 |0
|
||||
<U00AB> \xAB |0
|
||||
<U00AC> \xAC |0
|
||||
<U00AD> \xAD |0
|
||||
<U00AE> \xAE |0
|
||||
<U00B0> \xB0 |0
|
||||
<U00B1> \xB1 |0
|
||||
<U00B5> \xB5 |0
|
||||
<U00B6> \xB6 |0
|
||||
<U00B7> \xB7 |0
|
||||
<U00BB> \xBB |0
|
||||
<U0401> \xA8 |0
|
||||
<U0402> \x80 |0
|
||||
<U0403> \x81 |0
|
||||
<U0404> \xAA |0
|
||||
<U0405> \xBD |0
|
||||
<U0406> \xB2 |0
|
||||
<U0407> \xAF |0
|
||||
<U0408> \xA3 |0
|
||||
<U0409> \x8A |0
|
||||
<U040A> \x8C |0
|
||||
<U040B> \x8E |0
|
||||
<U040C> \x8D |0
|
||||
<U040E> \xA1 |0
|
||||
<U040F> \x8F |0
|
||||
<U0410> \xC0 |0
|
||||
<U0411> \xC1 |0
|
||||
<U0412> \xC2 |0
|
||||
<U0413> \xC3 |0
|
||||
<U0414> \xC4 |0
|
||||
<U0415> \xC5 |0
|
||||
<U0416> \xC6 |0
|
||||
<U0417> \xC7 |0
|
||||
<U0418> \xC8 |0
|
||||
<U0419> \xC9 |0
|
||||
<U041A> \xCA |0
|
||||
<U041B> \xCB |0
|
||||
<U041C> \xCC |0
|
||||
<U041D> \xCD |0
|
||||
<U041E> \xCE |0
|
||||
<U041F> \xCF |0
|
||||
<U0420> \xD0 |0
|
||||
<U0421> \xD1 |0
|
||||
<U0422> \xD2 |0
|
||||
<U0423> \xD3 |0
|
||||
<U0424> \xD4 |0
|
||||
<U0425> \xD5 |0
|
||||
<U0426> \xD6 |0
|
||||
<U0427> \xD7 |0
|
||||
<U0428> \xD8 |0
|
||||
<U0429> \xD9 |0
|
||||
<U042A> \xDA |0
|
||||
<U042B> \xDB |0
|
||||
<U042C> \xDC |0
|
||||
<U042D> \xDD |0
|
||||
<U042E> \xDE |0
|
||||
<U042F> \xDF |0
|
||||
<U0430> \xE0 |0
|
||||
<U0431> \xE1 |0
|
||||
<U0432> \xE2 |0
|
||||
<U0433> \xE3 |0
|
||||
<U0434> \xE4 |0
|
||||
<U0435> \xE5 |0
|
||||
<U0436> \xE6 |0
|
||||
<U0437> \xE7 |0
|
||||
<U0438> \xE8 |0
|
||||
<U0439> \xE9 |0
|
||||
<U043A> \xEA |0
|
||||
<U043B> \xEB |0
|
||||
<U043C> \xEC |0
|
||||
<U043D> \xED |0
|
||||
<U043E> \xEE |0
|
||||
<U043F> \xEF |0
|
||||
<U0440> \xF0 |0
|
||||
<U0441> \xF1 |0
|
||||
<U0442> \xF2 |0
|
||||
<U0443> \xF3 |0
|
||||
<U0444> \xF4 |0
|
||||
<U0445> \xF5 |0
|
||||
<U0446> \xF6 |0
|
||||
<U0447> \xF7 |0
|
||||
<U0448> \xF8 |0
|
||||
<U0449> \xF9 |0
|
||||
<U044A> \xFA |0
|
||||
<U044B> \xFB |0
|
||||
<U044C> \xFC |0
|
||||
<U044D> \xFD |0
|
||||
<U044E> \xFE |0
|
||||
<U044F> \xFF |0
|
||||
<U0451> \xB8 |0
|
||||
<U0452> \x90 |0
|
||||
<U0453> \x83 |0
|
||||
<U0454> \xBA |0
|
||||
<U0455> \xBE |0
|
||||
<U0456> \xB3 |0
|
||||
<U0457> \xBF |0
|
||||
<U0458> \xBC |0
|
||||
<U0459> \x9A |0
|
||||
<U045A> \x9C |0
|
||||
<U045B> \x9E |0
|
||||
<U045C> \x9D |0
|
||||
<U045E> \xA2 |0
|
||||
<U045F> \x9F |0
|
||||
<U0490> \xA5 |0
|
||||
<U0491> \xB4 |0
|
||||
<U2013> \x96 |0
|
||||
<U2014> \x97 |0
|
||||
<U2018> \x91 |0
|
||||
<U2019> \x92 |0
|
||||
<U201A> \x82 |0
|
||||
<U201C> \x93 |0
|
||||
<U201D> \x94 |0
|
||||
<U201E> \x84 |0
|
||||
<U2020> \x86 |0
|
||||
<U2021> \x87 |0
|
||||
<U2022> \x95 |0
|
||||
<U2026> \x85 |0
|
||||
<U2030> \x89 |0
|
||||
<U2039> \x8B |0
|
||||
<U203A> \x9B |0
|
||||
<U20AC> \x88 |0
|
||||
<U2116> \xB9 |0
|
||||
<U2122> \x99 |0
|
||||
<UFF01> \x21 |1
|
||||
<UFF02> \x22 |1
|
||||
<UFF03> \x23 |1
|
||||
<UFF04> \x24 |1
|
||||
<UFF05> \x25 |1
|
||||
<UFF06> \x26 |1
|
||||
<UFF07> \x27 |1
|
||||
<UFF08> \x28 |1
|
||||
<UFF09> \x29 |1
|
||||
<UFF0A> \x2A |1
|
||||
<UFF0B> \x2B |1
|
||||
<UFF0C> \x2C |1
|
||||
<UFF0D> \x2D |1
|
||||
<UFF0E> \x2E |1
|
||||
<UFF0F> \x2F |1
|
||||
<UFF10> \x30 |1
|
||||
<UFF11> \x31 |1
|
||||
<UFF12> \x32 |1
|
||||
<UFF13> \x33 |1
|
||||
<UFF14> \x34 |1
|
||||
<UFF15> \x35 |1
|
||||
<UFF16> \x36 |1
|
||||
<UFF17> \x37 |1
|
||||
<UFF18> \x38 |1
|
||||
<UFF19> \x39 |1
|
||||
<UFF1A> \x3A |1
|
||||
<UFF1B> \x3B |1
|
||||
<UFF1C> \x3C |1
|
||||
<UFF1D> \x3D |1
|
||||
<UFF1E> \x3E |1
|
||||
<UFF1F> \x3F |1
|
||||
<UFF20> \x40 |1
|
||||
<UFF21> \x41 |1
|
||||
<UFF22> \x42 |1
|
||||
<UFF23> \x43 |1
|
||||
<UFF24> \x44 |1
|
||||
<UFF25> \x45 |1
|
||||
<UFF26> \x46 |1
|
||||
<UFF27> \x47 |1
|
||||
<UFF28> \x48 |1
|
||||
<UFF29> \x49 |1
|
||||
<UFF2A> \x4A |1
|
||||
<UFF2B> \x4B |1
|
||||
<UFF2C> \x4C |1
|
||||
<UFF2D> \x4D |1
|
||||
<UFF2E> \x4E |1
|
||||
<UFF2F> \x4F |1
|
||||
<UFF30> \x50 |1
|
||||
<UFF31> \x51 |1
|
||||
<UFF32> \x52 |1
|
||||
<UFF33> \x53 |1
|
||||
<UFF34> \x54 |1
|
||||
<UFF35> \x55 |1
|
||||
<UFF36> \x56 |1
|
||||
<UFF37> \x57 |1
|
||||
<UFF38> \x58 |1
|
||||
<UFF39> \x59 |1
|
||||
<UFF3A> \x5A |1
|
||||
<UFF3B> \x5B |1
|
||||
<UFF3C> \x5C |1
|
||||
<UFF3D> \x5D |1
|
||||
<UFF3E> \x5E |1
|
||||
<UFF3F> \x5F |1
|
||||
<UFF40> \x60 |1
|
||||
<UFF41> \x61 |1
|
||||
<UFF42> \x62 |1
|
||||
<UFF43> \x63 |1
|
||||
<UFF44> \x64 |1
|
||||
<UFF45> \x65 |1
|
||||
<UFF46> \x66 |1
|
||||
<UFF47> \x67 |1
|
||||
<UFF48> \x68 |1
|
||||
<UFF49> \x69 |1
|
||||
<UFF4A> \x6A |1
|
||||
<UFF4B> \x6B |1
|
||||
<UFF4C> \x6C |1
|
||||
<UFF4D> \x6D |1
|
||||
<UFF4E> \x6E |1
|
||||
<UFF4F> \x6F |1
|
||||
<UFF50> \x70 |1
|
||||
<UFF51> \x71 |1
|
||||
<UFF52> \x72 |1
|
||||
<UFF53> \x73 |1
|
||||
<UFF54> \x74 |1
|
||||
<UFF55> \x75 |1
|
||||
<UFF56> \x76 |1
|
||||
<UFF57> \x77 |1
|
||||
<UFF58> \x78 |1
|
||||
<UFF59> \x79 |1
|
||||
<UFF5A> \x7A |1
|
||||
<UFF5B> \x7B |1
|
||||
<UFF5C> \x7C |1
|
||||
<UFF5D> \x7D |1
|
||||
<UFF5E> \x7E |1
|
||||
END CHARMAP
|
||||
@@ -0,0 +1,377 @@
|
||||
# *******************************************************************************
|
||||
# *
|
||||
# * Copyright (C) 1998-2001, International Business Machines
|
||||
# * Corporation and others. All Rights Reserved.
|
||||
# *
|
||||
# *******************************************************************************
|
||||
#
|
||||
# File created on Mon Nov 13 08:50:45 2000
|
||||
#
|
||||
# File created by dtcocm version 3.00
|
||||
# from source files 44B014E9.RPMAP100 and 14E944B0.TPMAP100
|
||||
#
|
||||
# Patched for jitterbug 792
|
||||
#
|
||||
# Table Version : 1.01
|
||||
#
|
||||
<code_set_name> "IBM-5353"
|
||||
<char_name_mask> "AXXXX"
|
||||
<mb_cur_max> 1
|
||||
<mb_cur_min> 1
|
||||
<uconv_class> "SBCS"
|
||||
<subchar> \x1A
|
||||
#
|
||||
CHARMAP
|
||||
#
|
||||
#
|
||||
#ISO 10646 IBM-5353
|
||||
#_________ _________
|
||||
<U0000> \x00 |0
|
||||
<U0001> \x01 |0
|
||||
<U0002> \x02 |0
|
||||
<U0003> \x03 |0
|
||||
<U0004> \x04 |0
|
||||
<U0005> \x05 |0
|
||||
<U0006> \x06 |0
|
||||
<U0007> \x07 |0
|
||||
<U0008> \x08 |0
|
||||
<U0009> \x09 |0
|
||||
<U000A> \x0A |0
|
||||
<U000B> \x0B |0
|
||||
<U000C> \x0C |0
|
||||
<U000D> \x0D |0
|
||||
<U000E> \x0E |0
|
||||
<U000F> \x0F |0
|
||||
<U0010> \x10 |0
|
||||
<U0011> \x11 |0
|
||||
<U0012> \x12 |0
|
||||
<U0013> \x13 |0
|
||||
<U0014> \x14 |0
|
||||
<U0015> \x15 |0
|
||||
<U0016> \x16 |0
|
||||
<U0017> \x17 |0
|
||||
<U0018> \x18 |0
|
||||
<U0019> \x19 |0
|
||||
<U001A> \x1A |0
|
||||
<U001B> \x1B |0
|
||||
<U001C> \x1C |0
|
||||
<U001D> \x1D |0
|
||||
<U001E> \x1E |0
|
||||
<U001F> \x1F |0
|
||||
<U0020> \x20 |0
|
||||
<U0021> \x21 |0
|
||||
<U0022> \x22 |0
|
||||
<U0023> \x23 |0
|
||||
<U0024> \x24 |0
|
||||
<U0025> \x25 |0
|
||||
<U0026> \x26 |0
|
||||
<U0027> \x27 |0
|
||||
<U0028> \x28 |0
|
||||
<U0029> \x29 |0
|
||||
<U002A> \x2A |0
|
||||
<U002B> \x2B |0
|
||||
<U002C> \x2C |0
|
||||
<U002D> \x2D |0
|
||||
<U002E> \x2E |0
|
||||
<U002F> \x2F |0
|
||||
<U0030> \x30 |0
|
||||
<U0031> \x31 |0
|
||||
<U0032> \x32 |0
|
||||
<U0033> \x33 |0
|
||||
<U0034> \x34 |0
|
||||
<U0035> \x35 |0
|
||||
<U0036> \x36 |0
|
||||
<U0037> \x37 |0
|
||||
<U0038> \x38 |0
|
||||
<U0039> \x39 |0
|
||||
<U003A> \x3A |0
|
||||
<U003B> \x3B |0
|
||||
<U003C> \x3C |0
|
||||
<U003D> \x3D |0
|
||||
<U003E> \x3E |0
|
||||
<U003F> \x3F |0
|
||||
<U0040> \x40 |0
|
||||
<U0041> \x41 |0
|
||||
<U0042> \x42 |0
|
||||
<U0043> \x43 |0
|
||||
<U0044> \x44 |0
|
||||
<U0045> \x45 |0
|
||||
<U0046> \x46 |0
|
||||
<U0047> \x47 |0
|
||||
<U0048> \x48 |0
|
||||
<U0049> \x49 |0
|
||||
<U004A> \x4A |0
|
||||
<U004B> \x4B |0
|
||||
<U004C> \x4C |0
|
||||
<U004D> \x4D |0
|
||||
<U004E> \x4E |0
|
||||
<U004F> \x4F |0
|
||||
<U0050> \x50 |0
|
||||
<U0051> \x51 |0
|
||||
<U0052> \x52 |0
|
||||
<U0053> \x53 |0
|
||||
<U0054> \x54 |0
|
||||
<U0055> \x55 |0
|
||||
<U0056> \x56 |0
|
||||
<U0057> \x57 |0
|
||||
<U0058> \x58 |0
|
||||
<U0059> \x59 |0
|
||||
<U005A> \x5A |0
|
||||
<U005B> \x5B |0
|
||||
<U005C> \x5C |0
|
||||
<U005D> \x5D |0
|
||||
<U005E> \x5E |0
|
||||
<U005F> \x5F |0
|
||||
<U0060> \x60 |0
|
||||
<U0061> \x61 |0
|
||||
<U0062> \x62 |0
|
||||
<U0063> \x63 |0
|
||||
<U0064> \x64 |0
|
||||
<U0065> \x65 |0
|
||||
<U0066> \x66 |0
|
||||
<U0067> \x67 |0
|
||||
<U0068> \x68 |0
|
||||
<U0069> \x69 |0
|
||||
<U006A> \x6A |0
|
||||
<U006B> \x6B |0
|
||||
<U006C> \x6C |0
|
||||
<U006D> \x6D |0
|
||||
<U006E> \x6E |0
|
||||
<U006F> \x6F |0
|
||||
<U0070> \x70 |0
|
||||
<U0071> \x71 |0
|
||||
<U0072> \x72 |0
|
||||
<U0073> \x73 |0
|
||||
<U0074> \x74 |0
|
||||
<U0075> \x75 |0
|
||||
<U0076> \x76 |0
|
||||
<U0077> \x77 |0
|
||||
<U0078> \x78 |0
|
||||
<U0079> \x79 |0
|
||||
<U007A> \x7A |0
|
||||
<U007B> \x7B |0
|
||||
<U007C> \x7C |0
|
||||
<U007D> \x7D |0
|
||||
<U007E> \x7E |0
|
||||
<U007F> \x7F |0
|
||||
<U0081> \x81 |0
|
||||
<U0083> \x83 |0
|
||||
<U0088> \x88 |0
|
||||
<U008A> \x8A |0
|
||||
<U008C> \x8C |0
|
||||
<U0090> \x90 |0
|
||||
<U0098> \x98 |0
|
||||
<U009A> \x9A |0
|
||||
<U009C> \x9C |0
|
||||
<U009F> \x9F |0
|
||||
<U00A0> \xA0 |0
|
||||
<U00A2> \xA2 |0
|
||||
<U00A3> \xA3 |0
|
||||
<U00A4> \xA4 |0
|
||||
<U00A6> \xA6 |0
|
||||
<U00A7> \xA7 |0
|
||||
<U00A8> \x8D |0
|
||||
<U00A9> \xA9 |0
|
||||
<U00AB> \xAB |0
|
||||
<U00AC> \xAC |0
|
||||
<U00AD> \xAD |0
|
||||
<U00AE> \xAE |0
|
||||
<U00AF> \x9D |0
|
||||
<U00B0> \xB0 |0
|
||||
<U00B1> \xB1 |0
|
||||
<U00B2> \xB2 |0
|
||||
<U00B3> \xB3 |0
|
||||
<U00B4> \xB4 |0
|
||||
<U00B5> \xB5 |0
|
||||
<U00B6> \xB6 |0
|
||||
<U00B7> \xB7 |0
|
||||
<U00B8> \x8F |0
|
||||
<U00B9> \xB9 |0
|
||||
<U00BB> \xBB |0
|
||||
<U00BC> \xBC |0
|
||||
<U00BD> \xBD |0
|
||||
<U00BE> \xBE |0
|
||||
<U00C4> \xC4 |0
|
||||
<U00C5> \xC5 |0
|
||||
<U00C6> \xAF |0
|
||||
<U00C9> \xC9 |0
|
||||
<U00D3> \xD3 |0
|
||||
<U00D5> \xD5 |0
|
||||
<U00D6> \xD6 |0
|
||||
<U00D7> \xD7 |0
|
||||
<U00D8> \xA8 |0
|
||||
<U00DC> \xDC |0
|
||||
<U00DF> \xDF |0
|
||||
<U00E4> \xE4 |0
|
||||
<U00E5> \xE5 |0
|
||||
<U00E6> \xBF |0
|
||||
<U00E9> \xE9 |0
|
||||
<U00F3> \xF3 |0
|
||||
<U00F5> \xF5 |0
|
||||
<U00F6> \xF6 |0
|
||||
<U00F7> \xF7 |0
|
||||
<U00F8> \xB8 |0
|
||||
<U00FC> \xFC |0
|
||||
<U0100> \xC2 |0
|
||||
<U0101> \xE2 |0
|
||||
<U0104> \xC0 |0
|
||||
<U0105> \xE0 |0
|
||||
<U0106> \xC3 |0
|
||||
<U0107> \xE3 |0
|
||||
<U010C> \xC8 |0
|
||||
<U010D> \xE8 |0
|
||||
<U0112> \xC7 |0
|
||||
<U0113> \xE7 |0
|
||||
<U0116> \xCB |0
|
||||
<U0117> \xEB |0
|
||||
<U0118> \xC6 |0
|
||||
<U0119> \xE6 |0
|
||||
<U0122> \xCC |0
|
||||
<U0123> \xEC |0
|
||||
<U012A> \xCE |0
|
||||
<U012B> \xEE |0
|
||||
<U012E> \xC1 |0
|
||||
<U012F> \xE1 |0
|
||||
<U0136> \xCD |0
|
||||
<U0137> \xED |0
|
||||
<U013B> \xCF |0
|
||||
<U013C> \xEF |0
|
||||
<U0141> \xD9 |0
|
||||
<U0142> \xF9 |0
|
||||
<U0143> \xD1 |0
|
||||
<U0144> \xF1 |0
|
||||
<U0145> \xD2 |0
|
||||
<U0146> \xF2 |0
|
||||
<U014C> \xD4 |0
|
||||
<U014D> \xF4 |0
|
||||
<U0156> \xAA |0
|
||||
<U0157> \xBA |0
|
||||
<U015A> \xDA |0
|
||||
<U015B> \xFA |0
|
||||
<U0160> \xD0 |0
|
||||
<U0161> \xF0 |0
|
||||
<U016A> \xDB |0
|
||||
<U016B> \xFB |0
|
||||
<U0172> \xD8 |0
|
||||
<U0173> \xF8 |0
|
||||
<U0179> \xCA |0
|
||||
<U017A> \xEA |0
|
||||
<U017B> \xDD |0
|
||||
<U017C> \xFD |0
|
||||
<U017D> \xDE |0
|
||||
<U017E> \xFE |0
|
||||
<U02C7> \x8E |0
|
||||
<U02D9> \xFF |0
|
||||
<U02DB> \x9E |0
|
||||
<U2013> \x96 |0
|
||||
<U2014> \x97 |0
|
||||
<U2018> \x91 |0
|
||||
<U2019> \x92 |0
|
||||
<U201A> \x82 |0
|
||||
<U201C> \x93 |0
|
||||
<U201D> \x94 |0
|
||||
<U201E> \x84 |0
|
||||
<U2020> \x86 |0
|
||||
<U2021> \x87 |0
|
||||
<U2022> \x95 |0
|
||||
<U2026> \x85 |0
|
||||
<U2030> \x89 |0
|
||||
<U2039> \x8B |0
|
||||
<U203A> \x9B |0
|
||||
<U20AC> \x80 |0
|
||||
<U2122> \x99 |0
|
||||
<UFF01> \x21 |1
|
||||
<UFF02> \x22 |1
|
||||
<UFF03> \x23 |1
|
||||
<UFF04> \x24 |1
|
||||
<UFF05> \x25 |1
|
||||
<UFF06> \x26 |1
|
||||
<UFF07> \x27 |1
|
||||
<UFF08> \x28 |1
|
||||
<UFF09> \x29 |1
|
||||
<UFF0A> \x2A |1
|
||||
<UFF0B> \x2B |1
|
||||
<UFF0C> \x2C |1
|
||||
<UFF0D> \x2D |1
|
||||
<UFF0E> \x2E |1
|
||||
<UFF0F> \x2F |1
|
||||
<UFF10> \x30 |1
|
||||
<UFF11> \x31 |1
|
||||
<UFF12> \x32 |1
|
||||
<UFF13> \x33 |1
|
||||
<UFF14> \x34 |1
|
||||
<UFF15> \x35 |1
|
||||
<UFF16> \x36 |1
|
||||
<UFF17> \x37 |1
|
||||
<UFF18> \x38 |1
|
||||
<UFF19> \x39 |1
|
||||
<UFF1A> \x3A |1
|
||||
<UFF1B> \x3B |1
|
||||
<UFF1C> \x3C |1
|
||||
<UFF1D> \x3D |1
|
||||
<UFF1E> \x3E |1
|
||||
<UFF1F> \x3F |1
|
||||
<UFF20> \x40 |1
|
||||
<UFF21> \x41 |1
|
||||
<UFF22> \x42 |1
|
||||
<UFF23> \x43 |1
|
||||
<UFF24> \x44 |1
|
||||
<UFF25> \x45 |1
|
||||
<UFF26> \x46 |1
|
||||
<UFF27> \x47 |1
|
||||
<UFF28> \x48 |1
|
||||
<UFF29> \x49 |1
|
||||
<UFF2A> \x4A |1
|
||||
<UFF2B> \x4B |1
|
||||
<UFF2C> \x4C |1
|
||||
<UFF2D> \x4D |1
|
||||
<UFF2E> \x4E |1
|
||||
<UFF2F> \x4F |1
|
||||
<UFF30> \x50 |1
|
||||
<UFF31> \x51 |1
|
||||
<UFF32> \x52 |1
|
||||
<UFF33> \x53 |1
|
||||
<UFF34> \x54 |1
|
||||
<UFF35> \x55 |1
|
||||
<UFF36> \x56 |1
|
||||
<UFF37> \x57 |1
|
||||
<UFF38> \x58 |1
|
||||
<UFF39> \x59 |1
|
||||
<UFF3A> \x5A |1
|
||||
<UFF3B> \x5B |1
|
||||
<UFF3C> \x5C |1
|
||||
<UFF3D> \x5D |1
|
||||
<UFF3E> \x5E |1
|
||||
<UFF3F> \x5F |1
|
||||
<UFF40> \x60 |1
|
||||
<UFF41> \x61 |1
|
||||
<UFF42> \x62 |1
|
||||
<UFF43> \x63 |1
|
||||
<UFF44> \x64 |1
|
||||
<UFF45> \x65 |1
|
||||
<UFF46> \x66 |1
|
||||
<UFF47> \x67 |1
|
||||
<UFF48> \x68 |1
|
||||
<UFF49> \x69 |1
|
||||
<UFF4A> \x6A |1
|
||||
<UFF4B> \x6B |1
|
||||
<UFF4C> \x6C |1
|
||||
<UFF4D> \x6D |1
|
||||
<UFF4E> \x6E |1
|
||||
<UFF4F> \x6F |1
|
||||
<UFF50> \x70 |1
|
||||
<UFF51> \x71 |1
|
||||
<UFF52> \x72 |1
|
||||
<UFF53> \x73 |1
|
||||
<UFF54> \x74 |1
|
||||
<UFF55> \x75 |1
|
||||
<UFF56> \x76 |1
|
||||
<UFF57> \x77 |1
|
||||
<UFF58> \x78 |1
|
||||
<UFF59> \x79 |1
|
||||
<UFF5A> \x7A |1
|
||||
<UFF5B> \x7B |1
|
||||
<UFF5C> \x7C |1
|
||||
<UFF5D> \x7D |1
|
||||
<UFF5E> \x7E |1
|
||||
END CHARMAP
|
||||
@@ -0,0 +1,377 @@
|
||||
# *******************************************************************************
|
||||
# *
|
||||
# * Copyright (C) 1998-2000, International Business Machines
|
||||
# * Corporation and others. All Rights Reserved.
|
||||
# *
|
||||
# *******************************************************************************
|
||||
#
|
||||
# File created on Mon Nov 13 08:50:45 2000
|
||||
#
|
||||
# File created by dtcocm version 3.00
|
||||
# from source files 44B014EA.RPMAP100 and 14EA44B0.TPMAP100
|
||||
#
|
||||
# Table Version : 1.01
|
||||
#
|
||||
<code_set_name> "IBM-5354"
|
||||
<char_name_mask> "AXXXX"
|
||||
<mb_cur_max> 1
|
||||
<mb_cur_min> 1
|
||||
<uconv_class> "SBCS"
|
||||
<subchar> \x1A
|
||||
#
|
||||
CHARMAP
|
||||
#
|
||||
#
|
||||
#ISO 10646 IBM-5354
|
||||
#_________ _________
|
||||
<U0000> \x00 |0
|
||||
<U0001> \x01 |0
|
||||
<U0002> \x02 |0
|
||||
<U0003> \x03 |0
|
||||
<U0004> \x04 |0
|
||||
<U0005> \x05 |0
|
||||
<U0006> \x06 |0
|
||||
<U0007> \x07 |0
|
||||
<U0008> \x08 |0
|
||||
<U0009> \x09 |0
|
||||
<U000A> \x0A |0
|
||||
<U000B> \x0B |0
|
||||
<U000C> \x0C |0
|
||||
<U000D> \x0D |0
|
||||
<U000E> \x0E |0
|
||||
<U000F> \x0F |0
|
||||
<U0010> \x10 |0
|
||||
<U0011> \x11 |0
|
||||
<U0012> \x12 |0
|
||||
<U0013> \x13 |0
|
||||
<U0014> \x14 |0
|
||||
<U0015> \x15 |0
|
||||
<U0016> \x16 |0
|
||||
<U0017> \x17 |0
|
||||
<U0018> \x18 |0
|
||||
<U0019> \x19 |0
|
||||
<U001A> \x1A |0
|
||||
<U001B> \x1B |0
|
||||
<U001C> \x1C |0
|
||||
<U001D> \x1D |0
|
||||
<U001E> \x1E |0
|
||||
<U001F> \x1F |0
|
||||
<U0020> \x20 |0
|
||||
<U0021> \x21 |0
|
||||
<U0022> \x22 |0
|
||||
<U0023> \x23 |0
|
||||
<U0024> \x24 |0
|
||||
<U0025> \x25 |0
|
||||
<U0026> \x26 |0
|
||||
<U0027> \x27 |0
|
||||
<U0028> \x28 |0
|
||||
<U0029> \x29 |0
|
||||
<U002A> \x2A |0
|
||||
<U002B> \x2B |0
|
||||
<U002C> \x2C |0
|
||||
<U002D> \x2D |0
|
||||
<U002E> \x2E |0
|
||||
<U002F> \x2F |0
|
||||
<U0030> \x30 |0
|
||||
<U0031> \x31 |0
|
||||
<U0032> \x32 |0
|
||||
<U0033> \x33 |0
|
||||
<U0034> \x34 |0
|
||||
<U0035> \x35 |0
|
||||
<U0036> \x36 |0
|
||||
<U0037> \x37 |0
|
||||
<U0038> \x38 |0
|
||||
<U0039> \x39 |0
|
||||
<U003A> \x3A |0
|
||||
<U003B> \x3B |0
|
||||
<U003C> \x3C |0
|
||||
<U003D> \x3D |0
|
||||
<U003E> \x3E |0
|
||||
<U003F> \x3F |0
|
||||
<U0040> \x40 |0
|
||||
<U0041> \x41 |0
|
||||
<U0042> \x42 |0
|
||||
<U0043> \x43 |0
|
||||
<U0044> \x44 |0
|
||||
<U0045> \x45 |0
|
||||
<U0046> \x46 |0
|
||||
<U0047> \x47 |0
|
||||
<U0048> \x48 |0
|
||||
<U0049> \x49 |0
|
||||
<U004A> \x4A |0
|
||||
<U004B> \x4B |0
|
||||
<U004C> \x4C |0
|
||||
<U004D> \x4D |0
|
||||
<U004E> \x4E |0
|
||||
<U004F> \x4F |0
|
||||
<U0050> \x50 |0
|
||||
<U0051> \x51 |0
|
||||
<U0052> \x52 |0
|
||||
<U0053> \x53 |0
|
||||
<U0054> \x54 |0
|
||||
<U0055> \x55 |0
|
||||
<U0056> \x56 |0
|
||||
<U0057> \x57 |0
|
||||
<U0058> \x58 |0
|
||||
<U0059> \x59 |0
|
||||
<U005A> \x5A |0
|
||||
<U005B> \x5B |0
|
||||
<U005C> \x5C |0
|
||||
<U005D> \x5D |0
|
||||
<U005E> \x5E |0
|
||||
<U005F> \x5F |0
|
||||
<U0060> \x60 |0
|
||||
<U0061> \x61 |0
|
||||
<U0062> \x62 |0
|
||||
<U0063> \x63 |0
|
||||
<U0064> \x64 |0
|
||||
<U0065> \x65 |0
|
||||
<U0066> \x66 |0
|
||||
<U0067> \x67 |0
|
||||
<U0068> \x68 |0
|
||||
<U0069> \x69 |0
|
||||
<U006A> \x6A |0
|
||||
<U006B> \x6B |0
|
||||
<U006C> \x6C |0
|
||||
<U006D> \x6D |0
|
||||
<U006E> \x6E |0
|
||||
<U006F> \x6F |0
|
||||
<U0070> \x70 |0
|
||||
<U0071> \x71 |0
|
||||
<U0072> \x72 |0
|
||||
<U0073> \x73 |0
|
||||
<U0074> \x74 |0
|
||||
<U0075> \x75 |0
|
||||
<U0076> \x76 |0
|
||||
<U0077> \x77 |0
|
||||
<U0078> \x78 |0
|
||||
<U0079> \x79 |0
|
||||
<U007A> \x7A |0
|
||||
<U007B> \x7B |0
|
||||
<U007C> \x7C |0
|
||||
<U007D> \x7D |0
|
||||
<U007E> \x7E |0
|
||||
<U007F> \x7F |0
|
||||
<U0081> \x81 |0
|
||||
<U008A> \x8A |0
|
||||
<U008D> \x8D |0
|
||||
<U008E> \x8E |0
|
||||
<U008F> \x8F |0
|
||||
<U0090> \x90 |0
|
||||
<U009A> \x9A |0
|
||||
<U009D> \x9D |0
|
||||
<U009E> \x9E |0
|
||||
<U00A0> \xA0 |0
|
||||
<U00A1> \xA1 |0
|
||||
<U00A2> \xA2 |0
|
||||
<U00A3> \xA3 |0
|
||||
<U00A4> \xA4 |0
|
||||
<U00A5> \xA5 |0
|
||||
<U00A6> \xA6 |0
|
||||
<U00A7> \xA7 |0
|
||||
<U00A8> \xA8 |0
|
||||
<U00A9> \xA9 |0
|
||||
<U00AA> \xAA |0
|
||||
<U00AB> \xAB |0
|
||||
<U00AC> \xAC |0
|
||||
<U00AD> \xAD |0
|
||||
<U00AE> \xAE |0
|
||||
<U00AF> \xAF |0
|
||||
<U00B0> \xB0 |0
|
||||
<U00B1> \xB1 |0
|
||||
<U00B2> \xB2 |0
|
||||
<U00B3> \xB3 |0
|
||||
<U00B4> \xB4 |0
|
||||
<U00B5> \xB5 |0
|
||||
<U00B6> \xB6 |0
|
||||
<U00B7> \xB7 |0
|
||||
<U00B8> \xB8 |0
|
||||
<U00B9> \xB9 |0
|
||||
<U00BA> \xBA |0
|
||||
<U00BB> \xBB |0
|
||||
<U00BC> \xBC |0
|
||||
<U00BD> \xBD |0
|
||||
<U00BE> \xBE |0
|
||||
<U00BF> \xBF |0
|
||||
<U00C0> \xC0 |0
|
||||
<U00C1> \xC1 |0
|
||||
<U00C2> \xC2 |0
|
||||
<U00C4> \xC4 |0
|
||||
<U00C5> \xC5 |0
|
||||
<U00C6> \xC6 |0
|
||||
<U00C7> \xC7 |0
|
||||
<U00C8> \xC8 |0
|
||||
<U00C9> \xC9 |0
|
||||
<U00CA> \xCA |0
|
||||
<U00CB> \xCB |0
|
||||
<U00CD> \xCD |0
|
||||
<U00CE> \xCE |0
|
||||
<U00CF> \xCF |0
|
||||
<U00D1> \xD1 |0
|
||||
<U00D3> \xD3 |0
|
||||
<U00D4> \xD4 |0
|
||||
<U00D6> \xD6 |0
|
||||
<U00D7> \xD7 |0
|
||||
<U00D8> \xD8 |0
|
||||
<U00D9> \xD9 |0
|
||||
<U00DA> \xDA |0
|
||||
<U00DB> \xDB |0
|
||||
<U00DC> \xDC |0
|
||||
<U00DF> \xDF |0
|
||||
<U00E0> \xE0 |0
|
||||
<U00E1> \xE1 |0
|
||||
<U00E2> \xE2 |0
|
||||
<U00E4> \xE4 |0
|
||||
<U00E5> \xE5 |0
|
||||
<U00E6> \xE6 |0
|
||||
<U00E7> \xE7 |0
|
||||
<U00E8> \xE8 |0
|
||||
<U00E9> \xE9 |0
|
||||
<U00EA> \xEA |0
|
||||
<U00EB> \xEB |0
|
||||
<U00ED> \xED |0
|
||||
<U00EE> \xEE |0
|
||||
<U00EF> \xEF |0
|
||||
<U00F1> \xF1 |0
|
||||
<U00F3> \xF3 |0
|
||||
<U00F4> \xF4 |0
|
||||
<U00F6> \xF6 |0
|
||||
<U00F7> \xF7 |0
|
||||
<U00F8> \xF8 |0
|
||||
<U00F9> \xF9 |0
|
||||
<U00FA> \xFA |0
|
||||
<U00FB> \xFB |0
|
||||
<U00FC> \xFC |0
|
||||
<U00FF> \xFF |0
|
||||
<U0102> \xC3 |0
|
||||
<U0103> \xE3 |0
|
||||
<U0110> \xD0 |0
|
||||
<U0111> \xF0 |0
|
||||
<U0152> \x8C |0
|
||||
<U0153> \x9C |0
|
||||
<U0178> \x9F |0
|
||||
<U0192> \x83 |0
|
||||
<U01A0> \xD5 |0
|
||||
<U01A1> \xF5 |0
|
||||
<U01AF> \xDD |0
|
||||
<U01B0> \xFD |0
|
||||
<U02C6> \x88 |0
|
||||
<U02DC> \x98 |0
|
||||
<U0300> \xCC |0
|
||||
<U0301> \xEC |0
|
||||
<U0303> \xDE |0
|
||||
<U0309> \xD2 |0
|
||||
<U0323> \xF2 |0
|
||||
<U2013> \x96 |0
|
||||
<U2014> \x97 |0
|
||||
<U2018> \x91 |0
|
||||
<U2019> \x92 |0
|
||||
<U201A> \x82 |0
|
||||
<U201C> \x93 |0
|
||||
<U201D> \x94 |0
|
||||
<U201E> \x84 |0
|
||||
<U2020> \x86 |0
|
||||
<U2021> \x87 |0
|
||||
<U2022> \x95 |0
|
||||
<U2026> \x85 |0
|
||||
<U2030> \x89 |0
|
||||
<U2039> \x8B |0
|
||||
<U203A> \x9B |0
|
||||
<U20AB> \xFE |0
|
||||
<U20AC> \x80 |0
|
||||
<U2122> \x99 |0
|
||||
<UFF01> \x21 |1
|
||||
<UFF02> \x22 |1
|
||||
<UFF03> \x23 |1
|
||||
<UFF04> \x24 |1
|
||||
<UFF05> \x25 |1
|
||||
<UFF06> \x26 |1
|
||||
<UFF07> \x27 |1
|
||||
<UFF08> \x28 |1
|
||||
<UFF09> \x29 |1
|
||||
<UFF0A> \x2A |1
|
||||
<UFF0B> \x2B |1
|
||||
<UFF0C> \x2C |1
|
||||
<UFF0D> \x2D |1
|
||||
<UFF0E> \x2E |1
|
||||
<UFF0F> \x2F |1
|
||||
<UFF10> \x30 |1
|
||||
<UFF11> \x31 |1
|
||||
<UFF12> \x32 |1
|
||||
<UFF13> \x33 |1
|
||||
<UFF14> \x34 |1
|
||||
<UFF15> \x35 |1
|
||||
<UFF16> \x36 |1
|
||||
<UFF17> \x37 |1
|
||||
<UFF18> \x38 |1
|
||||
<UFF19> \x39 |1
|
||||
<UFF1A> \x3A |1
|
||||
<UFF1B> \x3B |1
|
||||
<UFF1C> \x3C |1
|
||||
<UFF1D> \x3D |1
|
||||
<UFF1E> \x3E |1
|
||||
<UFF1F> \x3F |1
|
||||
<UFF20> \x40 |1
|
||||
<UFF21> \x41 |1
|
||||
<UFF22> \x42 |1
|
||||
<UFF23> \x43 |1
|
||||
<UFF24> \x44 |1
|
||||
<UFF25> \x45 |1
|
||||
<UFF26> \x46 |1
|
||||
<UFF27> \x47 |1
|
||||
<UFF28> \x48 |1
|
||||
<UFF29> \x49 |1
|
||||
<UFF2A> \x4A |1
|
||||
<UFF2B> \x4B |1
|
||||
<UFF2C> \x4C |1
|
||||
<UFF2D> \x4D |1
|
||||
<UFF2E> \x4E |1
|
||||
<UFF2F> \x4F |1
|
||||
<UFF30> \x50 |1
|
||||
<UFF31> \x51 |1
|
||||
<UFF32> \x52 |1
|
||||
<UFF33> \x53 |1
|
||||
<UFF34> \x54 |1
|
||||
<UFF35> \x55 |1
|
||||
<UFF36> \x56 |1
|
||||
<UFF37> \x57 |1
|
||||
<UFF38> \x58 |1
|
||||
<UFF39> \x59 |1
|
||||
<UFF3A> \x5A |1
|
||||
<UFF3B> \x5B |1
|
||||
<UFF3C> \x5C |1
|
||||
<UFF3D> \x5D |1
|
||||
<UFF3E> \x5E |1
|
||||
<UFF3F> \x5F |1
|
||||
<UFF40> \x60 |1
|
||||
<UFF41> \x61 |1
|
||||
<UFF42> \x62 |1
|
||||
<UFF43> \x63 |1
|
||||
<UFF44> \x64 |1
|
||||
<UFF45> \x65 |1
|
||||
<UFF46> \x66 |1
|
||||
<UFF47> \x67 |1
|
||||
<UFF48> \x68 |1
|
||||
<UFF49> \x69 |1
|
||||
<UFF4A> \x6A |1
|
||||
<UFF4B> \x6B |1
|
||||
<UFF4C> \x6C |1
|
||||
<UFF4D> \x6D |1
|
||||
<UFF4E> \x6E |1
|
||||
<UFF4F> \x6F |1
|
||||
<UFF50> \x70 |1
|
||||
<UFF51> \x71 |1
|
||||
<UFF52> \x72 |1
|
||||
<UFF53> \x73 |1
|
||||
<UFF54> \x74 |1
|
||||
<UFF55> \x75 |1
|
||||
<UFF56> \x76 |1
|
||||
<UFF57> \x77 |1
|
||||
<UFF58> \x78 |1
|
||||
<UFF59> \x79 |1
|
||||
<UFF5A> \x7A |1
|
||||
<UFF5B> \x7B |1
|
||||
<UFF5C> \x7C |1
|
||||
<UFF5D> \x7D |1
|
||||
<UFF5E> \x7E |1
|
||||
END CHARMAP
|
||||
@@ -0,0 +1,345 @@
|
||||
# *******************************************************************************
|
||||
# *
|
||||
# * Copyright (C) 1995-2000, International Business Machines
|
||||
# * Corporation and others. All Rights Reserved.
|
||||
# *
|
||||
# *******************************************************************************
|
||||
#
|
||||
# File created on Mon Nov 13 09:28:03 2000
|
||||
#
|
||||
# File created by dtcocm version 3.00
|
||||
# from source files 34B0036A.RPMAP100 and 036A34B0.TPMAP100
|
||||
#
|
||||
# Table Version : 1.01
|
||||
#
|
||||
<code_set_name> "IBM-874"
|
||||
<char_name_mask> "AXXXX"
|
||||
<mb_cur_max> 1
|
||||
<mb_cur_min> 1
|
||||
<uconv_class> "SBCS"
|
||||
<subchar> \x7F
|
||||
#
|
||||
CHARMAP
|
||||
#
|
||||
#
|
||||
#ISO 10646 IBM-874
|
||||
#_________ _________
|
||||
<U0000> \x00 |0
|
||||
<U0001> \x01 |0
|
||||
<U0002> \x02 |0
|
||||
<U0003> \x03 |0
|
||||
<U0004> \x04 |0
|
||||
<U0005> \x05 |0
|
||||
<U0006> \x06 |0
|
||||
<U0007> \x07 |0
|
||||
<U0008> \x08 |0
|
||||
<U0009> \x09 |0
|
||||
<U000A> \x0A |0
|
||||
<U000B> \x0B |0
|
||||
<U000C> \x0C |0
|
||||
<U000D> \x0D |0
|
||||
<U000E> \x0E |0
|
||||
<U000F> \x0F |0
|
||||
<U0010> \x10 |0
|
||||
<U0011> \x11 |0
|
||||
<U0012> \x12 |0
|
||||
<U0013> \x13 |0
|
||||
<U0014> \x14 |0
|
||||
<U0015> \x15 |0
|
||||
<U0016> \x16 |0
|
||||
<U0017> \x17 |0
|
||||
<U0018> \x18 |0
|
||||
<U0019> \x19 |0
|
||||
<U001A> \x7F |0
|
||||
<U001B> \x1B |0
|
||||
<U001C> \x1A |0
|
||||
<U001D> \x1D |0
|
||||
<U001E> \x1E |0
|
||||
<U001F> \x1F |0
|
||||
<U0020> \x20 |0
|
||||
<U0021> \x21 |0
|
||||
<U0022> \x22 |0
|
||||
<U0023> \x23 |0
|
||||
<U0024> \x24 |0
|
||||
<U0025> \x25 |0
|
||||
<U0026> \x26 |0
|
||||
<U0027> \x27 |0
|
||||
<U0028> \x28 |0
|
||||
<U0029> \x29 |0
|
||||
<U002A> \x2A |0
|
||||
<U002B> \x2B |0
|
||||
<U002C> \x2C |0
|
||||
<U002D> \x2D |0
|
||||
<U002E> \x2E |0
|
||||
<U002F> \x2F |0
|
||||
<U0030> \x30 |0
|
||||
<U0031> \x31 |0
|
||||
<U0032> \x32 |0
|
||||
<U0033> \x33 |0
|
||||
<U0034> \x34 |0
|
||||
<U0035> \x35 |0
|
||||
<U0036> \x36 |0
|
||||
<U0037> \x37 |0
|
||||
<U0038> \x38 |0
|
||||
<U0039> \x39 |0
|
||||
<U003A> \x3A |0
|
||||
<U003B> \x3B |0
|
||||
<U003C> \x3C |0
|
||||
<U003D> \x3D |0
|
||||
<U003E> \x3E |0
|
||||
<U003F> \x3F |0
|
||||
<U0040> \x40 |0
|
||||
<U0041> \x41 |0
|
||||
<U0042> \x42 |0
|
||||
<U0043> \x43 |0
|
||||
<U0044> \x44 |0
|
||||
<U0045> \x45 |0
|
||||
<U0046> \x46 |0
|
||||
<U0047> \x47 |0
|
||||
<U0048> \x48 |0
|
||||
<U0049> \x49 |0
|
||||
<U004A> \x4A |0
|
||||
<U004B> \x4B |0
|
||||
<U004C> \x4C |0
|
||||
<U004D> \x4D |0
|
||||
<U004E> \x4E |0
|
||||
<U004F> \x4F |0
|
||||
<U0050> \x50 |0
|
||||
<U0051> \x51 |0
|
||||
<U0052> \x52 |0
|
||||
<U0053> \x53 |0
|
||||
<U0054> \x54 |0
|
||||
<U0055> \x55 |0
|
||||
<U0056> \x56 |0
|
||||
<U0057> \x57 |0
|
||||
<U0058> \x58 |0
|
||||
<U0059> \x59 |0
|
||||
<U005A> \x5A |0
|
||||
<U005B> \x5B |0
|
||||
<U005C> \x5C |0
|
||||
<U005D> \x5D |0
|
||||
<U005E> \x5E |0
|
||||
<U005F> \x5F |0
|
||||
<U0060> \x60 |0
|
||||
<U0061> \x61 |0
|
||||
<U0062> \x62 |0
|
||||
<U0063> \x63 |0
|
||||
<U0064> \x64 |0
|
||||
<U0065> \x65 |0
|
||||
<U0066> \x66 |0
|
||||
<U0067> \x67 |0
|
||||
<U0068> \x68 |0
|
||||
<U0069> \x69 |0
|
||||
<U006A> \x6A |0
|
||||
<U006B> \x6B |0
|
||||
<U006C> \x6C |0
|
||||
<U006D> \x6D |0
|
||||
<U006E> \x6E |0
|
||||
<U006F> \x6F |0
|
||||
<U0070> \x70 |0
|
||||
<U0071> \x71 |0
|
||||
<U0072> \x72 |0
|
||||
<U0073> \x73 |0
|
||||
<U0074> \x74 |0
|
||||
<U0075> \x75 |0
|
||||
<U0076> \x76 |0
|
||||
<U0077> \x77 |0
|
||||
<U0078> \x78 |0
|
||||
<U0079> \x79 |0
|
||||
<U007A> \x7A |0
|
||||
<U007B> \x7B |0
|
||||
<U007C> \x7C |0
|
||||
<U007D> \x7D |0
|
||||
<U007E> \x7E |0
|
||||
<U007F> \x1C |0
|
||||
<U00A0> \xFF |0
|
||||
<U00A2> \xFC |0
|
||||
<U00A6> \xFE |0
|
||||
<U00AC> \xFD |0
|
||||
<U0E01> \xA1 |0
|
||||
<U0E02> \xA2 |0
|
||||
<U0E03> \xA3 |0
|
||||
<U0E04> \xA4 |0
|
||||
<U0E05> \xA5 |0
|
||||
<U0E06> \xA6 |0
|
||||
<U0E07> \xA7 |0
|
||||
<U0E08> \xA8 |0
|
||||
<U0E09> \xA9 |0
|
||||
<U0E0A> \xAA |0
|
||||
<U0E0B> \xAB |0
|
||||
<U0E0C> \xAC |0
|
||||
<U0E0D> \xAD |0
|
||||
<U0E0E> \xAE |0
|
||||
<U0E0F> \xAF |0
|
||||
<U0E10> \xB0 |0
|
||||
<U0E11> \xB1 |0
|
||||
<U0E12> \xB2 |0
|
||||
<U0E13> \xB3 |0
|
||||
<U0E14> \xB4 |0
|
||||
<U0E15> \xB5 |0
|
||||
<U0E16> \xB6 |0
|
||||
<U0E17> \xB7 |0
|
||||
<U0E18> \xB8 |0
|
||||
<U0E19> \xB9 |0
|
||||
<U0E1A> \xBA |0
|
||||
<U0E1B> \xBB |0
|
||||
<U0E1C> \xBC |0
|
||||
<U0E1D> \xBD |0
|
||||
<U0E1E> \xBE |0
|
||||
<U0E1F> \xBF |0
|
||||
<U0E20> \xC0 |0
|
||||
<U0E21> \xC1 |0
|
||||
<U0E22> \xC2 |0
|
||||
<U0E23> \xC3 |0
|
||||
<U0E24> \xC4 |0
|
||||
<U0E25> \xC5 |0
|
||||
<U0E26> \xC6 |0
|
||||
<U0E27> \xC7 |0
|
||||
<U0E28> \xC8 |0
|
||||
<U0E29> \xC9 |0
|
||||
<U0E2A> \xCA |0
|
||||
<U0E2B> \xCB |0
|
||||
<U0E2C> \xCC |0
|
||||
<U0E2D> \xCD |0
|
||||
<U0E2E> \xCE |0
|
||||
<U0E2F> \xCF |0
|
||||
<U0E30> \xD0 |0
|
||||
<U0E31> \xD1 |0
|
||||
<U0E32> \xD2 |0
|
||||
<U0E33> \xD3 |0
|
||||
<U0E34> \xD4 |0
|
||||
<U0E35> \xD5 |0
|
||||
<U0E36> \xD6 |0
|
||||
<U0E37> \xD7 |0
|
||||
<U0E38> \xD8 |0
|
||||
<U0E39> \xD9 |0
|
||||
<U0E3A> \xDA |0
|
||||
<U0E3F> \xDF |0
|
||||
<U0E40> \xE0 |0
|
||||
<U0E41> \xE1 |0
|
||||
<U0E42> \xE2 |0
|
||||
<U0E43> \xE3 |0
|
||||
<U0E44> \xE4 |0
|
||||
<U0E45> \xE5 |0
|
||||
<U0E46> \xE6 |0
|
||||
<U0E47> \xE7 |0
|
||||
<U0E48> \xA0 |3
|
||||
<U0E48> \xE8 |0
|
||||
<U0E49> \xDB |3
|
||||
<U0E49> \xE9 |0
|
||||
<U0E4A> \xDC |3
|
||||
<U0E4A> \xEA |0
|
||||
<U0E4B> \xDD |3
|
||||
<U0E4B> \xEB |0
|
||||
<U0E4C> \xDE |3
|
||||
<U0E4C> \xEC |0
|
||||
<U0E4D> \xED |0
|
||||
<U0E4E> \xEE |0
|
||||
<U0E4F> \xEF |0
|
||||
<U0E50> \xF0 |0
|
||||
<U0E51> \xF1 |0
|
||||
<U0E52> \xF2 |0
|
||||
<U0E53> \xF3 |0
|
||||
<U0E54> \xF4 |0
|
||||
<U0E55> \xF5 |0
|
||||
<U0E56> \xF6 |0
|
||||
<U0E57> \xF7 |0
|
||||
<U0E58> \xF8 |0
|
||||
<U0E59> \xF9 |0
|
||||
<U0E5A> \xFA |0
|
||||
<U0E5B> \xFB |0
|
||||
<UFF01> \x21 |1
|
||||
<UFF02> \x22 |1
|
||||
<UFF03> \x23 |1
|
||||
<UFF04> \x24 |1
|
||||
<UFF05> \x25 |1
|
||||
<UFF06> \x26 |1
|
||||
<UFF07> \x27 |1
|
||||
<UFF08> \x28 |1
|
||||
<UFF09> \x29 |1
|
||||
<UFF0A> \x2A |1
|
||||
<UFF0B> \x2B |1
|
||||
<UFF0C> \x2C |1
|
||||
<UFF0D> \x2D |1
|
||||
<UFF0E> \x2E |1
|
||||
<UFF0F> \x2F |1
|
||||
<UFF10> \x30 |1
|
||||
<UFF11> \x31 |1
|
||||
<UFF12> \x32 |1
|
||||
<UFF13> \x33 |1
|
||||
<UFF14> \x34 |1
|
||||
<UFF15> \x35 |1
|
||||
<UFF16> \x36 |1
|
||||
<UFF17> \x37 |1
|
||||
<UFF18> \x38 |1
|
||||
<UFF19> \x39 |1
|
||||
<UFF1A> \x3A |1
|
||||
<UFF1B> \x3B |1
|
||||
<UFF1C> \x3C |1
|
||||
<UFF1D> \x3D |1
|
||||
<UFF1E> \x3E |1
|
||||
<UFF1F> \x3F |1
|
||||
<UFF20> \x40 |1
|
||||
<UFF21> \x41 |1
|
||||
<UFF22> \x42 |1
|
||||
<UFF23> \x43 |1
|
||||
<UFF24> \x44 |1
|
||||
<UFF25> \x45 |1
|
||||
<UFF26> \x46 |1
|
||||
<UFF27> \x47 |1
|
||||
<UFF28> \x48 |1
|
||||
<UFF29> \x49 |1
|
||||
<UFF2A> \x4A |1
|
||||
<UFF2B> \x4B |1
|
||||
<UFF2C> \x4C |1
|
||||
<UFF2D> \x4D |1
|
||||
<UFF2E> \x4E |1
|
||||
<UFF2F> \x4F |1
|
||||
<UFF30> \x50 |1
|
||||
<UFF31> \x51 |1
|
||||
<UFF32> \x52 |1
|
||||
<UFF33> \x53 |1
|
||||
<UFF34> \x54 |1
|
||||
<UFF35> \x55 |1
|
||||
<UFF36> \x56 |1
|
||||
<UFF37> \x57 |1
|
||||
<UFF38> \x58 |1
|
||||
<UFF39> \x59 |1
|
||||
<UFF3A> \x5A |1
|
||||
<UFF3B> \x5B |1
|
||||
<UFF3C> \x5C |1
|
||||
<UFF3D> \x5D |1
|
||||
<UFF3E> \x5E |1
|
||||
<UFF3F> \x5F |1
|
||||
<UFF40> \x60 |1
|
||||
<UFF41> \x61 |1
|
||||
<UFF42> \x62 |1
|
||||
<UFF43> \x63 |1
|
||||
<UFF44> \x64 |1
|
||||
<UFF45> \x65 |1
|
||||
<UFF46> \x66 |1
|
||||
<UFF47> \x67 |1
|
||||
<UFF48> \x68 |1
|
||||
<UFF49> \x69 |1
|
||||
<UFF4A> \x6A |1
|
||||
<UFF4B> \x6B |1
|
||||
<UFF4C> \x6C |1
|
||||
<UFF4D> \x6D |1
|
||||
<UFF4E> \x6E |1
|
||||
<UFF4F> \x6F |1
|
||||
<UFF50> \x70 |1
|
||||
<UFF51> \x71 |1
|
||||
<UFF52> \x72 |1
|
||||
<UFF53> \x73 |1
|
||||
<UFF54> \x74 |1
|
||||
<UFF55> \x75 |1
|
||||
<UFF56> \x76 |1
|
||||
<UFF57> \x77 |1
|
||||
<UFF58> \x78 |1
|
||||
<UFF59> \x79 |1
|
||||
<UFF5A> \x7A |1
|
||||
<UFF5B> \x7B |1
|
||||
<UFF5C> \x7C |1
|
||||
<UFF5D> \x7D |1
|
||||
<UFF5E> \x7E |1
|
||||
END CHARMAP
|
||||
@@ -0,0 +1,379 @@
|
||||
# *******************************************************************************
|
||||
# *
|
||||
# * Copyright (C) 1995-2000, International Business Machines
|
||||
# * Corporation and others. All Rights Reserved.
|
||||
# *
|
||||
# *******************************************************************************
|
||||
#
|
||||
# File created on Mon Nov 13 09:28:03 2000
|
||||
#
|
||||
# File created by dtcocm version 3.00
|
||||
# from source files 34B0036E.RPMAP100 and 036E34B0.TPMAP100
|
||||
#
|
||||
# Table Version : 1.01
|
||||
#
|
||||
<code_set_name> "IBM-878"
|
||||
<char_name_mask> "AXXXX"
|
||||
<mb_cur_max> 1
|
||||
<mb_cur_min> 1
|
||||
<uconv_class> "SBCS"
|
||||
<subchar> \x1A
|
||||
#
|
||||
CHARMAP
|
||||
#
|
||||
#
|
||||
#ISO 10646 IBM-878
|
||||
#_________ _________
|
||||
<U0000> \x00 |0
|
||||
<U0001> \x01 |0
|
||||
<U0002> \x02 |0
|
||||
<U0003> \x03 |0
|
||||
<U0004> \x04 |0
|
||||
<U0005> \x05 |0
|
||||
<U0006> \x06 |0
|
||||
<U0007> \x07 |0
|
||||
<U0008> \x08 |0
|
||||
<U0009> \x09 |0
|
||||
<U000A> \x0A |0
|
||||
<U000B> \x0B |0
|
||||
<U000C> \x0C |0
|
||||
<U000D> \x0D |0
|
||||
<U000E> \x0E |0
|
||||
<U000F> \x0F |0
|
||||
<U0010> \x10 |0
|
||||
<U0011> \x11 |0
|
||||
<U0012> \x12 |0
|
||||
<U0013> \x13 |0
|
||||
<U0014> \x14 |0
|
||||
<U0015> \x15 |0
|
||||
<U0016> \x16 |0
|
||||
<U0017> \x17 |0
|
||||
<U0018> \x18 |0
|
||||
<U0019> \x19 |0
|
||||
<U001A> \x1A |0
|
||||
<U001B> \x1B |0
|
||||
<U001C> \x1C |0
|
||||
<U001D> \x1D |0
|
||||
<U001E> \x1E |0
|
||||
<U001F> \x1F |0
|
||||
<U0020> \x20 |0
|
||||
<U0021> \x21 |0
|
||||
<U0022> \x22 |0
|
||||
<U0023> \x23 |0
|
||||
<U0024> \x24 |0
|
||||
<U0025> \x25 |0
|
||||
<U0026> \x26 |0
|
||||
<U0027> \x27 |0
|
||||
<U0028> \x28 |0
|
||||
<U0029> \x29 |0
|
||||
<U002A> \x2A |0
|
||||
<U002B> \x2B |0
|
||||
<U002C> \x2C |0
|
||||
<U002D> \x2D |0
|
||||
<U002E> \x2E |0
|
||||
<U002F> \x2F |0
|
||||
<U0030> \x30 |0
|
||||
<U0031> \x31 |0
|
||||
<U0032> \x32 |0
|
||||
<U0033> \x33 |0
|
||||
<U0034> \x34 |0
|
||||
<U0035> \x35 |0
|
||||
<U0036> \x36 |0
|
||||
<U0037> \x37 |0
|
||||
<U0038> \x38 |0
|
||||
<U0039> \x39 |0
|
||||
<U003A> \x3A |0
|
||||
<U003B> \x3B |0
|
||||
<U003C> \x3C |0
|
||||
<U003D> \x3D |0
|
||||
<U003E> \x3E |0
|
||||
<U003F> \x3F |0
|
||||
<U0040> \x40 |0
|
||||
<U0041> \x41 |0
|
||||
<U0042> \x42 |0
|
||||
<U0043> \x43 |0
|
||||
<U0044> \x44 |0
|
||||
<U0045> \x45 |0
|
||||
<U0046> \x46 |0
|
||||
<U0047> \x47 |0
|
||||
<U0048> \x48 |0
|
||||
<U0049> \x49 |0
|
||||
<U004A> \x4A |0
|
||||
<U004B> \x4B |0
|
||||
<U004C> \x4C |0
|
||||
<U004D> \x4D |0
|
||||
<U004E> \x4E |0
|
||||
<U004F> \x4F |0
|
||||
<U0050> \x50 |0
|
||||
<U0051> \x51 |0
|
||||
<U0052> \x52 |0
|
||||
<U0053> \x53 |0
|
||||
<U0054> \x54 |0
|
||||
<U0055> \x55 |0
|
||||
<U0056> \x56 |0
|
||||
<U0057> \x57 |0
|
||||
<U0058> \x58 |0
|
||||
<U0059> \x59 |0
|
||||
<U005A> \x5A |0
|
||||
<U005B> \x5B |0
|
||||
<U005C> \x5C |0
|
||||
<U005D> \x5D |0
|
||||
<U005E> \x5E |0
|
||||
<U005F> \x5F |0
|
||||
<U0060> \x60 |0
|
||||
<U0061> \x61 |0
|
||||
<U0062> \x62 |0
|
||||
<U0063> \x63 |0
|
||||
<U0064> \x64 |0
|
||||
<U0065> \x65 |0
|
||||
<U0066> \x66 |0
|
||||
<U0067> \x67 |0
|
||||
<U0068> \x68 |0
|
||||
<U0069> \x69 |0
|
||||
<U006A> \x6A |0
|
||||
<U006B> \x6B |0
|
||||
<U006C> \x6C |0
|
||||
<U006D> \x6D |0
|
||||
<U006E> \x6E |0
|
||||
<U006F> \x6F |0
|
||||
<U0070> \x70 |0
|
||||
<U0071> \x71 |0
|
||||
<U0072> \x72 |0
|
||||
<U0073> \x73 |0
|
||||
<U0074> \x74 |0
|
||||
<U0075> \x75 |0
|
||||
<U0076> \x76 |0
|
||||
<U0077> \x77 |0
|
||||
<U0078> \x78 |0
|
||||
<U0079> \x79 |0
|
||||
<U007A> \x7A |0
|
||||
<U007B> \x7B |0
|
||||
<U007C> \x7C |0
|
||||
<U007D> \x7D |0
|
||||
<U007E> \x7E |0
|
||||
<U007F> \x7F |0
|
||||
<U00A0> \x9A |0
|
||||
<U00A9> \xBF |0
|
||||
<U00B0> \x9C |0
|
||||
<U00B2> \x9D |0
|
||||
<U00B7> \x9E |0
|
||||
<U00F7> \x9F |0
|
||||
<U0401> \xB3 |0
|
||||
<U0410> \xE1 |0
|
||||
<U0411> \xE2 |0
|
||||
<U0412> \xF7 |0
|
||||
<U0413> \xE7 |0
|
||||
<U0414> \xE4 |0
|
||||
<U0415> \xE5 |0
|
||||
<U0416> \xF6 |0
|
||||
<U0417> \xFA |0
|
||||
<U0418> \xE9 |0
|
||||
<U0419> \xEA |0
|
||||
<U041A> \xEB |0
|
||||
<U041B> \xEC |0
|
||||
<U041C> \xED |0
|
||||
<U041D> \xEE |0
|
||||
<U041E> \xEF |0
|
||||
<U041F> \xF0 |0
|
||||
<U0420> \xF2 |0
|
||||
<U0421> \xF3 |0
|
||||
<U0422> \xF4 |0
|
||||
<U0423> \xF5 |0
|
||||
<U0424> \xE6 |0
|
||||
<U0425> \xE8 |0
|
||||
<U0426> \xE3 |0
|
||||
<U0427> \xFE |0
|
||||
<U0428> \xFB |0
|
||||
<U0429> \xFD |0
|
||||
<U042A> \xFF |0
|
||||
<U042B> \xF9 |0
|
||||
<U042C> \xF8 |0
|
||||
<U042D> \xFC |0
|
||||
<U042E> \xE0 |0
|
||||
<U042F> \xF1 |0
|
||||
<U0430> \xC1 |0
|
||||
<U0431> \xC2 |0
|
||||
<U0432> \xD7 |0
|
||||
<U0433> \xC7 |0
|
||||
<U0434> \xC4 |0
|
||||
<U0435> \xC5 |0
|
||||
<U0436> \xD6 |0
|
||||
<U0437> \xDA |0
|
||||
<U0438> \xC9 |0
|
||||
<U0439> \xCA |0
|
||||
<U043A> \xCB |0
|
||||
<U043B> \xCC |0
|
||||
<U043C> \xCD |0
|
||||
<U043D> \xCE |0
|
||||
<U043E> \xCF |0
|
||||
<U043F> \xD0 |0
|
||||
<U0440> \xD2 |0
|
||||
<U0441> \xD3 |0
|
||||
<U0442> \xD4 |0
|
||||
<U0443> \xD5 |0
|
||||
<U0444> \xC6 |0
|
||||
<U0445> \xC8 |0
|
||||
<U0446> \xC3 |0
|
||||
<U0447> \xDE |0
|
||||
<U0448> \xDB |0
|
||||
<U0449> \xDD |0
|
||||
<U044A> \xDF |0
|
||||
<U044B> \xD9 |0
|
||||
<U044C> \xD8 |0
|
||||
<U044D> \xDC |0
|
||||
<U044E> \xC0 |0
|
||||
<U044F> \xD1 |0
|
||||
<U0451> \xA3 |0
|
||||
<U2219> \x95 |0
|
||||
<U221A> \x96 |0
|
||||
<U2248> \x97 |0
|
||||
<U2264> \x98 |0
|
||||
<U2265> \x99 |0
|
||||
<U2320> \x93 |0
|
||||
<U2321> \x9B |0
|
||||
<U2500> \x80 |0
|
||||
<U2502> \x81 |0
|
||||
<U250C> \x82 |0
|
||||
<U2510> \x83 |0
|
||||
<U2514> \x84 |0
|
||||
<U2518> \x85 |0
|
||||
<U251C> \x86 |0
|
||||
<U2524> \x87 |0
|
||||
<U252C> \x88 |0
|
||||
<U2534> \x89 |0
|
||||
<U253C> \x8A |0
|
||||
<U2550> \xA0 |0
|
||||
<U2551> \xA1 |0
|
||||
<U2552> \xA2 |0
|
||||
<U2553> \xA4 |0
|
||||
<U2554> \xA5 |0
|
||||
<U2555> \xA6 |0
|
||||
<U2556> \xA7 |0
|
||||
<U2557> \xA8 |0
|
||||
<U2558> \xA9 |0
|
||||
<U2559> \xAA |0
|
||||
<U255A> \xAB |0
|
||||
<U255B> \xAC |0
|
||||
<U255C> \xAD |0
|
||||
<U255D> \xAE |0
|
||||
<U255E> \xAF |0
|
||||
<U255F> \xB0 |0
|
||||
<U2560> \xB1 |0
|
||||
<U2561> \xB2 |0
|
||||
<U2562> \xB4 |0
|
||||
<U2563> \xB5 |0
|
||||
<U2564> \xB6 |0
|
||||
<U2565> \xB7 |0
|
||||
<U2566> \xB8 |0
|
||||
<U2567> \xB9 |0
|
||||
<U2568> \xBA |0
|
||||
<U2569> \xBB |0
|
||||
<U256A> \xBC |0
|
||||
<U256B> \xBD |0
|
||||
<U256C> \xBE |0
|
||||
<U2580> \x8B |0
|
||||
<U2584> \x8C |0
|
||||
<U2588> \x8D |0
|
||||
<U258C> \x8E |0
|
||||
<U2590> \x8F |0
|
||||
<U2591> \x90 |0
|
||||
<U2592> \x91 |0
|
||||
<U2593> \x92 |0
|
||||
<U25A0> \x94 |0
|
||||
<UFF01> \x21 |1
|
||||
<UFF02> \x22 |1
|
||||
<UFF03> \x23 |1
|
||||
<UFF04> \x24 |1
|
||||
<UFF05> \x25 |1
|
||||
<UFF06> \x26 |1
|
||||
<UFF07> \x27 |1
|
||||
<UFF08> \x28 |1
|
||||
<UFF09> \x29 |1
|
||||
<UFF0A> \x2A |1
|
||||
<UFF0B> \x2B |1
|
||||
<UFF0C> \x2C |1
|
||||
<UFF0D> \x2D |1
|
||||
<UFF0E> \x2E |1
|
||||
<UFF0F> \x2F |1
|
||||
<UFF10> \x30 |1
|
||||
<UFF11> \x31 |1
|
||||
<UFF12> \x32 |1
|
||||
<UFF13> \x33 |1
|
||||
<UFF14> \x34 |1
|
||||
<UFF15> \x35 |1
|
||||
<UFF16> \x36 |1
|
||||
<UFF17> \x37 |1
|
||||
<UFF18> \x38 |1
|
||||
<UFF19> \x39 |1
|
||||
<UFF1A> \x3A |1
|
||||
<UFF1B> \x3B |1
|
||||
<UFF1C> \x3C |1
|
||||
<UFF1D> \x3D |1
|
||||
<UFF1E> \x3E |1
|
||||
<UFF1F> \x3F |1
|
||||
<UFF20> \x40 |1
|
||||
<UFF21> \x41 |1
|
||||
<UFF22> \x42 |1
|
||||
<UFF23> \x43 |1
|
||||
<UFF24> \x44 |1
|
||||
<UFF25> \x45 |1
|
||||
<UFF26> \x46 |1
|
||||
<UFF27> \x47 |1
|
||||
<UFF28> \x48 |1
|
||||
<UFF29> \x49 |1
|
||||
<UFF2A> \x4A |1
|
||||
<UFF2B> \x4B |1
|
||||
<UFF2C> \x4C |1
|
||||
<UFF2D> \x4D |1
|
||||
<UFF2E> \x4E |1
|
||||
<UFF2F> \x4F |1
|
||||
<UFF30> \x50 |1
|
||||
<UFF31> \x51 |1
|
||||
<UFF32> \x52 |1
|
||||
<UFF33> \x53 |1
|
||||
<UFF34> \x54 |1
|
||||
<UFF35> \x55 |1
|
||||
<UFF36> \x56 |1
|
||||
<UFF37> \x57 |1
|
||||
<UFF38> \x58 |1
|
||||
<UFF39> \x59 |1
|
||||
<UFF3A> \x5A |1
|
||||
<UFF3B> \x5B |1
|
||||
<UFF3C> \x5C |1
|
||||
<UFF3D> \x5D |1
|
||||
<UFF3E> \x5E |1
|
||||
<UFF3F> \x5F |1
|
||||
<UFF40> \x60 |1
|
||||
<UFF41> \x61 |1
|
||||
<UFF42> \x62 |1
|
||||
<UFF43> \x63 |1
|
||||
<UFF44> \x64 |1
|
||||
<UFF45> \x65 |1
|
||||
<UFF46> \x66 |1
|
||||
<UFF47> \x67 |1
|
||||
<UFF48> \x68 |1
|
||||
<UFF49> \x69 |1
|
||||
<UFF4A> \x6A |1
|
||||
<UFF4B> \x6B |1
|
||||
<UFF4C> \x6C |1
|
||||
<UFF4D> \x6D |1
|
||||
<UFF4E> \x6E |1
|
||||
<UFF4F> \x6F |1
|
||||
<UFF50> \x70 |1
|
||||
<UFF51> \x71 |1
|
||||
<UFF52> \x72 |1
|
||||
<UFF53> \x73 |1
|
||||
<UFF54> \x74 |1
|
||||
<UFF55> \x75 |1
|
||||
<UFF56> \x76 |1
|
||||
<UFF57> \x77 |1
|
||||
<UFF58> \x78 |1
|
||||
<UFF59> \x79 |1
|
||||
<UFF5A> \x7A |1
|
||||
<UFF5B> \x7B |1
|
||||
<UFF5C> \x7C |1
|
||||
<UFF5D> \x7D |1
|
||||
<UFF5E> \x7E |1
|
||||
<UFFE8> \x81 |1
|
||||
<UFFED> \x94 |1
|
||||
END CHARMAP
|
||||
@@ -0,0 +1,377 @@
|
||||
# *******************************************************************************
|
||||
# *
|
||||
# * Copyright (C) 1995-2000, International Business Machines
|
||||
# * Corporation and others. All Rights Reserved.
|
||||
# *
|
||||
# *******************************************************************************
|
||||
#
|
||||
# File created on Mon Nov 13 09:28:04 2000
|
||||
#
|
||||
# File created by dtcocm version 3.00
|
||||
# from source files 34B00392.RPMAP100 and 039234B0.TPMAP100
|
||||
#
|
||||
# Table Version : 1.01
|
||||
#
|
||||
<code_set_name> "IBM-914"
|
||||
<char_name_mask> "AXXXX"
|
||||
<mb_cur_max> 1
|
||||
<mb_cur_min> 1
|
||||
<uconv_class> "SBCS"
|
||||
<subchar> \x1A
|
||||
#
|
||||
CHARMAP
|
||||
#
|
||||
#
|
||||
#ISO 10646 IBM-914
|
||||
#_________ _________
|
||||
<U0000> \x00 |0
|
||||
<U0001> \x01 |0
|
||||
<U0002> \x02 |0
|
||||
<U0003> \x03 |0
|
||||
<U0004> \x04 |0
|
||||
<U0005> \x05 |0
|
||||
<U0006> \x06 |0
|
||||
<U0007> \x07 |0
|
||||
<U0008> \x08 |0
|
||||
<U0009> \x09 |0
|
||||
<U000A> \x0A |0
|
||||
<U000B> \x0B |0
|
||||
<U000C> \x0C |0
|
||||
<U000D> \x0D |0
|
||||
<U000E> \x0E |0
|
||||
<U000F> \x0F |0
|
||||
<U0010> \x10 |0
|
||||
<U0011> \x11 |0
|
||||
<U0012> \x12 |0
|
||||
<U0013> \x13 |0
|
||||
<U0014> \x14 |0
|
||||
<U0015> \x15 |0
|
||||
<U0016> \x16 |0
|
||||
<U0017> \x17 |0
|
||||
<U0018> \x18 |0
|
||||
<U0019> \x19 |0
|
||||
<U001A> \x1A |0
|
||||
<U001B> \x1B |0
|
||||
<U001C> \x1C |0
|
||||
<U001D> \x1D |0
|
||||
<U001E> \x1E |0
|
||||
<U001F> \x1F |0
|
||||
<U0020> \x20 |0
|
||||
<U0021> \x21 |0
|
||||
<U0022> \x22 |0
|
||||
<U0023> \x23 |0
|
||||
<U0024> \x24 |0
|
||||
<U0025> \x25 |0
|
||||
<U0026> \x26 |0
|
||||
<U0027> \x27 |0
|
||||
<U0028> \x28 |0
|
||||
<U0029> \x29 |0
|
||||
<U002A> \x2A |0
|
||||
<U002B> \x2B |0
|
||||
<U002C> \x2C |0
|
||||
<U002D> \x2D |0
|
||||
<U002E> \x2E |0
|
||||
<U002F> \x2F |0
|
||||
<U0030> \x30 |0
|
||||
<U0031> \x31 |0
|
||||
<U0032> \x32 |0
|
||||
<U0033> \x33 |0
|
||||
<U0034> \x34 |0
|
||||
<U0035> \x35 |0
|
||||
<U0036> \x36 |0
|
||||
<U0037> \x37 |0
|
||||
<U0038> \x38 |0
|
||||
<U0039> \x39 |0
|
||||
<U003A> \x3A |0
|
||||
<U003B> \x3B |0
|
||||
<U003C> \x3C |0
|
||||
<U003D> \x3D |0
|
||||
<U003E> \x3E |0
|
||||
<U003F> \x3F |0
|
||||
<U0040> \x40 |0
|
||||
<U0041> \x41 |0
|
||||
<U0042> \x42 |0
|
||||
<U0043> \x43 |0
|
||||
<U0044> \x44 |0
|
||||
<U0045> \x45 |0
|
||||
<U0046> \x46 |0
|
||||
<U0047> \x47 |0
|
||||
<U0048> \x48 |0
|
||||
<U0049> \x49 |0
|
||||
<U004A> \x4A |0
|
||||
<U004B> \x4B |0
|
||||
<U004C> \x4C |0
|
||||
<U004D> \x4D |0
|
||||
<U004E> \x4E |0
|
||||
<U004F> \x4F |0
|
||||
<U0050> \x50 |0
|
||||
<U0051> \x51 |0
|
||||
<U0052> \x52 |0
|
||||
<U0053> \x53 |0
|
||||
<U0054> \x54 |0
|
||||
<U0055> \x55 |0
|
||||
<U0056> \x56 |0
|
||||
<U0057> \x57 |0
|
||||
<U0058> \x58 |0
|
||||
<U0059> \x59 |0
|
||||
<U005A> \x5A |0
|
||||
<U005B> \x5B |0
|
||||
<U005C> \x5C |0
|
||||
<U005D> \x5D |0
|
||||
<U005E> \x5E |0
|
||||
<U005F> \x5F |0
|
||||
<U0060> \x60 |0
|
||||
<U0061> \x61 |0
|
||||
<U0062> \x62 |0
|
||||
<U0063> \x63 |0
|
||||
<U0064> \x64 |0
|
||||
<U0065> \x65 |0
|
||||
<U0066> \x66 |0
|
||||
<U0067> \x67 |0
|
||||
<U0068> \x68 |0
|
||||
<U0069> \x69 |0
|
||||
<U006A> \x6A |0
|
||||
<U006B> \x6B |0
|
||||
<U006C> \x6C |0
|
||||
<U006D> \x6D |0
|
||||
<U006E> \x6E |0
|
||||
<U006F> \x6F |0
|
||||
<U0070> \x70 |0
|
||||
<U0071> \x71 |0
|
||||
<U0072> \x72 |0
|
||||
<U0073> \x73 |0
|
||||
<U0074> \x74 |0
|
||||
<U0075> \x75 |0
|
||||
<U0076> \x76 |0
|
||||
<U0077> \x77 |0
|
||||
<U0078> \x78 |0
|
||||
<U0079> \x79 |0
|
||||
<U007A> \x7A |0
|
||||
<U007B> \x7B |0
|
||||
<U007C> \x7C |0
|
||||
<U007D> \x7D |0
|
||||
<U007E> \x7E |0
|
||||
<U007F> \x7F |0
|
||||
<U0080> \x80 |0
|
||||
<U0081> \x81 |0
|
||||
<U0082> \x82 |0
|
||||
<U0083> \x83 |0
|
||||
<U0084> \x84 |0
|
||||
<U0085> \x85 |0
|
||||
<U0086> \x86 |0
|
||||
<U0087> \x87 |0
|
||||
<U0088> \x88 |0
|
||||
<U0089> \x89 |0
|
||||
<U008A> \x8A |0
|
||||
<U008B> \x8B |0
|
||||
<U008C> \x8C |0
|
||||
<U008D> \x8D |0
|
||||
<U008E> \x8E |0
|
||||
<U008F> \x8F |0
|
||||
<U0090> \x90 |0
|
||||
<U0091> \x91 |0
|
||||
<U0092> \x92 |0
|
||||
<U0093> \x93 |0
|
||||
<U0094> \x94 |0
|
||||
<U0095> \x95 |0
|
||||
<U0096> \x96 |0
|
||||
<U0097> \x97 |0
|
||||
<U0098> \x98 |0
|
||||
<U0099> \x99 |0
|
||||
<U009A> \x9A |0
|
||||
<U009B> \x9B |0
|
||||
<U009C> \x9C |0
|
||||
<U009D> \x9D |0
|
||||
<U009E> \x9E |0
|
||||
<U009F> \x9F |0
|
||||
<U00A0> \xA0 |0
|
||||
<U00A4> \xA4 |0
|
||||
<U00A7> \xA7 |0
|
||||
<U00A8> \xA8 |0
|
||||
<U00AD> \xAD |0
|
||||
<U00AF> \xAF |0
|
||||
<U00B0> \xB0 |0
|
||||
<U00B4> \xB4 |0
|
||||
<U00B8> \xB8 |0
|
||||
<U00C1> \xC1 |0
|
||||
<U00C2> \xC2 |0
|
||||
<U00C3> \xC3 |0
|
||||
<U00C4> \xC4 |0
|
||||
<U00C5> \xC5 |0
|
||||
<U00C6> \xC6 |0
|
||||
<U00C9> \xC9 |0
|
||||
<U00CB> \xCB |0
|
||||
<U00CD> \xCD |0
|
||||
<U00CE> \xCE |0
|
||||
<U00D4> \xD4 |0
|
||||
<U00D5> \xD5 |0
|
||||
<U00D6> \xD6 |0
|
||||
<U00D7> \xD7 |0
|
||||
<U00D8> \xD8 |0
|
||||
<U00DA> \xDA |0
|
||||
<U00DB> \xDB |0
|
||||
<U00DC> \xDC |0
|
||||
<U00DF> \xDF |0
|
||||
<U00E1> \xE1 |0
|
||||
<U00E2> \xE2 |0
|
||||
<U00E3> \xE3 |0
|
||||
<U00E4> \xE4 |0
|
||||
<U00E5> \xE5 |0
|
||||
<U00E6> \xE6 |0
|
||||
<U00E9> \xE9 |0
|
||||
<U00EB> \xEB |0
|
||||
<U00ED> \xED |0
|
||||
<U00EE> \xEE |0
|
||||
<U00F4> \xF4 |0
|
||||
<U00F5> \xF5 |0
|
||||
<U00F6> \xF6 |0
|
||||
<U00F7> \xF7 |0
|
||||
<U00F8> \xF8 |0
|
||||
<U00FA> \xFA |0
|
||||
<U00FB> \xFB |0
|
||||
<U00FC> \xFC |0
|
||||
<U0100> \xC0 |0
|
||||
<U0101> \xE0 |0
|
||||
<U0104> \xA1 |0
|
||||
<U0105> \xB1 |0
|
||||
<U010C> \xC8 |0
|
||||
<U010D> \xE8 |0
|
||||
<U0110> \xD0 |0
|
||||
<U0111> \xF0 |0
|
||||
<U0112> \xAA |0
|
||||
<U0113> \xBA |0
|
||||
<U0116> \xCC |0
|
||||
<U0117> \xEC |0
|
||||
<U0118> \xCA |0
|
||||
<U0119> \xEA |0
|
||||
<U0122> \xAB |0
|
||||
<U0123> \xBB |0
|
||||
<U0128> \xA5 |0
|
||||
<U0129> \xB5 |0
|
||||
<U012A> \xCF |0
|
||||
<U012B> \xEF |0
|
||||
<U012E> \xC7 |0
|
||||
<U012F> \xE7 |0
|
||||
<U0136> \xD3 |0
|
||||
<U0137> \xF3 |0
|
||||
<U0138> \xA2 |0
|
||||
<U013B> \xA6 |0
|
||||
<U013C> \xB6 |0
|
||||
<U0145> \xD1 |0
|
||||
<U0146> \xF1 |0
|
||||
<U014A> \xBD |0
|
||||
<U014B> \xBF |0
|
||||
<U014C> \xD2 |0
|
||||
<U014D> \xF2 |0
|
||||
<U0156> \xA3 |0
|
||||
<U0157> \xB3 |0
|
||||
<U0160> \xA9 |0
|
||||
<U0161> \xB9 |0
|
||||
<U0166> \xAC |0
|
||||
<U0167> \xBC |0
|
||||
<U0168> \xDD |0
|
||||
<U0169> \xFD |0
|
||||
<U016A> \xDE |0
|
||||
<U016B> \xFE |0
|
||||
<U0172> \xD9 |0
|
||||
<U0173> \xF9 |0
|
||||
<U017D> \xAE |0
|
||||
<U017E> \xBE |0
|
||||
<U02C7> \xB7 |0
|
||||
<U02D9> \xFF |0
|
||||
<U02DB> \xB2 |0
|
||||
<UFF01> \x21 |1
|
||||
<UFF02> \x22 |1
|
||||
<UFF03> \x23 |1
|
||||
<UFF04> \x24 |1
|
||||
<UFF05> \x25 |1
|
||||
<UFF06> \x26 |1
|
||||
<UFF07> \x27 |1
|
||||
<UFF08> \x28 |1
|
||||
<UFF09> \x29 |1
|
||||
<UFF0A> \x2A |1
|
||||
<UFF0B> \x2B |1
|
||||
<UFF0C> \x2C |1
|
||||
<UFF0D> \x2D |1
|
||||
<UFF0E> \x2E |1
|
||||
<UFF0F> \x2F |1
|
||||
<UFF10> \x30 |1
|
||||
<UFF11> \x31 |1
|
||||
<UFF12> \x32 |1
|
||||
<UFF13> \x33 |1
|
||||
<UFF14> \x34 |1
|
||||
<UFF15> \x35 |1
|
||||
<UFF16> \x36 |1
|
||||
<UFF17> \x37 |1
|
||||
<UFF18> \x38 |1
|
||||
<UFF19> \x39 |1
|
||||
<UFF1A> \x3A |1
|
||||
<UFF1B> \x3B |1
|
||||
<UFF1C> \x3C |1
|
||||
<UFF1D> \x3D |1
|
||||
<UFF1E> \x3E |1
|
||||
<UFF1F> \x3F |1
|
||||
<UFF20> \x40 |1
|
||||
<UFF21> \x41 |1
|
||||
<UFF22> \x42 |1
|
||||
<UFF23> \x43 |1
|
||||
<UFF24> \x44 |1
|
||||
<UFF25> \x45 |1
|
||||
<UFF26> \x46 |1
|
||||
<UFF27> \x47 |1
|
||||
<UFF28> \x48 |1
|
||||
<UFF29> \x49 |1
|
||||
<UFF2A> \x4A |1
|
||||
<UFF2B> \x4B |1
|
||||
<UFF2C> \x4C |1
|
||||
<UFF2D> \x4D |1
|
||||
<UFF2E> \x4E |1
|
||||
<UFF2F> \x4F |1
|
||||
<UFF30> \x50 |1
|
||||
<UFF31> \x51 |1
|
||||
<UFF32> \x52 |1
|
||||
<UFF33> \x53 |1
|
||||
<UFF34> \x54 |1
|
||||
<UFF35> \x55 |1
|
||||
<UFF36> \x56 |1
|
||||
<UFF37> \x57 |1
|
||||
<UFF38> \x58 |1
|
||||
<UFF39> \x59 |1
|
||||
<UFF3A> \x5A |1
|
||||
<UFF3B> \x5B |1
|
||||
<UFF3C> \x5C |1
|
||||
<UFF3D> \x5D |1
|
||||
<UFF3E> \x5E |1
|
||||
<UFF3F> \x5F |1
|
||||
<UFF40> \x60 |1
|
||||
<UFF41> \x61 |1
|
||||
<UFF42> \x62 |1
|
||||
<UFF43> \x63 |1
|
||||
<UFF44> \x64 |1
|
||||
<UFF45> \x65 |1
|
||||
<UFF46> \x66 |1
|
||||
<UFF47> \x67 |1
|
||||
<UFF48> \x68 |1
|
||||
<UFF49> \x69 |1
|
||||
<UFF4A> \x6A |1
|
||||
<UFF4B> \x6B |1
|
||||
<UFF4C> \x6C |1
|
||||
<UFF4D> \x6D |1
|
||||
<UFF4E> \x6E |1
|
||||
<UFF4F> \x6F |1
|
||||
<UFF50> \x70 |1
|
||||
<UFF51> \x71 |1
|
||||
<UFF52> \x72 |1
|
||||
<UFF53> \x73 |1
|
||||
<UFF54> \x74 |1
|
||||
<UFF55> \x75 |1
|
||||
<UFF56> \x76 |1
|
||||
<UFF57> \x77 |1
|
||||
<UFF58> \x78 |1
|
||||
<UFF59> \x79 |1
|
||||
<UFF5A> \x7A |1
|
||||
<UFF5B> \x7B |1
|
||||
<UFF5C> \x7C |1
|
||||
<UFF5D> \x7D |1
|
||||
<UFF5E> \x7E |1
|
||||
END CHARMAP
|
||||
@@ -0,0 +1,377 @@
|
||||
# *******************************************************************************
|
||||
# *
|
||||
# * Copyright (C) 1995-2000, International Business Machines
|
||||
# * Corporation and others. All Rights Reserved.
|
||||
# *
|
||||
# *******************************************************************************
|
||||
#
|
||||
# File created on Mon Nov 13 09:28:04 2000
|
||||
#
|
||||
# File created by dtcocm version 3.00
|
||||
# from source files 34B00393.RPMAP100 and 039334B0.TPMAP100
|
||||
#
|
||||
# Table Version : 1.01
|
||||
#
|
||||
<code_set_name> "IBM-915"
|
||||
<char_name_mask> "AXXXX"
|
||||
<mb_cur_max> 1
|
||||
<mb_cur_min> 1
|
||||
<uconv_class> "SBCS"
|
||||
<subchar> \x1A
|
||||
#
|
||||
CHARMAP
|
||||
#
|
||||
#
|
||||
#ISO 10646 IBM-915
|
||||
#_________ _________
|
||||
<U0000> \x00 |0
|
||||
<U0001> \x01 |0
|
||||
<U0002> \x02 |0
|
||||
<U0003> \x03 |0
|
||||
<U0004> \x04 |0
|
||||
<U0005> \x05 |0
|
||||
<U0006> \x06 |0
|
||||
<U0007> \x07 |0
|
||||
<U0008> \x08 |0
|
||||
<U0009> \x09 |0
|
||||
<U000A> \x0A |0
|
||||
<U000B> \x0B |0
|
||||
<U000C> \x0C |0
|
||||
<U000D> \x0D |0
|
||||
<U000E> \x0E |0
|
||||
<U000F> \x0F |0
|
||||
<U0010> \x10 |0
|
||||
<U0011> \x11 |0
|
||||
<U0012> \x12 |0
|
||||
<U0013> \x13 |0
|
||||
<U0014> \x14 |0
|
||||
<U0015> \x15 |0
|
||||
<U0016> \x16 |0
|
||||
<U0017> \x17 |0
|
||||
<U0018> \x18 |0
|
||||
<U0019> \x19 |0
|
||||
<U001A> \x1A |0
|
||||
<U001B> \x1B |0
|
||||
<U001C> \x1C |0
|
||||
<U001D> \x1D |0
|
||||
<U001E> \x1E |0
|
||||
<U001F> \x1F |0
|
||||
<U0020> \x20 |0
|
||||
<U0021> \x21 |0
|
||||
<U0022> \x22 |0
|
||||
<U0023> \x23 |0
|
||||
<U0024> \x24 |0
|
||||
<U0025> \x25 |0
|
||||
<U0026> \x26 |0
|
||||
<U0027> \x27 |0
|
||||
<U0028> \x28 |0
|
||||
<U0029> \x29 |0
|
||||
<U002A> \x2A |0
|
||||
<U002B> \x2B |0
|
||||
<U002C> \x2C |0
|
||||
<U002D> \x2D |0
|
||||
<U002E> \x2E |0
|
||||
<U002F> \x2F |0
|
||||
<U0030> \x30 |0
|
||||
<U0031> \x31 |0
|
||||
<U0032> \x32 |0
|
||||
<U0033> \x33 |0
|
||||
<U0034> \x34 |0
|
||||
<U0035> \x35 |0
|
||||
<U0036> \x36 |0
|
||||
<U0037> \x37 |0
|
||||
<U0038> \x38 |0
|
||||
<U0039> \x39 |0
|
||||
<U003A> \x3A |0
|
||||
<U003B> \x3B |0
|
||||
<U003C> \x3C |0
|
||||
<U003D> \x3D |0
|
||||
<U003E> \x3E |0
|
||||
<U003F> \x3F |0
|
||||
<U0040> \x40 |0
|
||||
<U0041> \x41 |0
|
||||
<U0042> \x42 |0
|
||||
<U0043> \x43 |0
|
||||
<U0044> \x44 |0
|
||||
<U0045> \x45 |0
|
||||
<U0046> \x46 |0
|
||||
<U0047> \x47 |0
|
||||
<U0048> \x48 |0
|
||||
<U0049> \x49 |0
|
||||
<U004A> \x4A |0
|
||||
<U004B> \x4B |0
|
||||
<U004C> \x4C |0
|
||||
<U004D> \x4D |0
|
||||
<U004E> \x4E |0
|
||||
<U004F> \x4F |0
|
||||
<U0050> \x50 |0
|
||||
<U0051> \x51 |0
|
||||
<U0052> \x52 |0
|
||||
<U0053> \x53 |0
|
||||
<U0054> \x54 |0
|
||||
<U0055> \x55 |0
|
||||
<U0056> \x56 |0
|
||||
<U0057> \x57 |0
|
||||
<U0058> \x58 |0
|
||||
<U0059> \x59 |0
|
||||
<U005A> \x5A |0
|
||||
<U005B> \x5B |0
|
||||
<U005C> \x5C |0
|
||||
<U005D> \x5D |0
|
||||
<U005E> \x5E |0
|
||||
<U005F> \x5F |0
|
||||
<U0060> \x60 |0
|
||||
<U0061> \x61 |0
|
||||
<U0062> \x62 |0
|
||||
<U0063> \x63 |0
|
||||
<U0064> \x64 |0
|
||||
<U0065> \x65 |0
|
||||
<U0066> \x66 |0
|
||||
<U0067> \x67 |0
|
||||
<U0068> \x68 |0
|
||||
<U0069> \x69 |0
|
||||
<U006A> \x6A |0
|
||||
<U006B> \x6B |0
|
||||
<U006C> \x6C |0
|
||||
<U006D> \x6D |0
|
||||
<U006E> \x6E |0
|
||||
<U006F> \x6F |0
|
||||
<U0070> \x70 |0
|
||||
<U0071> \x71 |0
|
||||
<U0072> \x72 |0
|
||||
<U0073> \x73 |0
|
||||
<U0074> \x74 |0
|
||||
<U0075> \x75 |0
|
||||
<U0076> \x76 |0
|
||||
<U0077> \x77 |0
|
||||
<U0078> \x78 |0
|
||||
<U0079> \x79 |0
|
||||
<U007A> \x7A |0
|
||||
<U007B> \x7B |0
|
||||
<U007C> \x7C |0
|
||||
<U007D> \x7D |0
|
||||
<U007E> \x7E |0
|
||||
<U007F> \x7F |0
|
||||
<U0080> \x80 |0
|
||||
<U0081> \x81 |0
|
||||
<U0082> \x82 |0
|
||||
<U0083> \x83 |0
|
||||
<U0084> \x84 |0
|
||||
<U0085> \x85 |0
|
||||
<U0086> \x86 |0
|
||||
<U0087> \x87 |0
|
||||
<U0088> \x88 |0
|
||||
<U0089> \x89 |0
|
||||
<U008A> \x8A |0
|
||||
<U008B> \x8B |0
|
||||
<U008C> \x8C |0
|
||||
<U008D> \x8D |0
|
||||
<U008E> \x8E |0
|
||||
<U008F> \x8F |0
|
||||
<U0090> \x90 |0
|
||||
<U0091> \x91 |0
|
||||
<U0092> \x92 |0
|
||||
<U0093> \x93 |0
|
||||
<U0094> \x94 |0
|
||||
<U0095> \x95 |0
|
||||
<U0096> \x96 |0
|
||||
<U0097> \x97 |0
|
||||
<U0098> \x98 |0
|
||||
<U0099> \x99 |0
|
||||
<U009A> \x9A |0
|
||||
<U009B> \x9B |0
|
||||
<U009C> \x9C |0
|
||||
<U009D> \x9D |0
|
||||
<U009E> \x9E |0
|
||||
<U009F> \x9F |0
|
||||
<U00A0> \xA0 |0
|
||||
<U00A7> \xFD |0
|
||||
<U00AD> \xAD |0
|
||||
<U0401> \xA1 |0
|
||||
<U0402> \xA2 |0
|
||||
<U0403> \xA3 |0
|
||||
<U0404> \xA4 |0
|
||||
<U0405> \xA5 |0
|
||||
<U0406> \xA6 |0
|
||||
<U0407> \xA7 |0
|
||||
<U0408> \xA8 |0
|
||||
<U0409> \xA9 |0
|
||||
<U040A> \xAA |0
|
||||
<U040B> \xAB |0
|
||||
<U040C> \xAC |0
|
||||
<U040E> \xAE |0
|
||||
<U040F> \xAF |0
|
||||
<U0410> \xB0 |0
|
||||
<U0411> \xB1 |0
|
||||
<U0412> \xB2 |0
|
||||
<U0413> \xB3 |0
|
||||
<U0414> \xB4 |0
|
||||
<U0415> \xB5 |0
|
||||
<U0416> \xB6 |0
|
||||
<U0417> \xB7 |0
|
||||
<U0418> \xB8 |0
|
||||
<U0419> \xB9 |0
|
||||
<U041A> \xBA |0
|
||||
<U041B> \xBB |0
|
||||
<U041C> \xBC |0
|
||||
<U041D> \xBD |0
|
||||
<U041E> \xBE |0
|
||||
<U041F> \xBF |0
|
||||
<U0420> \xC0 |0
|
||||
<U0421> \xC1 |0
|
||||
<U0422> \xC2 |0
|
||||
<U0423> \xC3 |0
|
||||
<U0424> \xC4 |0
|
||||
<U0425> \xC5 |0
|
||||
<U0426> \xC6 |0
|
||||
<U0427> \xC7 |0
|
||||
<U0428> \xC8 |0
|
||||
<U0429> \xC9 |0
|
||||
<U042A> \xCA |0
|
||||
<U042B> \xCB |0
|
||||
<U042C> \xCC |0
|
||||
<U042D> \xCD |0
|
||||
<U042E> \xCE |0
|
||||
<U042F> \xCF |0
|
||||
<U0430> \xD0 |0
|
||||
<U0431> \xD1 |0
|
||||
<U0432> \xD2 |0
|
||||
<U0433> \xD3 |0
|
||||
<U0434> \xD4 |0
|
||||
<U0435> \xD5 |0
|
||||
<U0436> \xD6 |0
|
||||
<U0437> \xD7 |0
|
||||
<U0438> \xD8 |0
|
||||
<U0439> \xD9 |0
|
||||
<U043A> \xDA |0
|
||||
<U043B> \xDB |0
|
||||
<U043C> \xDC |0
|
||||
<U043D> \xDD |0
|
||||
<U043E> \xDE |0
|
||||
<U043F> \xDF |0
|
||||
<U0440> \xE0 |0
|
||||
<U0441> \xE1 |0
|
||||
<U0442> \xE2 |0
|
||||
<U0443> \xE3 |0
|
||||
<U0444> \xE4 |0
|
||||
<U0445> \xE5 |0
|
||||
<U0446> \xE6 |0
|
||||
<U0447> \xE7 |0
|
||||
<U0448> \xE8 |0
|
||||
<U0449> \xE9 |0
|
||||
<U044A> \xEA |0
|
||||
<U044B> \xEB |0
|
||||
<U044C> \xEC |0
|
||||
<U044D> \xED |0
|
||||
<U044E> \xEE |0
|
||||
<U044F> \xEF |0
|
||||
<U0451> \xF1 |0
|
||||
<U0452> \xF2 |0
|
||||
<U0453> \xF3 |0
|
||||
<U0454> \xF4 |0
|
||||
<U0455> \xF5 |0
|
||||
<U0456> \xF6 |0
|
||||
<U0457> \xF7 |0
|
||||
<U0458> \xF8 |0
|
||||
<U0459> \xF9 |0
|
||||
<U045A> \xFA |0
|
||||
<U045B> \xFB |0
|
||||
<U045C> \xFC |0
|
||||
<U045E> \xFE |0
|
||||
<U045F> \xFF |0
|
||||
<U2116> \xF0 |0
|
||||
<UFF01> \x21 |1
|
||||
<UFF02> \x22 |1
|
||||
<UFF03> \x23 |1
|
||||
<UFF04> \x24 |1
|
||||
<UFF05> \x25 |1
|
||||
<UFF06> \x26 |1
|
||||
<UFF07> \x27 |1
|
||||
<UFF08> \x28 |1
|
||||
<UFF09> \x29 |1
|
||||
<UFF0A> \x2A |1
|
||||
<UFF0B> \x2B |1
|
||||
<UFF0C> \x2C |1
|
||||
<UFF0D> \x2D |1
|
||||
<UFF0E> \x2E |1
|
||||
<UFF0F> \x2F |1
|
||||
<UFF10> \x30 |1
|
||||
<UFF11> \x31 |1
|
||||
<UFF12> \x32 |1
|
||||
<UFF13> \x33 |1
|
||||
<UFF14> \x34 |1
|
||||
<UFF15> \x35 |1
|
||||
<UFF16> \x36 |1
|
||||
<UFF17> \x37 |1
|
||||
<UFF18> \x38 |1
|
||||
<UFF19> \x39 |1
|
||||
<UFF1A> \x3A |1
|
||||
<UFF1B> \x3B |1
|
||||
<UFF1C> \x3C |1
|
||||
<UFF1D> \x3D |1
|
||||
<UFF1E> \x3E |1
|
||||
<UFF1F> \x3F |1
|
||||
<UFF20> \x40 |1
|
||||
<UFF21> \x41 |1
|
||||
<UFF22> \x42 |1
|
||||
<UFF23> \x43 |1
|
||||
<UFF24> \x44 |1
|
||||
<UFF25> \x45 |1
|
||||
<UFF26> \x46 |1
|
||||
<UFF27> \x47 |1
|
||||
<UFF28> \x48 |1
|
||||
<UFF29> \x49 |1
|
||||
<UFF2A> \x4A |1
|
||||
<UFF2B> \x4B |1
|
||||
<UFF2C> \x4C |1
|
||||
<UFF2D> \x4D |1
|
||||
<UFF2E> \x4E |1
|
||||
<UFF2F> \x4F |1
|
||||
<UFF30> \x50 |1
|
||||
<UFF31> \x51 |1
|
||||
<UFF32> \x52 |1
|
||||
<UFF33> \x53 |1
|
||||
<UFF34> \x54 |1
|
||||
<UFF35> \x55 |1
|
||||
<UFF36> \x56 |1
|
||||
<UFF37> \x57 |1
|
||||
<UFF38> \x58 |1
|
||||
<UFF39> \x59 |1
|
||||
<UFF3A> \x5A |1
|
||||
<UFF3B> \x5B |1
|
||||
<UFF3C> \x5C |1
|
||||
<UFF3D> \x5D |1
|
||||
<UFF3E> \x5E |1
|
||||
<UFF3F> \x5F |1
|
||||
<UFF40> \x60 |1
|
||||
<UFF41> \x61 |1
|
||||
<UFF42> \x62 |1
|
||||
<UFF43> \x63 |1
|
||||
<UFF44> \x64 |1
|
||||
<UFF45> \x65 |1
|
||||
<UFF46> \x66 |1
|
||||
<UFF47> \x67 |1
|
||||
<UFF48> \x68 |1
|
||||
<UFF49> \x69 |1
|
||||
<UFF4A> \x6A |1
|
||||
<UFF4B> \x6B |1
|
||||
<UFF4C> \x6C |1
|
||||
<UFF4D> \x6D |1
|
||||
<UFF4E> \x6E |1
|
||||
<UFF4F> \x6F |1
|
||||
<UFF50> \x70 |1
|
||||
<UFF51> \x71 |1
|
||||
<UFF52> \x72 |1
|
||||
<UFF53> \x73 |1
|
||||
<UFF54> \x74 |1
|
||||
<UFF55> \x75 |1
|
||||
<UFF56> \x76 |1
|
||||
<UFF57> \x77 |1
|
||||
<UFF58> \x78 |1
|
||||
<UFF59> \x79 |1
|
||||
<UFF5A> \x7A |1
|
||||
<UFF5B> \x7B |1
|
||||
<UFF5C> \x7C |1
|
||||
<UFF5D> \x7D |1
|
||||
<UFF5E> \x7E |1
|
||||
END CHARMAP
|
||||
@@ -0,0 +1,363 @@
|
||||
% This file is a combination of the glibc-2.2.5 charmap for
|
||||
% koi8-u, adjusted to IBM's UCM syntax, with extra characters
|
||||
% added for full-width Latin 1 -- Rhys Weatherley, 17 April 2002.
|
||||
|
||||
<code_set_name> KOI8-U
|
||||
<comment_char> %
|
||||
<escape_char> /
|
||||
% version: 1.1
|
||||
% source: RFC 2319
|
||||
% source: http://www.net.ua/KOI8-U/
|
||||
|
||||
CHARMAP
|
||||
<U0000> \x00 |0 NULL (NUL)
|
||||
<U0001> \x01 |0 START OF HEADING (SOH)
|
||||
<U0002> \x02 |0 START OF TEXT (STX)
|
||||
<U0003> \x03 |0 END OF TEXT (ETX)
|
||||
<U0004> \x04 |0 END OF TRANSMISSION (EOT)
|
||||
<U0005> \x05 |0 ENQUIRY (ENQ)
|
||||
<U0006> \x06 |0 ACKNOWLEDGE (ACK)
|
||||
<U0007> \x07 |0 BELL (BEL)
|
||||
<U0008> \x08 |0 BACKSPACE (BS)
|
||||
<U0009> \x09 |0 CHARACTER TABULATION (HT)
|
||||
<U000A> \x0a |0 LINE FEED (LF)
|
||||
<U000B> \x0b |0 LINE TABULATION (VT)
|
||||
<U000C> \x0c |0 FORM FEED (FF)
|
||||
<U000D> \x0d |0 CARRIAGE RETURN (CR)
|
||||
<U000E> \x0e |0 SHIFT OUT (SO)
|
||||
<U000F> \x0f |0 SHIFT IN (SI)
|
||||
<U0010> \x10 |0 DATALINK ESCAPE (DLE)
|
||||
<U0011> \x11 |0 DEVICE CONTROL ONE (DC1)
|
||||
<U0012> \x12 |0 DEVICE CONTROL TWO (DC2)
|
||||
<U0013> \x13 |0 DEVICE CONTROL THREE (DC3)
|
||||
<U0014> \x14 |0 DEVICE CONTROL FOUR (DC4)
|
||||
<U0015> \x15 |0 NEGATIVE ACKNOWLEDGE (NAK)
|
||||
<U0016> \x16 |0 SYNCHRONOUS IDLE (SYN)
|
||||
<U0017> \x17 |0 END OF TRANSMISSION BLOCK (ETB)
|
||||
<U0018> \x18 |0 CANCEL (CAN)
|
||||
<U0019> \x19 |0 END OF MEDIUM (EM)
|
||||
<U001A> \x1a |0 SUBSTITUTE (SUB)
|
||||
<U001B> \x1b |0 ESCAPE (ESC)
|
||||
<U001C> \x1c |0 FILE SEPARATOR (IS4)
|
||||
<U001D> \x1d |0 GROUP SEPARATOR (IS3)
|
||||
<U001E> \x1e |0 RECORD SEPARATOR (IS2)
|
||||
<U001F> \x1f |0 UNIT SEPARATOR (IS1)
|
||||
<U0020> \x20 |0 SPACE
|
||||
<U0021> \x21 |0 EXCLAMATION MARK
|
||||
<U0022> \x22 |0 QUOTATION MARK
|
||||
<U0023> \x23 |0 NUMBER SIGN
|
||||
<U0024> \x24 |0 DOLLAR SIGN
|
||||
<U0025> \x25 |0 PERCENT SIGN
|
||||
<U0026> \x26 |0 AMPERSAND
|
||||
<U0027> \x27 |0 APOSTROPHE
|
||||
<U0028> \x28 |0 LEFT PARENTHESIS
|
||||
<U0029> \x29 |0 RIGHT PARENTHESIS
|
||||
<U002A> \x2a |0 ASTERISK
|
||||
<U002B> \x2b |0 PLUS SIGN
|
||||
<U002C> \x2c |0 COMMA
|
||||
<U002D> \x2d |0 HYPHEN-MINUS
|
||||
<U002E> \x2e |0 FULL STOP
|
||||
<U002F> \x2f |0 SOLIDUS
|
||||
<U0030> \x30 |0 DIGIT ZERO
|
||||
<U0031> \x31 |0 DIGIT ONE
|
||||
<U0032> \x32 |0 DIGIT TWO
|
||||
<U0033> \x33 |0 DIGIT THREE
|
||||
<U0034> \x34 |0 DIGIT FOUR
|
||||
<U0035> \x35 |0 DIGIT FIVE
|
||||
<U0036> \x36 |0 DIGIT SIX
|
||||
<U0037> \x37 |0 DIGIT SEVEN
|
||||
<U0038> \x38 |0 DIGIT EIGHT
|
||||
<U0039> \x39 |0 DIGIT NINE
|
||||
<U003A> \x3a |0 COLON
|
||||
<U003B> \x3b |0 SEMICOLON
|
||||
<U003C> \x3c |0 LESS-THAN SIGN
|
||||
<U003D> \x3d |0 EQUALS SIGN
|
||||
<U003E> \x3e |0 GREATER-THAN SIGN
|
||||
<U003F> \x3f |0 QUESTION MARK
|
||||
<U0040> \x40 |0 COMMERCIAL AT
|
||||
<U0041> \x41 |0 LATIN CAPITAL LETTER A
|
||||
<U0042> \x42 |0 LATIN CAPITAL LETTER B
|
||||
<U0043> \x43 |0 LATIN CAPITAL LETTER C
|
||||
<U0044> \x44 |0 LATIN CAPITAL LETTER D
|
||||
<U0045> \x45 |0 LATIN CAPITAL LETTER E
|
||||
<U0046> \x46 |0 LATIN CAPITAL LETTER F
|
||||
<U0047> \x47 |0 LATIN CAPITAL LETTER G
|
||||
<U0048> \x48 |0 LATIN CAPITAL LETTER H
|
||||
<U0049> \x49 |0 LATIN CAPITAL LETTER I
|
||||
<U004A> \x4a |0 LATIN CAPITAL LETTER J
|
||||
<U004B> \x4b |0 LATIN CAPITAL LETTER K
|
||||
<U004C> \x4c |0 LATIN CAPITAL LETTER L
|
||||
<U004D> \x4d |0 LATIN CAPITAL LETTER M
|
||||
<U004E> \x4e |0 LATIN CAPITAL LETTER N
|
||||
<U004F> \x4f |0 LATIN CAPITAL LETTER O
|
||||
<U0050> \x50 |0 LATIN CAPITAL LETTER P
|
||||
<U0051> \x51 |0 LATIN CAPITAL LETTER Q
|
||||
<U0052> \x52 |0 LATIN CAPITAL LETTER R
|
||||
<U0053> \x53 |0 LATIN CAPITAL LETTER S
|
||||
<U0054> \x54 |0 LATIN CAPITAL LETTER T
|
||||
<U0055> \x55 |0 LATIN CAPITAL LETTER U
|
||||
<U0056> \x56 |0 LATIN CAPITAL LETTER V
|
||||
<U0057> \x57 |0 LATIN CAPITAL LETTER W
|
||||
<U0058> \x58 |0 LATIN CAPITAL LETTER X
|
||||
<U0059> \x59 |0 LATIN CAPITAL LETTER Y
|
||||
<U005A> \x5a |0 LATIN CAPITAL LETTER Z
|
||||
<U005B> \x5b |0 LEFT SQUARE BRACKET
|
||||
<U005C> \x5c |0 REVERSE SOLIDUS
|
||||
<U005D> \x5d |0 RIGHT SQUARE BRACKET
|
||||
<U005E> \x5e |0 CIRCUMFLEX ACCENT
|
||||
<U005F> \x5f |0 LOW LINE
|
||||
<U0060> \x60 |0 GRAVE ACCENT
|
||||
<U0061> \x61 |0 LATIN SMALL LETTER A
|
||||
<U0062> \x62 |0 LATIN SMALL LETTER B
|
||||
<U0063> \x63 |0 LATIN SMALL LETTER C
|
||||
<U0064> \x64 |0 LATIN SMALL LETTER D
|
||||
<U0065> \x65 |0 LATIN SMALL LETTER E
|
||||
<U0066> \x66 |0 LATIN SMALL LETTER F
|
||||
<U0067> \x67 |0 LATIN SMALL LETTER G
|
||||
<U0068> \x68 |0 LATIN SMALL LETTER H
|
||||
<U0069> \x69 |0 LATIN SMALL LETTER I
|
||||
<U006A> \x6a |0 LATIN SMALL LETTER J
|
||||
<U006B> \x6b |0 LATIN SMALL LETTER K
|
||||
<U006C> \x6c |0 LATIN SMALL LETTER L
|
||||
<U006D> \x6d |0 LATIN SMALL LETTER M
|
||||
<U006E> \x6e |0 LATIN SMALL LETTER N
|
||||
<U006F> \x6f |0 LATIN SMALL LETTER O
|
||||
<U0070> \x70 |0 LATIN SMALL LETTER P
|
||||
<U0071> \x71 |0 LATIN SMALL LETTER Q
|
||||
<U0072> \x72 |0 LATIN SMALL LETTER R
|
||||
<U0073> \x73 |0 LATIN SMALL LETTER S
|
||||
<U0074> \x74 |0 LATIN SMALL LETTER T
|
||||
<U0075> \x75 |0 LATIN SMALL LETTER U
|
||||
<U0076> \x76 |0 LATIN SMALL LETTER V
|
||||
<U0077> \x77 |0 LATIN SMALL LETTER W
|
||||
<U0078> \x78 |0 LATIN SMALL LETTER X
|
||||
<U0079> \x79 |0 LATIN SMALL LETTER Y
|
||||
<U007A> \x7a |0 LATIN SMALL LETTER Z
|
||||
<U007B> \x7b |0 LEFT CURLY BRACKET
|
||||
<U007C> \x7c |0 VERTICAL LINE
|
||||
<U007D> \x7d |0 RIGHT CURLY BRACKET
|
||||
<U007E> \x7e |0 TILDE
|
||||
<U007F> \x7f |0 DELETE (DEL)
|
||||
<U2500> \x80 |0 BOX DRAWINGS LIGHT HORIZONTAL
|
||||
<U2502> \x81 |0 BOX DRAWINGS LIGHT VERTICAL
|
||||
<U250C> \x82 |0 BOX DRAWINGS LIGHT DOWN AND RIGHT
|
||||
<U2510> \x83 |0 BOX DRAWINGS LIGHT DOWN AND LEFT
|
||||
<U2514> \x84 |0 BOX DRAWINGS LIGHT UP AND RIGHT
|
||||
<U2518> \x85 |0 BOX DRAWINGS LIGHT UP AND LEFT
|
||||
<U251C> \x86 |0 BOX DRAWINGS LIGHT VERTICAL AND RIGHT
|
||||
<U2524> \x87 |0 BOX DRAWINGS LIGHT VERTICAL AND LEFT
|
||||
<U252C> \x88 |0 BOX DRAWINGS LIGHT DOWN AND HORIZONTAL
|
||||
<U2534> \x89 |0 BOX DRAWINGS LIGHT UP AND HORIZONTAL
|
||||
<U253C> \x8a |0 BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL
|
||||
<U2580> \x8b |0 UPPER HALF BLOCK
|
||||
<U2584> \x8c |0 LOWER HALF BLOCK
|
||||
<U2588> \x8d |0 FULL BLOCK
|
||||
<U258C> \x8e |0 LEFT HALF BLOCK
|
||||
<U2590> \x8f |0 RIGHT HALF BLOCK
|
||||
<U2591> \x90 |0 LIGHT SHADE
|
||||
<U2592> \x91 |0 MEDIUM SHADE
|
||||
<U2593> \x92 |0 DARK SHADE
|
||||
<U2320> \x93 |0 TOP HALF INTEGRAL
|
||||
<U25A0> \x94 |0 BLACK SQUARE
|
||||
<U2219> \x95 |0 BULLET OPERATOR
|
||||
<U221A> \x96 |0 SQUARE ROOT
|
||||
<U2248> \x97 |0 ALMOST EQUAL TO
|
||||
<U2264> \x98 |0 LESS THAN OR EQUAL TO
|
||||
<U2265> \x99 |0 GREATER THAN OR EQUAL TO
|
||||
<U00A0> \x9a |0 NO-BREAK SPACE
|
||||
<U2321> \x9b |0 BOTTOM HALF INTEGRAL
|
||||
<U00B0> \x9c |0 DEGREE SIGN
|
||||
<U00B2> \x9d |0 SUPERSCRIPT DIGIT TWO
|
||||
<U00B7> \x9e |0 MIDDLE DOT
|
||||
<U00F7> \x9f |0 DIVISION SIGN
|
||||
<U2550> \xa0 |0 BOX DRAWINGS DOUBLE HORIZONTAL
|
||||
<U2551> \xa1 |0 BOX DRAWINGS DOUBLE VERTICAL
|
||||
<U2552> \xa2 |0 BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE
|
||||
<U0451> \xa3 |0 CYRILLIC SMALL LETTER IO
|
||||
<U0454> \xa4 |0 CYRILLIC SMALL LETTER UKRAINIAN IE
|
||||
<U2554> \xa5 |0 BOX DRAWINGS DOUBLE DOWN AND RIGHT
|
||||
<U0456> \xa6 |0 CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
|
||||
<U0457> \xa7 |0 CYRILLIC SMALL LETTER YI (Ukrainian)
|
||||
<U2557> \xa8 |0 BOX DRAWINGS DOUBLE DOWN AND LEFT
|
||||
<U2558> \xa9 |0 BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE
|
||||
<U2559> \xaa |0 BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE
|
||||
<U255A> \xab |0 BOX DRAWINGS DOUBLE UP AND RIGHT
|
||||
<U255B> \xac |0 BOX DRAWINGS UP SINGLE AND LEFT DOUBLE
|
||||
<U0491> \xad |0 CYRILLIC SMALL LETTER GHE WITH UPTURN
|
||||
<U255D> \xae |0 BOX DRAWINGS DOUBLE UP AND LEFT
|
||||
<U255E> \xaf |0 BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE
|
||||
<U255F> \xb0 |0 BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE
|
||||
<U2560> \xb1 |0 BOX DRAWINGS DOUBLE VERTICAL AND RIGHT
|
||||
<U2561> \xb2 |0 BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
|
||||
<U0401> \xb3 |0 CYRILLIC CAPITAL LETTER IO
|
||||
<U0404> \xb4 |0 CYRILLIC CAPITAL LETTER UKRAINIAN IE
|
||||
<U2563> \xb5 |0 DOUBLE VERTICAL AND LEFT
|
||||
<U0406> \xb6 |0 CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
|
||||
<U0407> \xb7 |0 CYRILLIC CAPITAL LETTER YI (Ukrainian)
|
||||
<U2566> \xb8 |0 BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL
|
||||
<U2567> \xb9 |0 BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE
|
||||
<U2568> \xba |0 BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE
|
||||
<U2569> \xbb |0 BOX DRAWINGS DOUBLE UP AND HORIZONTAL
|
||||
<U256A> \xbc |0 BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE
|
||||
<U0490> \xbd |0 CYRILLIC CAPITAL LETTER GHE WITH UPTURN
|
||||
<U256C> \xbe |0 BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL
|
||||
<U00A9> \xbf |0 COPYRIGHT SIGN
|
||||
<U044E> \xc0 |0 CYRILLIC SMALL LETTER YU
|
||||
<U0430> \xc1 |0 CYRILLIC SMALL LETTER A
|
||||
<U0431> \xc2 |0 CYRILLIC SMALL LETTER BE
|
||||
<U0446> \xc3 |0 CYRILLIC SMALL LETTER TSE
|
||||
<U0434> \xc4 |0 CYRILLIC SMALL LETTER DE
|
||||
<U0435> \xc5 |0 CYRILLIC SMALL LETTER IE
|
||||
<U0444> \xc6 |0 CYRILLIC SMALL LETTER EF
|
||||
<U0433> \xc7 |0 CYRILLIC SMALL LETTER GHE
|
||||
<U0445> \xc8 |0 CYRILLIC SMALL LETTER HA
|
||||
<U0438> \xc9 |0 CYRILLIC SMALL LETTER I
|
||||
<U0439> \xca |0 CYRILLIC SMALL LETTER SHORT I
|
||||
<U043A> \xcb |0 CYRILLIC SMALL LETTER KA
|
||||
<U043B> \xcc |0 CYRILLIC SMALL LETTER EL
|
||||
<U043C> \xcd |0 CYRILLIC SMALL LETTER EM
|
||||
<U043D> \xce |0 CYRILLIC SMALL LETTER EN
|
||||
<U043E> \xcf |0 CYRILLIC SMALL LETTER O
|
||||
<U043F> \xd0 |0 CYRILLIC SMALL LETTER PE
|
||||
<U044F> \xd1 |0 CYRILLIC SMALL LETTER YA
|
||||
<U0440> \xd2 |0 CYRILLIC SMALL LETTER ER
|
||||
<U0441> \xd3 |0 CYRILLIC SMALL LETTER ES
|
||||
<U0442> \xd4 |0 CYRILLIC SMALL LETTER TE
|
||||
<U0443> \xd5 |0 CYRILLIC SMALL LETTER U
|
||||
<U0436> \xd6 |0 CYRILLIC SMALL LETTER ZHE
|
||||
<U0432> \xd7 |0 CYRILLIC SMALL LETTER VE
|
||||
<U044C> \xd8 |0 CYRILLIC SMALL LETTER SOFT SIGN
|
||||
<U044B> \xd9 |0 CYRILLIC SMALL LETTER YERU
|
||||
<U0437> \xda |0 CYRILLIC SMALL LETTER ZE
|
||||
<U0448> \xdb |0 CYRILLIC SMALL LETTER SHA
|
||||
<U044D> \xdc |0 CYRILLIC SMALL LETTER E
|
||||
<U0449> \xdd |0 CYRILLIC SMALL LETTER SHCHA
|
||||
<U0447> \xde |0 CYRILLIC SMALL LETTER CHE
|
||||
<U044A> \xdf |0 CYRILLIC SMALL LETTER HARD SIGN
|
||||
<U042E> \xe0 |0 CYRILLIC CAPITAL LETTER YU
|
||||
<U0410> \xe1 |0 CYRILLIC CAPITAL LETTER A
|
||||
<U0411> \xe2 |0 CYRILLIC CAPITAL LETTER BE
|
||||
<U0426> \xe3 |0 CYRILLIC CAPITAL LETTER TSE
|
||||
<U0414> \xe4 |0 CYRILLIC CAPITAL LETTER DE
|
||||
<U0415> \xe5 |0 CYRILLIC CAPITAL LETTER IE
|
||||
<U0424> \xe6 |0 CYRILLIC CAPITAL LETTER EF
|
||||
<U0413> \xe7 |0 CYRILLIC CAPITAL LETTER GHE
|
||||
<U0425> \xe8 |0 CYRILLIC CAPITAL LETTER HA
|
||||
<U0418> \xe9 |0 CYRILLIC CAPITAL LETTER I
|
||||
<U0419> \xea |0 CYRILLIC CAPITAL LETTER SHORT I
|
||||
<U041A> \xeb |0 CYRILLIC CAPITAL LETTER KA
|
||||
<U041B> \xec |0 CYRILLIC CAPITAL LETTER EL
|
||||
<U041C> \xed |0 CYRILLIC CAPITAL LETTER EM
|
||||
<U041D> \xee |0 CYRILLIC CAPITAL LETTER EN
|
||||
<U041E> \xef |0 CYRILLIC CAPITAL LETTER O
|
||||
<U041F> \xf0 |0 CYRILLIC CAPITAL LETTER PE
|
||||
<U042F> \xf1 |0 CYRILLIC CAPITAL LETTER YA
|
||||
<U0420> \xf2 |0 CYRILLIC CAPITAL LETTER ER
|
||||
<U0421> \xf3 |0 CYRILLIC CAPITAL LETTER ES
|
||||
<U0422> \xf4 |0 CYRILLIC CAPITAL LETTER TE
|
||||
<U0423> \xf5 |0 CYRILLIC CAPITAL LETTER U
|
||||
<U0416> \xf6 |0 CYRILLIC CAPITAL LETTER ZHE
|
||||
<U0412> \xf7 |0 CYRILLIC CAPITAL LETTER VE
|
||||
<U042C> \xf8 |0 CYRILLIC CAPITAL LETTER SOFT SIGN
|
||||
<U042B> \xf9 |0 CYRILLIC CAPITAL LETTER YERU
|
||||
<U0417> \xfa |0 CYRILLIC CAPITAL LETTER ZE
|
||||
<U0428> \xfb |0 CYRILLIC CAPITAL LETTER SHA
|
||||
<U042D> \xfc |0 CYRILLIC CAPITAL LETTER E
|
||||
<U0429> \xfd |0 CYRILLIC CAPITAL LETTER SHCHA
|
||||
<U0427> \xfe |0 CYRILLIC CAPITAL LETTER CHE
|
||||
<U042A> \xff |0 CYRILLIC CAPITAL LETTER HARD SIGN
|
||||
<UFF01> \x21 |1
|
||||
<UFF02> \x22 |1
|
||||
<UFF03> \x23 |1
|
||||
<UFF04> \x24 |1
|
||||
<UFF05> \x25 |1
|
||||
<UFF06> \x26 |1
|
||||
<UFF07> \x27 |1
|
||||
<UFF08> \x28 |1
|
||||
<UFF09> \x29 |1
|
||||
<UFF0A> \x2A |1
|
||||
<UFF0B> \x2B |1
|
||||
<UFF0C> \x2C |1
|
||||
<UFF0D> \x2D |1
|
||||
<UFF0E> \x2E |1
|
||||
<UFF0F> \x2F |1
|
||||
<UFF10> \x30 |1
|
||||
<UFF11> \x31 |1
|
||||
<UFF12> \x32 |1
|
||||
<UFF13> \x33 |1
|
||||
<UFF14> \x34 |1
|
||||
<UFF15> \x35 |1
|
||||
<UFF16> \x36 |1
|
||||
<UFF17> \x37 |1
|
||||
<UFF18> \x38 |1
|
||||
<UFF19> \x39 |1
|
||||
<UFF1A> \x3A |1
|
||||
<UFF1B> \x3B |1
|
||||
<UFF1C> \x3C |1
|
||||
<UFF1D> \x3D |1
|
||||
<UFF1E> \x3E |1
|
||||
<UFF1F> \x3F |1
|
||||
<UFF20> \x40 |1
|
||||
<UFF21> \x41 |1
|
||||
<UFF22> \x42 |1
|
||||
<UFF23> \x43 |1
|
||||
<UFF24> \x44 |1
|
||||
<UFF25> \x45 |1
|
||||
<UFF26> \x46 |1
|
||||
<UFF27> \x47 |1
|
||||
<UFF28> \x48 |1
|
||||
<UFF29> \x49 |1
|
||||
<UFF2A> \x4A |1
|
||||
<UFF2B> \x4B |1
|
||||
<UFF2C> \x4C |1
|
||||
<UFF2D> \x4D |1
|
||||
<UFF2E> \x4E |1
|
||||
<UFF2F> \x4F |1
|
||||
<UFF30> \x50 |1
|
||||
<UFF31> \x51 |1
|
||||
<UFF32> \x52 |1
|
||||
<UFF33> \x53 |1
|
||||
<UFF34> \x54 |1
|
||||
<UFF35> \x55 |1
|
||||
<UFF36> \x56 |1
|
||||
<UFF37> \x57 |1
|
||||
<UFF38> \x58 |1
|
||||
<UFF39> \x59 |1
|
||||
<UFF3A> \x5A |1
|
||||
<UFF3B> \x5B |1
|
||||
<UFF3C> \x5C |1
|
||||
<UFF3D> \x5D |1
|
||||
<UFF3E> \x5E |1
|
||||
<UFF3F> \x5F |1
|
||||
<UFF40> \x60 |1
|
||||
<UFF41> \x61 |1
|
||||
<UFF42> \x62 |1
|
||||
<UFF43> \x63 |1
|
||||
<UFF44> \x64 |1
|
||||
<UFF45> \x65 |1
|
||||
<UFF46> \x66 |1
|
||||
<UFF47> \x67 |1
|
||||
<UFF48> \x68 |1
|
||||
<UFF49> \x69 |1
|
||||
<UFF4A> \x6A |1
|
||||
<UFF4B> \x6B |1
|
||||
<UFF4C> \x6C |1
|
||||
<UFF4D> \x6D |1
|
||||
<UFF4E> \x6E |1
|
||||
<UFF4F> \x6F |1
|
||||
<UFF50> \x70 |1
|
||||
<UFF51> \x71 |1
|
||||
<UFF52> \x72 |1
|
||||
<UFF53> \x73 |1
|
||||
<UFF54> \x74 |1
|
||||
<UFF55> \x75 |1
|
||||
<UFF56> \x76 |1
|
||||
<UFF57> \x77 |1
|
||||
<UFF58> \x78 |1
|
||||
<UFF59> \x79 |1
|
||||
<UFF5A> \x7A |1
|
||||
<UFF5B> \x7B |1
|
||||
<UFF5C> \x7C |1
|
||||
<UFF5D> \x7D |1
|
||||
<UFF5E> \x7E |1
|
||||
END CHARMAP
|
||||
Executable
+9
@@ -0,0 +1,9 @@
|
||||
CP1251.cs
|
||||
CP1257.cs
|
||||
CP1258.cs
|
||||
CP20866.cs
|
||||
CP21866.cs
|
||||
CP28594.cs
|
||||
CP28595.cs
|
||||
CP57002.cs
|
||||
CP874.cs
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
topdir = ../../..
|
||||
|
||||
LIBRARY = $(topdir)/class/lib/I18N.Other.dll
|
||||
|
||||
LIB_LIST = list.unix
|
||||
LIB_FLAGS = -r corlib -r mscorlib -r I18N
|
||||
|
||||
SOURCES_INCLUDE=*.cs
|
||||
SOURCES_EXCLUDE=
|
||||
|
||||
export MONO_PATH_PREFIX = $(topdir)/class/lib:
|
||||
|
||||
include $(topdir)/class/library.make
|
||||
@@ -0,0 +1,158 @@
|
||||
|
||||
I18N: Pnetlib Internationalization Framework Libary
|
||||
===================================================
|
||||
|
||||
Using the library
|
||||
-----------------
|
||||
|
||||
This library provides plug-in i18n module support for C# base class
|
||||
libraries such as pnetlib's "runtime". The base class library uses
|
||||
it as follows:
|
||||
|
||||
- Load the "I18N.dll" assembly using "System.Reflection.Assembly.Load".
|
||||
|
||||
- Obtain the value of the static "PrimaryManager" property within the
|
||||
"I18N.Common.Manager" class using "System.Reflection" facilities.
|
||||
|
||||
- Invoke methods on the manager class to obtain i18n-sensitive
|
||||
objects such as "CultureInfo" and "Encoding" instances.
|
||||
|
||||
- The "I18N.Common.Manager" class loads the requested i18n object
|
||||
and returns it to the base class library, which can then use it
|
||||
in the usual fashion.
|
||||
|
||||
A more detailed example is given in a later section.
|
||||
|
||||
I18N handlers
|
||||
-------------
|
||||
|
||||
Because there are so many i18n-sensitive cases to be handled, the culture
|
||||
information has been split across several region-specific assemblies:
|
||||
|
||||
I18N.CJK.dll
|
||||
I18N.MidEast.dll
|
||||
I18N.Other.dll
|
||||
I18N.Rare.dll
|
||||
I18N.West.dll
|
||||
|
||||
The "I18N.dll" assembly only loads those region-specific assemblies that
|
||||
it needs, based on the user's requests.
|
||||
|
||||
I18N handlers within these assemblies use the naming convention
|
||||
"I18N.<Region>.<Prefix><Value>" where:
|
||||
|
||||
<Region>
|
||||
The region handler. e.g. "West", "CJK", "India", etc.
|
||||
|
||||
<Prefix>
|
||||
The prefix for the handler type.
|
||||
|
||||
<Value>
|
||||
The identifier value which is supplied by the caller.
|
||||
e.g. a culture identifier, an encoding name, etc.
|
||||
|
||||
The following prefixes are supported:
|
||||
|
||||
CP
|
||||
Code page handler. e.g. "CP1252".
|
||||
|
||||
ENC
|
||||
Web encoding handler. e.g. "ENCiso_8869_8".
|
||||
|
||||
CID
|
||||
Culture, based on identifier. e.g. "CID2c01".
|
||||
|
||||
CIDO
|
||||
|
||||
Culture, based on identifier, with user overrides. e.g. "CIDO2c01".
|
||||
Falls back to the "CID" handler if no override handler.
|
||||
|
||||
CN
|
||||
Culture, based on name. e.g. "CNar_jo".
|
||||
|
||||
CNO
|
||||
Culture, based on name, with user overrides. e.g. "CNOar_jo".
|
||||
Falls back to the "CN" handler if no override handler.
|
||||
|
||||
Handlers that are based on name will normalize the name to be in all
|
||||
lower case, with all instances of '-' replaced with '_'.
|
||||
|
||||
The "I18N.dll" assembly knows which region assembly to load from the
|
||||
"I18N-handlers.def" file. This file is automatically generated during
|
||||
the build process and contains a list of all I18N handler classes.
|
||||
It must reside in the same directory as "I18N.dll".
|
||||
|
||||
Example
|
||||
-------
|
||||
|
||||
As an example of the I18N loading process, we will describe what happens
|
||||
when code page 932 is requested:
|
||||
|
||||
- The user's code calls "System.Text.Encoding.GetEncoding(932)".
|
||||
|
||||
- The "Encoding" class loads "I18N.dll" using reflection.
|
||||
|
||||
- The "Encoding" class accesses the "PrimaryManager" property via
|
||||
reflection to get an instance of "I18N.Common.Manager".
|
||||
|
||||
- The "Encoding" class calls the "GetEncoding(int)" method on
|
||||
the "I18N.Common.Manager" instance using reflection.
|
||||
|
||||
- "I18N.Common.Manager" constructs the name of the handler class - "CP932".
|
||||
|
||||
- The file "I18N-handlers.def" is consulted to determine the full
|
||||
namespace and name of the "CP932" class - "I18N.CJK.CP932".
|
||||
|
||||
- The region assembly "I18N.CJK.dll" is loaded using reflection.
|
||||
|
||||
- An instance of the class "I18N.CJK.CP923" in the loaded assembly
|
||||
is constructed and returned to the caller.
|
||||
|
||||
The results of previous requests are cached to smooth overall performance
|
||||
of the system.
|
||||
|
||||
Dependencies
|
||||
------------
|
||||
|
||||
This section describes the facilities that must be available from the
|
||||
base class library to make the I18N framework function.
|
||||
|
||||
The framework makes heavy use of facilities from "System.Reflection"
|
||||
to load assemblies and to access their contents.
|
||||
|
||||
String resources are assumed to be embedded as manifest string resources,
|
||||
based on tag names. The "I18N.Common.Strings" class takes care of the
|
||||
resource needs of all of the I18N assemblies. It relies upon a working
|
||||
implementation of "ResourceManager", that can load and process manifest
|
||||
string resources.
|
||||
|
||||
It is assumed that the base class library contains its own implementation
|
||||
of the invariant culture. i.e. the invariant culture cannot be loaded
|
||||
dynamically.
|
||||
|
||||
The "I18N.CJK.dll" assembly contains a single "InternalCall" method in
|
||||
the "I18N.CJK.CodeTable" class if the "__PNET__" symbol is defined when
|
||||
the assembly is compiled. This gives more efficient access to conversion
|
||||
CJK tables when running on the Portable.NET runtime engine. If the
|
||||
"__PNET__" symbol is not defined, then the implementation will fall back
|
||||
to a less efficient way of loading the tables.
|
||||
|
||||
The method "System.Reflection.Assembly.GetFile(String)" is assumed to
|
||||
have slightly different semantics to the .NET Framework SDK. Normally,
|
||||
this method accesses a file that is listed in the assembly manifest.
|
||||
We have extended it so that it can also access files in the same directory
|
||||
as the assembly, even if not mentioned in the manifest.
|
||||
|
||||
The altered semantics is necessary to access the "I18N-handlers.def" file,
|
||||
which defines which assembly contains which I18N handler. This file can
|
||||
be altered by third parties to install new handler assemblies.
|
||||
|
||||
If the runtime engine does not implement the altered "GetFile" semantics,
|
||||
the library will fall back to an internal list that must be maintained
|
||||
internally and which cannot be dynamically extended by third parties.
|
||||
|
||||
Security considerations
|
||||
-----------------------
|
||||
|
||||
The "GetAddress" and "GetFile" methods need to be implemented carefully
|
||||
to prevent arbitrary applications using them to circumvent system security.
|
||||
Executable
+13
@@ -0,0 +1,13 @@
|
||||
Note: the I18N assemblies code is imported from the pnetlib sources.
|
||||
The code was donated by Rhys Weatherley <[email protected]>
|
||||
for use in mono.
|
||||
_Any_ change and bugfix to these assemblies that is not mono-specific
|
||||
should be also sent to the pnetlib maintainers to keep the sources in
|
||||
sync as much as possible.
|
||||
|
||||
The code was initially imported with the command:
|
||||
cvs -d [email protected]:/cvs/public import -m "First import" \
|
||||
mcs/class/I18N SAVANNAH_CVS RHYS_20020821
|
||||
|
||||
Please follow the same convention for future imports. Thanks.
|
||||
|
||||
@@ -0,0 +1,895 @@
|
||||
/*
|
||||
* CP1026.cs - IBM EBCDIC (Turkish) code page.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// Generated from "ibm-1026.ucm".
|
||||
|
||||
namespace I18N.Rare
|
||||
{
|
||||
|
||||
using System;
|
||||
using I18N.Common;
|
||||
|
||||
public class CP1026 : ByteEncoding
|
||||
{
|
||||
public CP1026()
|
||||
: base(1026, ToChars, "IBM EBCDIC (Turkish)",
|
||||
"ibm1026", "ibm1026", "ibm1026",
|
||||
false, false, false, false, 1254)
|
||||
{}
|
||||
|
||||
private static readonly char[] ToChars = {
|
||||
'\u0000', '\u0001', '\u0002', '\u0003', '\u009C', '\u0009',
|
||||
'\u0086', '\u007F', '\u0097', '\u008D', '\u008E', '\u000B',
|
||||
'\u000C', '\u000D', '\u000E', '\u000F', '\u0010', '\u0011',
|
||||
'\u0012', '\u0013', '\u009D', '\u0085', '\u0008', '\u0087',
|
||||
'\u0018', '\u0019', '\u0092', '\u008F', '\u001C', '\u001D',
|
||||
'\u001E', '\u001F', '\u0080', '\u0081', '\u0082', '\u0083',
|
||||
'\u0084', '\u000A', '\u0017', '\u001B', '\u0088', '\u0089',
|
||||
'\u008A', '\u008B', '\u008C', '\u0005', '\u0006', '\u0007',
|
||||
'\u0090', '\u0091', '\u0016', '\u0093', '\u0094', '\u0095',
|
||||
'\u0096', '\u0004', '\u0098', '\u0099', '\u009A', '\u009B',
|
||||
'\u0014', '\u0015', '\u009E', '\u001A', '\u0020', '\u00A0',
|
||||
'\u00E2', '\u00E4', '\u00E0', '\u00E1', '\u00E3', '\u00E5',
|
||||
'\u007B', '\u00F1', '\u00C7', '\u002E', '\u003C', '\u0028',
|
||||
'\u002B', '\u0021', '\u0026', '\u00E9', '\u00EA', '\u00EB',
|
||||
'\u00E8', '\u00ED', '\u00EE', '\u00EF', '\u00EC', '\u00DF',
|
||||
'\u011E', '\u0130', '\u002A', '\u0029', '\u003B', '\u005E',
|
||||
'\u002D', '\u002F', '\u00C2', '\u00C4', '\u00C0', '\u00C1',
|
||||
'\u00C3', '\u00C5', '\u005B', '\u00D1', '\u015F', '\u002C',
|
||||
'\u0025', '\u005F', '\u003E', '\u003F', '\u00F8', '\u00C9',
|
||||
'\u00CA', '\u00CB', '\u00C8', '\u00CD', '\u00CE', '\u00CF',
|
||||
'\u00CC', '\u0131', '\u003A', '\u00D6', '\u015E', '\u0027',
|
||||
'\u003D', '\u00DC', '\u00D8', '\u0061', '\u0062', '\u0063',
|
||||
'\u0064', '\u0065', '\u0066', '\u0067', '\u0068', '\u0069',
|
||||
'\u00AB', '\u00BB', '\u007D', '\u0060', '\u00A6', '\u00B1',
|
||||
'\u00B0', '\u006A', '\u006B', '\u006C', '\u006D', '\u006E',
|
||||
'\u006F', '\u0070', '\u0071', '\u0072', '\u00AA', '\u00BA',
|
||||
'\u00E6', '\u00B8', '\u00C6', '\u00A4', '\u00B5', '\u00F6',
|
||||
'\u0073', '\u0074', '\u0075', '\u0076', '\u0077', '\u0078',
|
||||
'\u0079', '\u007A', '\u00A1', '\u00BF', '\u005D', '\u0024',
|
||||
'\u0040', '\u00AE', '\u00A2', '\u00A3', '\u00A5', '\u00B7',
|
||||
'\u00A9', '\u00A7', '\u00B6', '\u00BC', '\u00BD', '\u00BE',
|
||||
'\u00AC', '\u007C', '\u00AF', '\u00A8', '\u00B4', '\u00D7',
|
||||
'\u00E7', '\u0041', '\u0042', '\u0043', '\u0044', '\u0045',
|
||||
'\u0046', '\u0047', '\u0048', '\u0049', '\u00AD', '\u00F4',
|
||||
'\u007E', '\u00F2', '\u00F3', '\u00F5', '\u011F', '\u004A',
|
||||
'\u004B', '\u004C', '\u004D', '\u004E', '\u004F', '\u0050',
|
||||
'\u0051', '\u0052', '\u00B9', '\u00FB', '\u005C', '\u00F9',
|
||||
'\u00FA', '\u00FF', '\u00FC', '\u00F7', '\u0053', '\u0054',
|
||||
'\u0055', '\u0056', '\u0057', '\u0058', '\u0059', '\u005A',
|
||||
'\u00B2', '\u00D4', '\u0023', '\u00D2', '\u00D3', '\u00D5',
|
||||
'\u0030', '\u0031', '\u0032', '\u0033', '\u0034', '\u0035',
|
||||
'\u0036', '\u0037', '\u0038', '\u0039', '\u00B3', '\u00DB',
|
||||
'\u0022', '\u00D9', '\u00DA', '\u009F',
|
||||
};
|
||||
|
||||
protected override void ToBytes(char[] chars, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(chars[charIndex++]);
|
||||
if(ch >= 4) switch(ch)
|
||||
{
|
||||
case 0x000B:
|
||||
case 0x000C:
|
||||
case 0x000D:
|
||||
case 0x000E:
|
||||
case 0x000F:
|
||||
case 0x0010:
|
||||
case 0x0011:
|
||||
case 0x0012:
|
||||
case 0x0013:
|
||||
case 0x0018:
|
||||
case 0x0019:
|
||||
case 0x001C:
|
||||
case 0x001D:
|
||||
case 0x001E:
|
||||
case 0x001F:
|
||||
case 0x00B6:
|
||||
break;
|
||||
case 0x0004: ch = 0x37; break;
|
||||
case 0x0005: ch = 0x2D; break;
|
||||
case 0x0006: ch = 0x2E; break;
|
||||
case 0x0007: ch = 0x2F; break;
|
||||
case 0x0008: ch = 0x16; break;
|
||||
case 0x0009: ch = 0x05; break;
|
||||
case 0x000A: ch = 0x25; break;
|
||||
case 0x0014: ch = 0x3C; break;
|
||||
case 0x0015: ch = 0x3D; break;
|
||||
case 0x0016: ch = 0x32; break;
|
||||
case 0x0017: ch = 0x26; break;
|
||||
case 0x001A: ch = 0x3F; break;
|
||||
case 0x001B: ch = 0x27; break;
|
||||
case 0x0020: ch = 0x40; break;
|
||||
case 0x0021: ch = 0x4F; break;
|
||||
case 0x0022: ch = 0xFC; break;
|
||||
case 0x0023: ch = 0xEC; break;
|
||||
case 0x0024: ch = 0xAD; break;
|
||||
case 0x0025: ch = 0x6C; break;
|
||||
case 0x0026: ch = 0x50; break;
|
||||
case 0x0027: ch = 0x7D; break;
|
||||
case 0x0028: ch = 0x4D; break;
|
||||
case 0x0029: ch = 0x5D; break;
|
||||
case 0x002A: ch = 0x5C; break;
|
||||
case 0x002B: ch = 0x4E; break;
|
||||
case 0x002C: ch = 0x6B; break;
|
||||
case 0x002D: ch = 0x60; break;
|
||||
case 0x002E: ch = 0x4B; break;
|
||||
case 0x002F: ch = 0x61; break;
|
||||
case 0x0030:
|
||||
case 0x0031:
|
||||
case 0x0032:
|
||||
case 0x0033:
|
||||
case 0x0034:
|
||||
case 0x0035:
|
||||
case 0x0036:
|
||||
case 0x0037:
|
||||
case 0x0038:
|
||||
case 0x0039:
|
||||
ch += 0x00C0;
|
||||
break;
|
||||
case 0x003A: ch = 0x7A; break;
|
||||
case 0x003B: ch = 0x5E; break;
|
||||
case 0x003C: ch = 0x4C; break;
|
||||
case 0x003D: ch = 0x7E; break;
|
||||
case 0x003E: ch = 0x6E; break;
|
||||
case 0x003F: ch = 0x6F; break;
|
||||
case 0x0040: ch = 0xAE; break;
|
||||
case 0x0041:
|
||||
case 0x0042:
|
||||
case 0x0043:
|
||||
case 0x0044:
|
||||
case 0x0045:
|
||||
case 0x0046:
|
||||
case 0x0047:
|
||||
case 0x0048:
|
||||
case 0x0049:
|
||||
ch += 0x0080;
|
||||
break;
|
||||
case 0x004A:
|
||||
case 0x004B:
|
||||
case 0x004C:
|
||||
case 0x004D:
|
||||
case 0x004E:
|
||||
case 0x004F:
|
||||
case 0x0050:
|
||||
case 0x0051:
|
||||
case 0x0052:
|
||||
ch += 0x0087;
|
||||
break;
|
||||
case 0x0053:
|
||||
case 0x0054:
|
||||
case 0x0055:
|
||||
case 0x0056:
|
||||
case 0x0057:
|
||||
case 0x0058:
|
||||
case 0x0059:
|
||||
case 0x005A:
|
||||
ch += 0x008F;
|
||||
break;
|
||||
case 0x005B: ch = 0x68; break;
|
||||
case 0x005C: ch = 0xDC; break;
|
||||
case 0x005D: ch = 0xAC; break;
|
||||
case 0x005E: ch = 0x5F; break;
|
||||
case 0x005F: ch = 0x6D; break;
|
||||
case 0x0060: ch = 0x8D; break;
|
||||
case 0x0061:
|
||||
case 0x0062:
|
||||
case 0x0063:
|
||||
case 0x0064:
|
||||
case 0x0065:
|
||||
case 0x0066:
|
||||
case 0x0067:
|
||||
case 0x0068:
|
||||
case 0x0069:
|
||||
ch += 0x0020;
|
||||
break;
|
||||
case 0x006A:
|
||||
case 0x006B:
|
||||
case 0x006C:
|
||||
case 0x006D:
|
||||
case 0x006E:
|
||||
case 0x006F:
|
||||
case 0x0070:
|
||||
case 0x0071:
|
||||
case 0x0072:
|
||||
ch += 0x0027;
|
||||
break;
|
||||
case 0x0073:
|
||||
case 0x0074:
|
||||
case 0x0075:
|
||||
case 0x0076:
|
||||
case 0x0077:
|
||||
case 0x0078:
|
||||
case 0x0079:
|
||||
case 0x007A:
|
||||
ch += 0x002F;
|
||||
break;
|
||||
case 0x007B: ch = 0x48; break;
|
||||
case 0x007C: ch = 0xBB; break;
|
||||
case 0x007D: ch = 0x8C; break;
|
||||
case 0x007E: ch = 0xCC; break;
|
||||
case 0x007F: ch = 0x07; break;
|
||||
case 0x0080:
|
||||
case 0x0081:
|
||||
case 0x0082:
|
||||
case 0x0083:
|
||||
case 0x0084:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x0085: ch = 0x15; break;
|
||||
case 0x0086: ch = 0x06; break;
|
||||
case 0x0087: ch = 0x17; break;
|
||||
case 0x0088:
|
||||
case 0x0089:
|
||||
case 0x008A:
|
||||
case 0x008B:
|
||||
case 0x008C:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x008D: ch = 0x09; break;
|
||||
case 0x008E: ch = 0x0A; break;
|
||||
case 0x008F: ch = 0x1B; break;
|
||||
case 0x0090: ch = 0x30; break;
|
||||
case 0x0091: ch = 0x31; break;
|
||||
case 0x0092: ch = 0x1A; break;
|
||||
case 0x0093:
|
||||
case 0x0094:
|
||||
case 0x0095:
|
||||
case 0x0096:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x0097: ch = 0x08; break;
|
||||
case 0x0098:
|
||||
case 0x0099:
|
||||
case 0x009A:
|
||||
case 0x009B:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x009C: ch = 0x04; break;
|
||||
case 0x009D: ch = 0x14; break;
|
||||
case 0x009E: ch = 0x3E; break;
|
||||
case 0x009F: ch = 0xFF; break;
|
||||
case 0x00A0: ch = 0x41; break;
|
||||
case 0x00A1: ch = 0xAA; break;
|
||||
case 0x00A2: ch = 0xB0; break;
|
||||
case 0x00A3: ch = 0xB1; break;
|
||||
case 0x00A4: ch = 0x9F; break;
|
||||
case 0x00A5: ch = 0xB2; break;
|
||||
case 0x00A6: ch = 0x8E; break;
|
||||
case 0x00A7: ch = 0xB5; break;
|
||||
case 0x00A8: ch = 0xBD; break;
|
||||
case 0x00A9: ch = 0xB4; break;
|
||||
case 0x00AA: ch = 0x9A; break;
|
||||
case 0x00AB: ch = 0x8A; break;
|
||||
case 0x00AC: ch = 0xBA; break;
|
||||
case 0x00AD: ch = 0xCA; break;
|
||||
case 0x00AE: ch = 0xAF; break;
|
||||
case 0x00AF: ch = 0xBC; break;
|
||||
case 0x00B0: ch = 0x90; break;
|
||||
case 0x00B1: ch = 0x8F; break;
|
||||
case 0x00B2: ch = 0xEA; break;
|
||||
case 0x00B3: ch = 0xFA; break;
|
||||
case 0x00B4: ch = 0xBE; break;
|
||||
case 0x00B5: ch = 0xA0; break;
|
||||
case 0x00B7: ch = 0xB3; break;
|
||||
case 0x00B8: ch = 0x9D; break;
|
||||
case 0x00B9: ch = 0xDA; break;
|
||||
case 0x00BA: ch = 0x9B; break;
|
||||
case 0x00BB: ch = 0x8B; break;
|
||||
case 0x00BC: ch = 0xB7; break;
|
||||
case 0x00BD: ch = 0xB8; break;
|
||||
case 0x00BE: ch = 0xB9; break;
|
||||
case 0x00BF: ch = 0xAB; break;
|
||||
case 0x00C0: ch = 0x64; break;
|
||||
case 0x00C1: ch = 0x65; break;
|
||||
case 0x00C2: ch = 0x62; break;
|
||||
case 0x00C3: ch = 0x66; break;
|
||||
case 0x00C4: ch = 0x63; break;
|
||||
case 0x00C5: ch = 0x67; break;
|
||||
case 0x00C6: ch = 0x9E; break;
|
||||
case 0x00C7: ch = 0x4A; break;
|
||||
case 0x00C8: ch = 0x74; break;
|
||||
case 0x00C9: ch = 0x71; break;
|
||||
case 0x00CA: ch = 0x72; break;
|
||||
case 0x00CB: ch = 0x73; break;
|
||||
case 0x00CC: ch = 0x78; break;
|
||||
case 0x00CD: ch = 0x75; break;
|
||||
case 0x00CE: ch = 0x76; break;
|
||||
case 0x00CF: ch = 0x77; break;
|
||||
case 0x00D1: ch = 0x69; break;
|
||||
case 0x00D2: ch = 0xED; break;
|
||||
case 0x00D3: ch = 0xEE; break;
|
||||
case 0x00D4: ch = 0xEB; break;
|
||||
case 0x00D5: ch = 0xEF; break;
|
||||
case 0x00D6: ch = 0x7B; break;
|
||||
case 0x00D7: ch = 0xBF; break;
|
||||
case 0x00D8: ch = 0x80; break;
|
||||
case 0x00D9: ch = 0xFD; break;
|
||||
case 0x00DA: ch = 0xFE; break;
|
||||
case 0x00DB: ch = 0xFB; break;
|
||||
case 0x00DC: ch = 0x7F; break;
|
||||
case 0x00DF: ch = 0x59; break;
|
||||
case 0x00E0: ch = 0x44; break;
|
||||
case 0x00E1: ch = 0x45; break;
|
||||
case 0x00E2: ch = 0x42; break;
|
||||
case 0x00E3: ch = 0x46; break;
|
||||
case 0x00E4: ch = 0x43; break;
|
||||
case 0x00E5: ch = 0x47; break;
|
||||
case 0x00E6: ch = 0x9C; break;
|
||||
case 0x00E7: ch = 0xC0; break;
|
||||
case 0x00E8: ch = 0x54; break;
|
||||
case 0x00E9: ch = 0x51; break;
|
||||
case 0x00EA: ch = 0x52; break;
|
||||
case 0x00EB: ch = 0x53; break;
|
||||
case 0x00EC: ch = 0x58; break;
|
||||
case 0x00ED: ch = 0x55; break;
|
||||
case 0x00EE: ch = 0x56; break;
|
||||
case 0x00EF: ch = 0x57; break;
|
||||
case 0x00F1: ch = 0x49; break;
|
||||
case 0x00F2: ch = 0xCD; break;
|
||||
case 0x00F3: ch = 0xCE; break;
|
||||
case 0x00F4: ch = 0xCB; break;
|
||||
case 0x00F5: ch = 0xCF; break;
|
||||
case 0x00F6: ch = 0xA1; break;
|
||||
case 0x00F7: ch = 0xE1; break;
|
||||
case 0x00F8: ch = 0x70; break;
|
||||
case 0x00F9: ch = 0xDD; break;
|
||||
case 0x00FA: ch = 0xDE; break;
|
||||
case 0x00FB: ch = 0xDB; break;
|
||||
case 0x00FC: ch = 0xE0; break;
|
||||
case 0x00FF: ch = 0xDF; break;
|
||||
case 0x011E: ch = 0x5A; break;
|
||||
case 0x011F: ch = 0xD0; break;
|
||||
case 0x0130: ch = 0x5B; break;
|
||||
case 0x0131: ch = 0x79; break;
|
||||
case 0x015E: ch = 0x7C; break;
|
||||
case 0x015F: ch = 0x6A; break;
|
||||
case 0x203E: ch = 0xBC; break;
|
||||
case 0xFF01: ch = 0x4F; break;
|
||||
case 0xFF02: ch = 0xFC; break;
|
||||
case 0xFF03: ch = 0xEC; break;
|
||||
case 0xFF04: ch = 0xAD; break;
|
||||
case 0xFF05: ch = 0x6C; break;
|
||||
case 0xFF06: ch = 0x50; break;
|
||||
case 0xFF07: ch = 0x7D; break;
|
||||
case 0xFF08: ch = 0x4D; break;
|
||||
case 0xFF09: ch = 0x5D; break;
|
||||
case 0xFF0A: ch = 0x5C; break;
|
||||
case 0xFF0B: ch = 0x4E; break;
|
||||
case 0xFF0C: ch = 0x6B; break;
|
||||
case 0xFF0D: ch = 0x60; break;
|
||||
case 0xFF0E: ch = 0x4B; break;
|
||||
case 0xFF0F: ch = 0x61; break;
|
||||
case 0xFF10:
|
||||
case 0xFF11:
|
||||
case 0xFF12:
|
||||
case 0xFF13:
|
||||
case 0xFF14:
|
||||
case 0xFF15:
|
||||
case 0xFF16:
|
||||
case 0xFF17:
|
||||
case 0xFF18:
|
||||
case 0xFF19:
|
||||
ch -= 0xFE20;
|
||||
break;
|
||||
case 0xFF1A: ch = 0x7A; break;
|
||||
case 0xFF1B: ch = 0x5E; break;
|
||||
case 0xFF1C: ch = 0x4C; break;
|
||||
case 0xFF1D: ch = 0x7E; break;
|
||||
case 0xFF1E: ch = 0x6E; break;
|
||||
case 0xFF1F: ch = 0x6F; break;
|
||||
case 0xFF20: ch = 0xAE; break;
|
||||
case 0xFF21:
|
||||
case 0xFF22:
|
||||
case 0xFF23:
|
||||
case 0xFF24:
|
||||
case 0xFF25:
|
||||
case 0xFF26:
|
||||
case 0xFF27:
|
||||
case 0xFF28:
|
||||
case 0xFF29:
|
||||
ch -= 0xFE60;
|
||||
break;
|
||||
case 0xFF2A:
|
||||
case 0xFF2B:
|
||||
case 0xFF2C:
|
||||
case 0xFF2D:
|
||||
case 0xFF2E:
|
||||
case 0xFF2F:
|
||||
case 0xFF30:
|
||||
case 0xFF31:
|
||||
case 0xFF32:
|
||||
ch -= 0xFE59;
|
||||
break;
|
||||
case 0xFF33:
|
||||
case 0xFF34:
|
||||
case 0xFF35:
|
||||
case 0xFF36:
|
||||
case 0xFF37:
|
||||
case 0xFF38:
|
||||
case 0xFF39:
|
||||
case 0xFF3A:
|
||||
ch -= 0xFE51;
|
||||
break;
|
||||
case 0xFF3B: ch = 0x68; break;
|
||||
case 0xFF3C: ch = 0xDC; break;
|
||||
case 0xFF3D: ch = 0xAC; break;
|
||||
case 0xFF3E: ch = 0x5F; break;
|
||||
case 0xFF3F: ch = 0x6D; break;
|
||||
case 0xFF40: ch = 0x8D; break;
|
||||
case 0xFF41:
|
||||
case 0xFF42:
|
||||
case 0xFF43:
|
||||
case 0xFF44:
|
||||
case 0xFF45:
|
||||
case 0xFF46:
|
||||
case 0xFF47:
|
||||
case 0xFF48:
|
||||
case 0xFF49:
|
||||
ch -= 0xFEC0;
|
||||
break;
|
||||
case 0xFF4A:
|
||||
case 0xFF4B:
|
||||
case 0xFF4C:
|
||||
case 0xFF4D:
|
||||
case 0xFF4E:
|
||||
case 0xFF4F:
|
||||
case 0xFF50:
|
||||
case 0xFF51:
|
||||
case 0xFF52:
|
||||
ch -= 0xFEB9;
|
||||
break;
|
||||
case 0xFF53:
|
||||
case 0xFF54:
|
||||
case 0xFF55:
|
||||
case 0xFF56:
|
||||
case 0xFF57:
|
||||
case 0xFF58:
|
||||
case 0xFF59:
|
||||
case 0xFF5A:
|
||||
ch -= 0xFEB1;
|
||||
break;
|
||||
case 0xFF5B: ch = 0x48; break;
|
||||
case 0xFF5C: ch = 0xBB; break;
|
||||
case 0xFF5D: ch = 0x8C; break;
|
||||
case 0xFF5E: ch = 0xCC; break;
|
||||
default: ch = 0x3F; break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ToBytes(String s, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(s[charIndex++]);
|
||||
if(ch >= 4) switch(ch)
|
||||
{
|
||||
case 0x000B:
|
||||
case 0x000C:
|
||||
case 0x000D:
|
||||
case 0x000E:
|
||||
case 0x000F:
|
||||
case 0x0010:
|
||||
case 0x0011:
|
||||
case 0x0012:
|
||||
case 0x0013:
|
||||
case 0x0018:
|
||||
case 0x0019:
|
||||
case 0x001C:
|
||||
case 0x001D:
|
||||
case 0x001E:
|
||||
case 0x001F:
|
||||
case 0x00B6:
|
||||
break;
|
||||
case 0x0004: ch = 0x37; break;
|
||||
case 0x0005: ch = 0x2D; break;
|
||||
case 0x0006: ch = 0x2E; break;
|
||||
case 0x0007: ch = 0x2F; break;
|
||||
case 0x0008: ch = 0x16; break;
|
||||
case 0x0009: ch = 0x05; break;
|
||||
case 0x000A: ch = 0x25; break;
|
||||
case 0x0014: ch = 0x3C; break;
|
||||
case 0x0015: ch = 0x3D; break;
|
||||
case 0x0016: ch = 0x32; break;
|
||||
case 0x0017: ch = 0x26; break;
|
||||
case 0x001A: ch = 0x3F; break;
|
||||
case 0x001B: ch = 0x27; break;
|
||||
case 0x0020: ch = 0x40; break;
|
||||
case 0x0021: ch = 0x4F; break;
|
||||
case 0x0022: ch = 0xFC; break;
|
||||
case 0x0023: ch = 0xEC; break;
|
||||
case 0x0024: ch = 0xAD; break;
|
||||
case 0x0025: ch = 0x6C; break;
|
||||
case 0x0026: ch = 0x50; break;
|
||||
case 0x0027: ch = 0x7D; break;
|
||||
case 0x0028: ch = 0x4D; break;
|
||||
case 0x0029: ch = 0x5D; break;
|
||||
case 0x002A: ch = 0x5C; break;
|
||||
case 0x002B: ch = 0x4E; break;
|
||||
case 0x002C: ch = 0x6B; break;
|
||||
case 0x002D: ch = 0x60; break;
|
||||
case 0x002E: ch = 0x4B; break;
|
||||
case 0x002F: ch = 0x61; break;
|
||||
case 0x0030:
|
||||
case 0x0031:
|
||||
case 0x0032:
|
||||
case 0x0033:
|
||||
case 0x0034:
|
||||
case 0x0035:
|
||||
case 0x0036:
|
||||
case 0x0037:
|
||||
case 0x0038:
|
||||
case 0x0039:
|
||||
ch += 0x00C0;
|
||||
break;
|
||||
case 0x003A: ch = 0x7A; break;
|
||||
case 0x003B: ch = 0x5E; break;
|
||||
case 0x003C: ch = 0x4C; break;
|
||||
case 0x003D: ch = 0x7E; break;
|
||||
case 0x003E: ch = 0x6E; break;
|
||||
case 0x003F: ch = 0x6F; break;
|
||||
case 0x0040: ch = 0xAE; break;
|
||||
case 0x0041:
|
||||
case 0x0042:
|
||||
case 0x0043:
|
||||
case 0x0044:
|
||||
case 0x0045:
|
||||
case 0x0046:
|
||||
case 0x0047:
|
||||
case 0x0048:
|
||||
case 0x0049:
|
||||
ch += 0x0080;
|
||||
break;
|
||||
case 0x004A:
|
||||
case 0x004B:
|
||||
case 0x004C:
|
||||
case 0x004D:
|
||||
case 0x004E:
|
||||
case 0x004F:
|
||||
case 0x0050:
|
||||
case 0x0051:
|
||||
case 0x0052:
|
||||
ch += 0x0087;
|
||||
break;
|
||||
case 0x0053:
|
||||
case 0x0054:
|
||||
case 0x0055:
|
||||
case 0x0056:
|
||||
case 0x0057:
|
||||
case 0x0058:
|
||||
case 0x0059:
|
||||
case 0x005A:
|
||||
ch += 0x008F;
|
||||
break;
|
||||
case 0x005B: ch = 0x68; break;
|
||||
case 0x005C: ch = 0xDC; break;
|
||||
case 0x005D: ch = 0xAC; break;
|
||||
case 0x005E: ch = 0x5F; break;
|
||||
case 0x005F: ch = 0x6D; break;
|
||||
case 0x0060: ch = 0x8D; break;
|
||||
case 0x0061:
|
||||
case 0x0062:
|
||||
case 0x0063:
|
||||
case 0x0064:
|
||||
case 0x0065:
|
||||
case 0x0066:
|
||||
case 0x0067:
|
||||
case 0x0068:
|
||||
case 0x0069:
|
||||
ch += 0x0020;
|
||||
break;
|
||||
case 0x006A:
|
||||
case 0x006B:
|
||||
case 0x006C:
|
||||
case 0x006D:
|
||||
case 0x006E:
|
||||
case 0x006F:
|
||||
case 0x0070:
|
||||
case 0x0071:
|
||||
case 0x0072:
|
||||
ch += 0x0027;
|
||||
break;
|
||||
case 0x0073:
|
||||
case 0x0074:
|
||||
case 0x0075:
|
||||
case 0x0076:
|
||||
case 0x0077:
|
||||
case 0x0078:
|
||||
case 0x0079:
|
||||
case 0x007A:
|
||||
ch += 0x002F;
|
||||
break;
|
||||
case 0x007B: ch = 0x48; break;
|
||||
case 0x007C: ch = 0xBB; break;
|
||||
case 0x007D: ch = 0x8C; break;
|
||||
case 0x007E: ch = 0xCC; break;
|
||||
case 0x007F: ch = 0x07; break;
|
||||
case 0x0080:
|
||||
case 0x0081:
|
||||
case 0x0082:
|
||||
case 0x0083:
|
||||
case 0x0084:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x0085: ch = 0x15; break;
|
||||
case 0x0086: ch = 0x06; break;
|
||||
case 0x0087: ch = 0x17; break;
|
||||
case 0x0088:
|
||||
case 0x0089:
|
||||
case 0x008A:
|
||||
case 0x008B:
|
||||
case 0x008C:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x008D: ch = 0x09; break;
|
||||
case 0x008E: ch = 0x0A; break;
|
||||
case 0x008F: ch = 0x1B; break;
|
||||
case 0x0090: ch = 0x30; break;
|
||||
case 0x0091: ch = 0x31; break;
|
||||
case 0x0092: ch = 0x1A; break;
|
||||
case 0x0093:
|
||||
case 0x0094:
|
||||
case 0x0095:
|
||||
case 0x0096:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x0097: ch = 0x08; break;
|
||||
case 0x0098:
|
||||
case 0x0099:
|
||||
case 0x009A:
|
||||
case 0x009B:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x009C: ch = 0x04; break;
|
||||
case 0x009D: ch = 0x14; break;
|
||||
case 0x009E: ch = 0x3E; break;
|
||||
case 0x009F: ch = 0xFF; break;
|
||||
case 0x00A0: ch = 0x41; break;
|
||||
case 0x00A1: ch = 0xAA; break;
|
||||
case 0x00A2: ch = 0xB0; break;
|
||||
case 0x00A3: ch = 0xB1; break;
|
||||
case 0x00A4: ch = 0x9F; break;
|
||||
case 0x00A5: ch = 0xB2; break;
|
||||
case 0x00A6: ch = 0x8E; break;
|
||||
case 0x00A7: ch = 0xB5; break;
|
||||
case 0x00A8: ch = 0xBD; break;
|
||||
case 0x00A9: ch = 0xB4; break;
|
||||
case 0x00AA: ch = 0x9A; break;
|
||||
case 0x00AB: ch = 0x8A; break;
|
||||
case 0x00AC: ch = 0xBA; break;
|
||||
case 0x00AD: ch = 0xCA; break;
|
||||
case 0x00AE: ch = 0xAF; break;
|
||||
case 0x00AF: ch = 0xBC; break;
|
||||
case 0x00B0: ch = 0x90; break;
|
||||
case 0x00B1: ch = 0x8F; break;
|
||||
case 0x00B2: ch = 0xEA; break;
|
||||
case 0x00B3: ch = 0xFA; break;
|
||||
case 0x00B4: ch = 0xBE; break;
|
||||
case 0x00B5: ch = 0xA0; break;
|
||||
case 0x00B7: ch = 0xB3; break;
|
||||
case 0x00B8: ch = 0x9D; break;
|
||||
case 0x00B9: ch = 0xDA; break;
|
||||
case 0x00BA: ch = 0x9B; break;
|
||||
case 0x00BB: ch = 0x8B; break;
|
||||
case 0x00BC: ch = 0xB7; break;
|
||||
case 0x00BD: ch = 0xB8; break;
|
||||
case 0x00BE: ch = 0xB9; break;
|
||||
case 0x00BF: ch = 0xAB; break;
|
||||
case 0x00C0: ch = 0x64; break;
|
||||
case 0x00C1: ch = 0x65; break;
|
||||
case 0x00C2: ch = 0x62; break;
|
||||
case 0x00C3: ch = 0x66; break;
|
||||
case 0x00C4: ch = 0x63; break;
|
||||
case 0x00C5: ch = 0x67; break;
|
||||
case 0x00C6: ch = 0x9E; break;
|
||||
case 0x00C7: ch = 0x4A; break;
|
||||
case 0x00C8: ch = 0x74; break;
|
||||
case 0x00C9: ch = 0x71; break;
|
||||
case 0x00CA: ch = 0x72; break;
|
||||
case 0x00CB: ch = 0x73; break;
|
||||
case 0x00CC: ch = 0x78; break;
|
||||
case 0x00CD: ch = 0x75; break;
|
||||
case 0x00CE: ch = 0x76; break;
|
||||
case 0x00CF: ch = 0x77; break;
|
||||
case 0x00D1: ch = 0x69; break;
|
||||
case 0x00D2: ch = 0xED; break;
|
||||
case 0x00D3: ch = 0xEE; break;
|
||||
case 0x00D4: ch = 0xEB; break;
|
||||
case 0x00D5: ch = 0xEF; break;
|
||||
case 0x00D6: ch = 0x7B; break;
|
||||
case 0x00D7: ch = 0xBF; break;
|
||||
case 0x00D8: ch = 0x80; break;
|
||||
case 0x00D9: ch = 0xFD; break;
|
||||
case 0x00DA: ch = 0xFE; break;
|
||||
case 0x00DB: ch = 0xFB; break;
|
||||
case 0x00DC: ch = 0x7F; break;
|
||||
case 0x00DF: ch = 0x59; break;
|
||||
case 0x00E0: ch = 0x44; break;
|
||||
case 0x00E1: ch = 0x45; break;
|
||||
case 0x00E2: ch = 0x42; break;
|
||||
case 0x00E3: ch = 0x46; break;
|
||||
case 0x00E4: ch = 0x43; break;
|
||||
case 0x00E5: ch = 0x47; break;
|
||||
case 0x00E6: ch = 0x9C; break;
|
||||
case 0x00E7: ch = 0xC0; break;
|
||||
case 0x00E8: ch = 0x54; break;
|
||||
case 0x00E9: ch = 0x51; break;
|
||||
case 0x00EA: ch = 0x52; break;
|
||||
case 0x00EB: ch = 0x53; break;
|
||||
case 0x00EC: ch = 0x58; break;
|
||||
case 0x00ED: ch = 0x55; break;
|
||||
case 0x00EE: ch = 0x56; break;
|
||||
case 0x00EF: ch = 0x57; break;
|
||||
case 0x00F1: ch = 0x49; break;
|
||||
case 0x00F2: ch = 0xCD; break;
|
||||
case 0x00F3: ch = 0xCE; break;
|
||||
case 0x00F4: ch = 0xCB; break;
|
||||
case 0x00F5: ch = 0xCF; break;
|
||||
case 0x00F6: ch = 0xA1; break;
|
||||
case 0x00F7: ch = 0xE1; break;
|
||||
case 0x00F8: ch = 0x70; break;
|
||||
case 0x00F9: ch = 0xDD; break;
|
||||
case 0x00FA: ch = 0xDE; break;
|
||||
case 0x00FB: ch = 0xDB; break;
|
||||
case 0x00FC: ch = 0xE0; break;
|
||||
case 0x00FF: ch = 0xDF; break;
|
||||
case 0x011E: ch = 0x5A; break;
|
||||
case 0x011F: ch = 0xD0; break;
|
||||
case 0x0130: ch = 0x5B; break;
|
||||
case 0x0131: ch = 0x79; break;
|
||||
case 0x015E: ch = 0x7C; break;
|
||||
case 0x015F: ch = 0x6A; break;
|
||||
case 0x203E: ch = 0xBC; break;
|
||||
case 0xFF01: ch = 0x4F; break;
|
||||
case 0xFF02: ch = 0xFC; break;
|
||||
case 0xFF03: ch = 0xEC; break;
|
||||
case 0xFF04: ch = 0xAD; break;
|
||||
case 0xFF05: ch = 0x6C; break;
|
||||
case 0xFF06: ch = 0x50; break;
|
||||
case 0xFF07: ch = 0x7D; break;
|
||||
case 0xFF08: ch = 0x4D; break;
|
||||
case 0xFF09: ch = 0x5D; break;
|
||||
case 0xFF0A: ch = 0x5C; break;
|
||||
case 0xFF0B: ch = 0x4E; break;
|
||||
case 0xFF0C: ch = 0x6B; break;
|
||||
case 0xFF0D: ch = 0x60; break;
|
||||
case 0xFF0E: ch = 0x4B; break;
|
||||
case 0xFF0F: ch = 0x61; break;
|
||||
case 0xFF10:
|
||||
case 0xFF11:
|
||||
case 0xFF12:
|
||||
case 0xFF13:
|
||||
case 0xFF14:
|
||||
case 0xFF15:
|
||||
case 0xFF16:
|
||||
case 0xFF17:
|
||||
case 0xFF18:
|
||||
case 0xFF19:
|
||||
ch -= 0xFE20;
|
||||
break;
|
||||
case 0xFF1A: ch = 0x7A; break;
|
||||
case 0xFF1B: ch = 0x5E; break;
|
||||
case 0xFF1C: ch = 0x4C; break;
|
||||
case 0xFF1D: ch = 0x7E; break;
|
||||
case 0xFF1E: ch = 0x6E; break;
|
||||
case 0xFF1F: ch = 0x6F; break;
|
||||
case 0xFF20: ch = 0xAE; break;
|
||||
case 0xFF21:
|
||||
case 0xFF22:
|
||||
case 0xFF23:
|
||||
case 0xFF24:
|
||||
case 0xFF25:
|
||||
case 0xFF26:
|
||||
case 0xFF27:
|
||||
case 0xFF28:
|
||||
case 0xFF29:
|
||||
ch -= 0xFE60;
|
||||
break;
|
||||
case 0xFF2A:
|
||||
case 0xFF2B:
|
||||
case 0xFF2C:
|
||||
case 0xFF2D:
|
||||
case 0xFF2E:
|
||||
case 0xFF2F:
|
||||
case 0xFF30:
|
||||
case 0xFF31:
|
||||
case 0xFF32:
|
||||
ch -= 0xFE59;
|
||||
break;
|
||||
case 0xFF33:
|
||||
case 0xFF34:
|
||||
case 0xFF35:
|
||||
case 0xFF36:
|
||||
case 0xFF37:
|
||||
case 0xFF38:
|
||||
case 0xFF39:
|
||||
case 0xFF3A:
|
||||
ch -= 0xFE51;
|
||||
break;
|
||||
case 0xFF3B: ch = 0x68; break;
|
||||
case 0xFF3C: ch = 0xDC; break;
|
||||
case 0xFF3D: ch = 0xAC; break;
|
||||
case 0xFF3E: ch = 0x5F; break;
|
||||
case 0xFF3F: ch = 0x6D; break;
|
||||
case 0xFF40: ch = 0x8D; break;
|
||||
case 0xFF41:
|
||||
case 0xFF42:
|
||||
case 0xFF43:
|
||||
case 0xFF44:
|
||||
case 0xFF45:
|
||||
case 0xFF46:
|
||||
case 0xFF47:
|
||||
case 0xFF48:
|
||||
case 0xFF49:
|
||||
ch -= 0xFEC0;
|
||||
break;
|
||||
case 0xFF4A:
|
||||
case 0xFF4B:
|
||||
case 0xFF4C:
|
||||
case 0xFF4D:
|
||||
case 0xFF4E:
|
||||
case 0xFF4F:
|
||||
case 0xFF50:
|
||||
case 0xFF51:
|
||||
case 0xFF52:
|
||||
ch -= 0xFEB9;
|
||||
break;
|
||||
case 0xFF53:
|
||||
case 0xFF54:
|
||||
case 0xFF55:
|
||||
case 0xFF56:
|
||||
case 0xFF57:
|
||||
case 0xFF58:
|
||||
case 0xFF59:
|
||||
case 0xFF5A:
|
||||
ch -= 0xFEB1;
|
||||
break;
|
||||
case 0xFF5B: ch = 0x48; break;
|
||||
case 0xFF5C: ch = 0xBB; break;
|
||||
case 0xFF5D: ch = 0x8C; break;
|
||||
case 0xFF5E: ch = 0xCC; break;
|
||||
default: ch = 0x3F; break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
}; // class CP1026
|
||||
|
||||
public class ENCibm1026 : CP1026
|
||||
{
|
||||
public ENCibm1026() : base() {}
|
||||
|
||||
}; // class ENCibm1026
|
||||
|
||||
}; // namespace I18N.Rare
|
||||
@@ -0,0 +1,895 @@
|
||||
/*
|
||||
* CP1047.cs - IBM EBCDIC (Open Systems Latin 1) code page.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// Generated from "ibm-1047.ucm".
|
||||
|
||||
namespace I18N.Rare
|
||||
{
|
||||
|
||||
using System;
|
||||
using I18N.Common;
|
||||
|
||||
public class CP1047 : ByteEncoding
|
||||
{
|
||||
public CP1047()
|
||||
: base(1047, ToChars, "IBM EBCDIC (Open Systems Latin 1)",
|
||||
"ibm1047", "ibm1047", "ibm1047",
|
||||
false, false, false, false, 1252)
|
||||
{}
|
||||
|
||||
private static readonly char[] ToChars = {
|
||||
'\u0000', '\u0001', '\u0002', '\u0003', '\u009C', '\u0009',
|
||||
'\u0086', '\u007F', '\u0097', '\u008D', '\u008E', '\u000B',
|
||||
'\u000C', '\u000D', '\u000E', '\u000F', '\u0010', '\u0011',
|
||||
'\u0012', '\u0013', '\u009D', '\u0085', '\u0008', '\u0087',
|
||||
'\u0018', '\u0019', '\u0092', '\u008F', '\u001C', '\u001D',
|
||||
'\u001E', '\u001F', '\u0080', '\u0081', '\u0082', '\u0083',
|
||||
'\u0084', '\u000A', '\u0017', '\u001B', '\u0088', '\u0089',
|
||||
'\u008A', '\u008B', '\u008C', '\u0005', '\u0006', '\u0007',
|
||||
'\u0090', '\u0091', '\u0016', '\u0093', '\u0094', '\u0095',
|
||||
'\u0096', '\u0004', '\u0098', '\u0099', '\u009A', '\u009B',
|
||||
'\u0014', '\u0015', '\u009E', '\u001A', '\u0020', '\u00A0',
|
||||
'\u00E2', '\u00E4', '\u00E0', '\u00E1', '\u00E3', '\u00E5',
|
||||
'\u00E7', '\u00F1', '\u00A2', '\u002E', '\u003C', '\u0028',
|
||||
'\u002B', '\u007C', '\u0026', '\u00E9', '\u00EA', '\u00EB',
|
||||
'\u00E8', '\u00ED', '\u00EE', '\u00EF', '\u00EC', '\u00DF',
|
||||
'\u0021', '\u0024', '\u002A', '\u0029', '\u003B', '\u005E',
|
||||
'\u002D', '\u002F', '\u00C2', '\u00C4', '\u00C0', '\u00C1',
|
||||
'\u00C3', '\u00C5', '\u00C7', '\u00D1', '\u00A6', '\u002C',
|
||||
'\u0025', '\u005F', '\u003E', '\u003F', '\u00F8', '\u00C9',
|
||||
'\u00CA', '\u00CB', '\u00C8', '\u00CD', '\u00CE', '\u00CF',
|
||||
'\u00CC', '\u0060', '\u003A', '\u0023', '\u0040', '\u0027',
|
||||
'\u003D', '\u0022', '\u00D8', '\u0061', '\u0062', '\u0063',
|
||||
'\u0064', '\u0065', '\u0066', '\u0067', '\u0068', '\u0069',
|
||||
'\u00AB', '\u00BB', '\u00F0', '\u00FD', '\u00FE', '\u00B1',
|
||||
'\u00B0', '\u006A', '\u006B', '\u006C', '\u006D', '\u006E',
|
||||
'\u006F', '\u0070', '\u0071', '\u0072', '\u00AA', '\u00BA',
|
||||
'\u00E6', '\u00B8', '\u00C6', '\u00A4', '\u00B5', '\u007E',
|
||||
'\u0073', '\u0074', '\u0075', '\u0076', '\u0077', '\u0078',
|
||||
'\u0079', '\u007A', '\u00A1', '\u00BF', '\u00D0', '\u005B',
|
||||
'\u00DE', '\u00AE', '\u00AC', '\u00A3', '\u00A5', '\u00B7',
|
||||
'\u00A9', '\u00A7', '\u00B6', '\u00BC', '\u00BD', '\u00BE',
|
||||
'\u00DD', '\u00A8', '\u00AF', '\u005D', '\u00B4', '\u00D7',
|
||||
'\u007B', '\u0041', '\u0042', '\u0043', '\u0044', '\u0045',
|
||||
'\u0046', '\u0047', '\u0048', '\u0049', '\u00AD', '\u00F4',
|
||||
'\u00F6', '\u00F2', '\u00F3', '\u00F5', '\u007D', '\u004A',
|
||||
'\u004B', '\u004C', '\u004D', '\u004E', '\u004F', '\u0050',
|
||||
'\u0051', '\u0052', '\u00B9', '\u00FB', '\u00FC', '\u00F9',
|
||||
'\u00FA', '\u00FF', '\u005C', '\u00F7', '\u0053', '\u0054',
|
||||
'\u0055', '\u0056', '\u0057', '\u0058', '\u0059', '\u005A',
|
||||
'\u00B2', '\u00D4', '\u00D6', '\u00D2', '\u00D3', '\u00D5',
|
||||
'\u0030', '\u0031', '\u0032', '\u0033', '\u0034', '\u0035',
|
||||
'\u0036', '\u0037', '\u0038', '\u0039', '\u00B3', '\u00DB',
|
||||
'\u00DC', '\u00D9', '\u00DA', '\u009F',
|
||||
};
|
||||
|
||||
protected override void ToBytes(char[] chars, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(chars[charIndex++]);
|
||||
if(ch >= 4) switch(ch)
|
||||
{
|
||||
case 0x000B:
|
||||
case 0x000C:
|
||||
case 0x000D:
|
||||
case 0x000E:
|
||||
case 0x000F:
|
||||
case 0x0010:
|
||||
case 0x0011:
|
||||
case 0x0012:
|
||||
case 0x0013:
|
||||
case 0x0018:
|
||||
case 0x0019:
|
||||
case 0x001C:
|
||||
case 0x001D:
|
||||
case 0x001E:
|
||||
case 0x001F:
|
||||
case 0x00B6:
|
||||
break;
|
||||
case 0x0004: ch = 0x37; break;
|
||||
case 0x0005: ch = 0x2D; break;
|
||||
case 0x0006: ch = 0x2E; break;
|
||||
case 0x0007: ch = 0x2F; break;
|
||||
case 0x0008: ch = 0x16; break;
|
||||
case 0x0009: ch = 0x05; break;
|
||||
case 0x000A: ch = 0x25; break;
|
||||
case 0x0014: ch = 0x3C; break;
|
||||
case 0x0015: ch = 0x3D; break;
|
||||
case 0x0016: ch = 0x32; break;
|
||||
case 0x0017: ch = 0x26; break;
|
||||
case 0x001A: ch = 0x3F; break;
|
||||
case 0x001B: ch = 0x27; break;
|
||||
case 0x0020: ch = 0x40; break;
|
||||
case 0x0021: ch = 0x5A; break;
|
||||
case 0x0022: ch = 0x7F; break;
|
||||
case 0x0023: ch = 0x7B; break;
|
||||
case 0x0024: ch = 0x5B; break;
|
||||
case 0x0025: ch = 0x6C; break;
|
||||
case 0x0026: ch = 0x50; break;
|
||||
case 0x0027: ch = 0x7D; break;
|
||||
case 0x0028: ch = 0x4D; break;
|
||||
case 0x0029: ch = 0x5D; break;
|
||||
case 0x002A: ch = 0x5C; break;
|
||||
case 0x002B: ch = 0x4E; break;
|
||||
case 0x002C: ch = 0x6B; break;
|
||||
case 0x002D: ch = 0x60; break;
|
||||
case 0x002E: ch = 0x4B; break;
|
||||
case 0x002F: ch = 0x61; break;
|
||||
case 0x0030:
|
||||
case 0x0031:
|
||||
case 0x0032:
|
||||
case 0x0033:
|
||||
case 0x0034:
|
||||
case 0x0035:
|
||||
case 0x0036:
|
||||
case 0x0037:
|
||||
case 0x0038:
|
||||
case 0x0039:
|
||||
ch += 0x00C0;
|
||||
break;
|
||||
case 0x003A: ch = 0x7A; break;
|
||||
case 0x003B: ch = 0x5E; break;
|
||||
case 0x003C: ch = 0x4C; break;
|
||||
case 0x003D: ch = 0x7E; break;
|
||||
case 0x003E: ch = 0x6E; break;
|
||||
case 0x003F: ch = 0x6F; break;
|
||||
case 0x0040: ch = 0x7C; break;
|
||||
case 0x0041:
|
||||
case 0x0042:
|
||||
case 0x0043:
|
||||
case 0x0044:
|
||||
case 0x0045:
|
||||
case 0x0046:
|
||||
case 0x0047:
|
||||
case 0x0048:
|
||||
case 0x0049:
|
||||
ch += 0x0080;
|
||||
break;
|
||||
case 0x004A:
|
||||
case 0x004B:
|
||||
case 0x004C:
|
||||
case 0x004D:
|
||||
case 0x004E:
|
||||
case 0x004F:
|
||||
case 0x0050:
|
||||
case 0x0051:
|
||||
case 0x0052:
|
||||
ch += 0x0087;
|
||||
break;
|
||||
case 0x0053:
|
||||
case 0x0054:
|
||||
case 0x0055:
|
||||
case 0x0056:
|
||||
case 0x0057:
|
||||
case 0x0058:
|
||||
case 0x0059:
|
||||
case 0x005A:
|
||||
ch += 0x008F;
|
||||
break;
|
||||
case 0x005B: ch = 0xAD; break;
|
||||
case 0x005C: ch = 0xE0; break;
|
||||
case 0x005D: ch = 0xBD; break;
|
||||
case 0x005E: ch = 0x5F; break;
|
||||
case 0x005F: ch = 0x6D; break;
|
||||
case 0x0060: ch = 0x79; break;
|
||||
case 0x0061:
|
||||
case 0x0062:
|
||||
case 0x0063:
|
||||
case 0x0064:
|
||||
case 0x0065:
|
||||
case 0x0066:
|
||||
case 0x0067:
|
||||
case 0x0068:
|
||||
case 0x0069:
|
||||
ch += 0x0020;
|
||||
break;
|
||||
case 0x006A:
|
||||
case 0x006B:
|
||||
case 0x006C:
|
||||
case 0x006D:
|
||||
case 0x006E:
|
||||
case 0x006F:
|
||||
case 0x0070:
|
||||
case 0x0071:
|
||||
case 0x0072:
|
||||
ch += 0x0027;
|
||||
break;
|
||||
case 0x0073:
|
||||
case 0x0074:
|
||||
case 0x0075:
|
||||
case 0x0076:
|
||||
case 0x0077:
|
||||
case 0x0078:
|
||||
case 0x0079:
|
||||
case 0x007A:
|
||||
ch += 0x002F;
|
||||
break;
|
||||
case 0x007B: ch = 0xC0; break;
|
||||
case 0x007C: ch = 0x4F; break;
|
||||
case 0x007D: ch = 0xD0; break;
|
||||
case 0x007E: ch = 0xA1; break;
|
||||
case 0x007F: ch = 0x07; break;
|
||||
case 0x0080:
|
||||
case 0x0081:
|
||||
case 0x0082:
|
||||
case 0x0083:
|
||||
case 0x0084:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x0085: ch = 0x15; break;
|
||||
case 0x0086: ch = 0x06; break;
|
||||
case 0x0087: ch = 0x17; break;
|
||||
case 0x0088:
|
||||
case 0x0089:
|
||||
case 0x008A:
|
||||
case 0x008B:
|
||||
case 0x008C:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x008D: ch = 0x09; break;
|
||||
case 0x008E: ch = 0x0A; break;
|
||||
case 0x008F: ch = 0x1B; break;
|
||||
case 0x0090: ch = 0x30; break;
|
||||
case 0x0091: ch = 0x31; break;
|
||||
case 0x0092: ch = 0x1A; break;
|
||||
case 0x0093:
|
||||
case 0x0094:
|
||||
case 0x0095:
|
||||
case 0x0096:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x0097: ch = 0x08; break;
|
||||
case 0x0098:
|
||||
case 0x0099:
|
||||
case 0x009A:
|
||||
case 0x009B:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x009C: ch = 0x04; break;
|
||||
case 0x009D: ch = 0x14; break;
|
||||
case 0x009E: ch = 0x3E; break;
|
||||
case 0x009F: ch = 0xFF; break;
|
||||
case 0x00A0: ch = 0x41; break;
|
||||
case 0x00A1: ch = 0xAA; break;
|
||||
case 0x00A2: ch = 0x4A; break;
|
||||
case 0x00A3: ch = 0xB1; break;
|
||||
case 0x00A4: ch = 0x9F; break;
|
||||
case 0x00A5: ch = 0xB2; break;
|
||||
case 0x00A6: ch = 0x6A; break;
|
||||
case 0x00A7: ch = 0xB5; break;
|
||||
case 0x00A8: ch = 0xBB; break;
|
||||
case 0x00A9: ch = 0xB4; break;
|
||||
case 0x00AA: ch = 0x9A; break;
|
||||
case 0x00AB: ch = 0x8A; break;
|
||||
case 0x00AC: ch = 0xB0; break;
|
||||
case 0x00AD: ch = 0xCA; break;
|
||||
case 0x00AE: ch = 0xAF; break;
|
||||
case 0x00AF: ch = 0xBC; break;
|
||||
case 0x00B0: ch = 0x90; break;
|
||||
case 0x00B1: ch = 0x8F; break;
|
||||
case 0x00B2: ch = 0xEA; break;
|
||||
case 0x00B3: ch = 0xFA; break;
|
||||
case 0x00B4: ch = 0xBE; break;
|
||||
case 0x00B5: ch = 0xA0; break;
|
||||
case 0x00B7: ch = 0xB3; break;
|
||||
case 0x00B8: ch = 0x9D; break;
|
||||
case 0x00B9: ch = 0xDA; break;
|
||||
case 0x00BA: ch = 0x9B; break;
|
||||
case 0x00BB: ch = 0x8B; break;
|
||||
case 0x00BC: ch = 0xB7; break;
|
||||
case 0x00BD: ch = 0xB8; break;
|
||||
case 0x00BE: ch = 0xB9; break;
|
||||
case 0x00BF: ch = 0xAB; break;
|
||||
case 0x00C0: ch = 0x64; break;
|
||||
case 0x00C1: ch = 0x65; break;
|
||||
case 0x00C2: ch = 0x62; break;
|
||||
case 0x00C3: ch = 0x66; break;
|
||||
case 0x00C4: ch = 0x63; break;
|
||||
case 0x00C5: ch = 0x67; break;
|
||||
case 0x00C6: ch = 0x9E; break;
|
||||
case 0x00C7: ch = 0x68; break;
|
||||
case 0x00C8: ch = 0x74; break;
|
||||
case 0x00C9: ch = 0x71; break;
|
||||
case 0x00CA: ch = 0x72; break;
|
||||
case 0x00CB: ch = 0x73; break;
|
||||
case 0x00CC: ch = 0x78; break;
|
||||
case 0x00CD: ch = 0x75; break;
|
||||
case 0x00CE: ch = 0x76; break;
|
||||
case 0x00CF: ch = 0x77; break;
|
||||
case 0x00D0: ch = 0xAC; break;
|
||||
case 0x00D1: ch = 0x69; break;
|
||||
case 0x00D2: ch = 0xED; break;
|
||||
case 0x00D3: ch = 0xEE; break;
|
||||
case 0x00D4: ch = 0xEB; break;
|
||||
case 0x00D5: ch = 0xEF; break;
|
||||
case 0x00D6: ch = 0xEC; break;
|
||||
case 0x00D7: ch = 0xBF; break;
|
||||
case 0x00D8: ch = 0x80; break;
|
||||
case 0x00D9: ch = 0xFD; break;
|
||||
case 0x00DA: ch = 0xFE; break;
|
||||
case 0x00DB: ch = 0xFB; break;
|
||||
case 0x00DC: ch = 0xFC; break;
|
||||
case 0x00DD: ch = 0xBA; break;
|
||||
case 0x00DE: ch = 0xAE; break;
|
||||
case 0x00DF: ch = 0x59; break;
|
||||
case 0x00E0: ch = 0x44; break;
|
||||
case 0x00E1: ch = 0x45; break;
|
||||
case 0x00E2: ch = 0x42; break;
|
||||
case 0x00E3: ch = 0x46; break;
|
||||
case 0x00E4: ch = 0x43; break;
|
||||
case 0x00E5: ch = 0x47; break;
|
||||
case 0x00E6: ch = 0x9C; break;
|
||||
case 0x00E7: ch = 0x48; break;
|
||||
case 0x00E8: ch = 0x54; break;
|
||||
case 0x00E9: ch = 0x51; break;
|
||||
case 0x00EA: ch = 0x52; break;
|
||||
case 0x00EB: ch = 0x53; break;
|
||||
case 0x00EC: ch = 0x58; break;
|
||||
case 0x00ED: ch = 0x55; break;
|
||||
case 0x00EE: ch = 0x56; break;
|
||||
case 0x00EF: ch = 0x57; break;
|
||||
case 0x00F0: ch = 0x8C; break;
|
||||
case 0x00F1: ch = 0x49; break;
|
||||
case 0x00F2: ch = 0xCD; break;
|
||||
case 0x00F3: ch = 0xCE; break;
|
||||
case 0x00F4: ch = 0xCB; break;
|
||||
case 0x00F5: ch = 0xCF; break;
|
||||
case 0x00F6: ch = 0xCC; break;
|
||||
case 0x00F7: ch = 0xE1; break;
|
||||
case 0x00F8: ch = 0x70; break;
|
||||
case 0x00F9: ch = 0xDD; break;
|
||||
case 0x00FA: ch = 0xDE; break;
|
||||
case 0x00FB: ch = 0xDB; break;
|
||||
case 0x00FC: ch = 0xDC; break;
|
||||
case 0x00FD: ch = 0x8D; break;
|
||||
case 0x00FE: ch = 0x8E; break;
|
||||
case 0x00FF: ch = 0xDF; break;
|
||||
case 0x203E: ch = 0xBC; break;
|
||||
case 0xFF01: ch = 0x5A; break;
|
||||
case 0xFF02: ch = 0x7F; break;
|
||||
case 0xFF03: ch = 0x7B; break;
|
||||
case 0xFF04: ch = 0x5B; break;
|
||||
case 0xFF05: ch = 0x6C; break;
|
||||
case 0xFF06: ch = 0x50; break;
|
||||
case 0xFF07: ch = 0x7D; break;
|
||||
case 0xFF08: ch = 0x4D; break;
|
||||
case 0xFF09: ch = 0x5D; break;
|
||||
case 0xFF0A: ch = 0x5C; break;
|
||||
case 0xFF0B: ch = 0x4E; break;
|
||||
case 0xFF0C: ch = 0x6B; break;
|
||||
case 0xFF0D: ch = 0x60; break;
|
||||
case 0xFF0E: ch = 0x4B; break;
|
||||
case 0xFF0F: ch = 0x61; break;
|
||||
case 0xFF10:
|
||||
case 0xFF11:
|
||||
case 0xFF12:
|
||||
case 0xFF13:
|
||||
case 0xFF14:
|
||||
case 0xFF15:
|
||||
case 0xFF16:
|
||||
case 0xFF17:
|
||||
case 0xFF18:
|
||||
case 0xFF19:
|
||||
ch -= 0xFE20;
|
||||
break;
|
||||
case 0xFF1A: ch = 0x7A; break;
|
||||
case 0xFF1B: ch = 0x5E; break;
|
||||
case 0xFF1C: ch = 0x4C; break;
|
||||
case 0xFF1D: ch = 0x7E; break;
|
||||
case 0xFF1E: ch = 0x6E; break;
|
||||
case 0xFF1F: ch = 0x6F; break;
|
||||
case 0xFF20: ch = 0x7C; break;
|
||||
case 0xFF21:
|
||||
case 0xFF22:
|
||||
case 0xFF23:
|
||||
case 0xFF24:
|
||||
case 0xFF25:
|
||||
case 0xFF26:
|
||||
case 0xFF27:
|
||||
case 0xFF28:
|
||||
case 0xFF29:
|
||||
ch -= 0xFE60;
|
||||
break;
|
||||
case 0xFF2A:
|
||||
case 0xFF2B:
|
||||
case 0xFF2C:
|
||||
case 0xFF2D:
|
||||
case 0xFF2E:
|
||||
case 0xFF2F:
|
||||
case 0xFF30:
|
||||
case 0xFF31:
|
||||
case 0xFF32:
|
||||
ch -= 0xFE59;
|
||||
break;
|
||||
case 0xFF33:
|
||||
case 0xFF34:
|
||||
case 0xFF35:
|
||||
case 0xFF36:
|
||||
case 0xFF37:
|
||||
case 0xFF38:
|
||||
case 0xFF39:
|
||||
case 0xFF3A:
|
||||
ch -= 0xFE51;
|
||||
break;
|
||||
case 0xFF3B: ch = 0xAD; break;
|
||||
case 0xFF3C: ch = 0xE0; break;
|
||||
case 0xFF3D: ch = 0xBD; break;
|
||||
case 0xFF3E: ch = 0x5F; break;
|
||||
case 0xFF3F: ch = 0x6D; break;
|
||||
case 0xFF40: ch = 0x79; break;
|
||||
case 0xFF41:
|
||||
case 0xFF42:
|
||||
case 0xFF43:
|
||||
case 0xFF44:
|
||||
case 0xFF45:
|
||||
case 0xFF46:
|
||||
case 0xFF47:
|
||||
case 0xFF48:
|
||||
case 0xFF49:
|
||||
ch -= 0xFEC0;
|
||||
break;
|
||||
case 0xFF4A:
|
||||
case 0xFF4B:
|
||||
case 0xFF4C:
|
||||
case 0xFF4D:
|
||||
case 0xFF4E:
|
||||
case 0xFF4F:
|
||||
case 0xFF50:
|
||||
case 0xFF51:
|
||||
case 0xFF52:
|
||||
ch -= 0xFEB9;
|
||||
break;
|
||||
case 0xFF53:
|
||||
case 0xFF54:
|
||||
case 0xFF55:
|
||||
case 0xFF56:
|
||||
case 0xFF57:
|
||||
case 0xFF58:
|
||||
case 0xFF59:
|
||||
case 0xFF5A:
|
||||
ch -= 0xFEB1;
|
||||
break;
|
||||
case 0xFF5B: ch = 0xC0; break;
|
||||
case 0xFF5C: ch = 0x4F; break;
|
||||
case 0xFF5D: ch = 0xD0; break;
|
||||
case 0xFF5E: ch = 0xA1; break;
|
||||
default: ch = 0x3F; break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ToBytes(String s, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(s[charIndex++]);
|
||||
if(ch >= 4) switch(ch)
|
||||
{
|
||||
case 0x000B:
|
||||
case 0x000C:
|
||||
case 0x000D:
|
||||
case 0x000E:
|
||||
case 0x000F:
|
||||
case 0x0010:
|
||||
case 0x0011:
|
||||
case 0x0012:
|
||||
case 0x0013:
|
||||
case 0x0018:
|
||||
case 0x0019:
|
||||
case 0x001C:
|
||||
case 0x001D:
|
||||
case 0x001E:
|
||||
case 0x001F:
|
||||
case 0x00B6:
|
||||
break;
|
||||
case 0x0004: ch = 0x37; break;
|
||||
case 0x0005: ch = 0x2D; break;
|
||||
case 0x0006: ch = 0x2E; break;
|
||||
case 0x0007: ch = 0x2F; break;
|
||||
case 0x0008: ch = 0x16; break;
|
||||
case 0x0009: ch = 0x05; break;
|
||||
case 0x000A: ch = 0x25; break;
|
||||
case 0x0014: ch = 0x3C; break;
|
||||
case 0x0015: ch = 0x3D; break;
|
||||
case 0x0016: ch = 0x32; break;
|
||||
case 0x0017: ch = 0x26; break;
|
||||
case 0x001A: ch = 0x3F; break;
|
||||
case 0x001B: ch = 0x27; break;
|
||||
case 0x0020: ch = 0x40; break;
|
||||
case 0x0021: ch = 0x5A; break;
|
||||
case 0x0022: ch = 0x7F; break;
|
||||
case 0x0023: ch = 0x7B; break;
|
||||
case 0x0024: ch = 0x5B; break;
|
||||
case 0x0025: ch = 0x6C; break;
|
||||
case 0x0026: ch = 0x50; break;
|
||||
case 0x0027: ch = 0x7D; break;
|
||||
case 0x0028: ch = 0x4D; break;
|
||||
case 0x0029: ch = 0x5D; break;
|
||||
case 0x002A: ch = 0x5C; break;
|
||||
case 0x002B: ch = 0x4E; break;
|
||||
case 0x002C: ch = 0x6B; break;
|
||||
case 0x002D: ch = 0x60; break;
|
||||
case 0x002E: ch = 0x4B; break;
|
||||
case 0x002F: ch = 0x61; break;
|
||||
case 0x0030:
|
||||
case 0x0031:
|
||||
case 0x0032:
|
||||
case 0x0033:
|
||||
case 0x0034:
|
||||
case 0x0035:
|
||||
case 0x0036:
|
||||
case 0x0037:
|
||||
case 0x0038:
|
||||
case 0x0039:
|
||||
ch += 0x00C0;
|
||||
break;
|
||||
case 0x003A: ch = 0x7A; break;
|
||||
case 0x003B: ch = 0x5E; break;
|
||||
case 0x003C: ch = 0x4C; break;
|
||||
case 0x003D: ch = 0x7E; break;
|
||||
case 0x003E: ch = 0x6E; break;
|
||||
case 0x003F: ch = 0x6F; break;
|
||||
case 0x0040: ch = 0x7C; break;
|
||||
case 0x0041:
|
||||
case 0x0042:
|
||||
case 0x0043:
|
||||
case 0x0044:
|
||||
case 0x0045:
|
||||
case 0x0046:
|
||||
case 0x0047:
|
||||
case 0x0048:
|
||||
case 0x0049:
|
||||
ch += 0x0080;
|
||||
break;
|
||||
case 0x004A:
|
||||
case 0x004B:
|
||||
case 0x004C:
|
||||
case 0x004D:
|
||||
case 0x004E:
|
||||
case 0x004F:
|
||||
case 0x0050:
|
||||
case 0x0051:
|
||||
case 0x0052:
|
||||
ch += 0x0087;
|
||||
break;
|
||||
case 0x0053:
|
||||
case 0x0054:
|
||||
case 0x0055:
|
||||
case 0x0056:
|
||||
case 0x0057:
|
||||
case 0x0058:
|
||||
case 0x0059:
|
||||
case 0x005A:
|
||||
ch += 0x008F;
|
||||
break;
|
||||
case 0x005B: ch = 0xAD; break;
|
||||
case 0x005C: ch = 0xE0; break;
|
||||
case 0x005D: ch = 0xBD; break;
|
||||
case 0x005E: ch = 0x5F; break;
|
||||
case 0x005F: ch = 0x6D; break;
|
||||
case 0x0060: ch = 0x79; break;
|
||||
case 0x0061:
|
||||
case 0x0062:
|
||||
case 0x0063:
|
||||
case 0x0064:
|
||||
case 0x0065:
|
||||
case 0x0066:
|
||||
case 0x0067:
|
||||
case 0x0068:
|
||||
case 0x0069:
|
||||
ch += 0x0020;
|
||||
break;
|
||||
case 0x006A:
|
||||
case 0x006B:
|
||||
case 0x006C:
|
||||
case 0x006D:
|
||||
case 0x006E:
|
||||
case 0x006F:
|
||||
case 0x0070:
|
||||
case 0x0071:
|
||||
case 0x0072:
|
||||
ch += 0x0027;
|
||||
break;
|
||||
case 0x0073:
|
||||
case 0x0074:
|
||||
case 0x0075:
|
||||
case 0x0076:
|
||||
case 0x0077:
|
||||
case 0x0078:
|
||||
case 0x0079:
|
||||
case 0x007A:
|
||||
ch += 0x002F;
|
||||
break;
|
||||
case 0x007B: ch = 0xC0; break;
|
||||
case 0x007C: ch = 0x4F; break;
|
||||
case 0x007D: ch = 0xD0; break;
|
||||
case 0x007E: ch = 0xA1; break;
|
||||
case 0x007F: ch = 0x07; break;
|
||||
case 0x0080:
|
||||
case 0x0081:
|
||||
case 0x0082:
|
||||
case 0x0083:
|
||||
case 0x0084:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x0085: ch = 0x15; break;
|
||||
case 0x0086: ch = 0x06; break;
|
||||
case 0x0087: ch = 0x17; break;
|
||||
case 0x0088:
|
||||
case 0x0089:
|
||||
case 0x008A:
|
||||
case 0x008B:
|
||||
case 0x008C:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x008D: ch = 0x09; break;
|
||||
case 0x008E: ch = 0x0A; break;
|
||||
case 0x008F: ch = 0x1B; break;
|
||||
case 0x0090: ch = 0x30; break;
|
||||
case 0x0091: ch = 0x31; break;
|
||||
case 0x0092: ch = 0x1A; break;
|
||||
case 0x0093:
|
||||
case 0x0094:
|
||||
case 0x0095:
|
||||
case 0x0096:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x0097: ch = 0x08; break;
|
||||
case 0x0098:
|
||||
case 0x0099:
|
||||
case 0x009A:
|
||||
case 0x009B:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x009C: ch = 0x04; break;
|
||||
case 0x009D: ch = 0x14; break;
|
||||
case 0x009E: ch = 0x3E; break;
|
||||
case 0x009F: ch = 0xFF; break;
|
||||
case 0x00A0: ch = 0x41; break;
|
||||
case 0x00A1: ch = 0xAA; break;
|
||||
case 0x00A2: ch = 0x4A; break;
|
||||
case 0x00A3: ch = 0xB1; break;
|
||||
case 0x00A4: ch = 0x9F; break;
|
||||
case 0x00A5: ch = 0xB2; break;
|
||||
case 0x00A6: ch = 0x6A; break;
|
||||
case 0x00A7: ch = 0xB5; break;
|
||||
case 0x00A8: ch = 0xBB; break;
|
||||
case 0x00A9: ch = 0xB4; break;
|
||||
case 0x00AA: ch = 0x9A; break;
|
||||
case 0x00AB: ch = 0x8A; break;
|
||||
case 0x00AC: ch = 0xB0; break;
|
||||
case 0x00AD: ch = 0xCA; break;
|
||||
case 0x00AE: ch = 0xAF; break;
|
||||
case 0x00AF: ch = 0xBC; break;
|
||||
case 0x00B0: ch = 0x90; break;
|
||||
case 0x00B1: ch = 0x8F; break;
|
||||
case 0x00B2: ch = 0xEA; break;
|
||||
case 0x00B3: ch = 0xFA; break;
|
||||
case 0x00B4: ch = 0xBE; break;
|
||||
case 0x00B5: ch = 0xA0; break;
|
||||
case 0x00B7: ch = 0xB3; break;
|
||||
case 0x00B8: ch = 0x9D; break;
|
||||
case 0x00B9: ch = 0xDA; break;
|
||||
case 0x00BA: ch = 0x9B; break;
|
||||
case 0x00BB: ch = 0x8B; break;
|
||||
case 0x00BC: ch = 0xB7; break;
|
||||
case 0x00BD: ch = 0xB8; break;
|
||||
case 0x00BE: ch = 0xB9; break;
|
||||
case 0x00BF: ch = 0xAB; break;
|
||||
case 0x00C0: ch = 0x64; break;
|
||||
case 0x00C1: ch = 0x65; break;
|
||||
case 0x00C2: ch = 0x62; break;
|
||||
case 0x00C3: ch = 0x66; break;
|
||||
case 0x00C4: ch = 0x63; break;
|
||||
case 0x00C5: ch = 0x67; break;
|
||||
case 0x00C6: ch = 0x9E; break;
|
||||
case 0x00C7: ch = 0x68; break;
|
||||
case 0x00C8: ch = 0x74; break;
|
||||
case 0x00C9: ch = 0x71; break;
|
||||
case 0x00CA: ch = 0x72; break;
|
||||
case 0x00CB: ch = 0x73; break;
|
||||
case 0x00CC: ch = 0x78; break;
|
||||
case 0x00CD: ch = 0x75; break;
|
||||
case 0x00CE: ch = 0x76; break;
|
||||
case 0x00CF: ch = 0x77; break;
|
||||
case 0x00D0: ch = 0xAC; break;
|
||||
case 0x00D1: ch = 0x69; break;
|
||||
case 0x00D2: ch = 0xED; break;
|
||||
case 0x00D3: ch = 0xEE; break;
|
||||
case 0x00D4: ch = 0xEB; break;
|
||||
case 0x00D5: ch = 0xEF; break;
|
||||
case 0x00D6: ch = 0xEC; break;
|
||||
case 0x00D7: ch = 0xBF; break;
|
||||
case 0x00D8: ch = 0x80; break;
|
||||
case 0x00D9: ch = 0xFD; break;
|
||||
case 0x00DA: ch = 0xFE; break;
|
||||
case 0x00DB: ch = 0xFB; break;
|
||||
case 0x00DC: ch = 0xFC; break;
|
||||
case 0x00DD: ch = 0xBA; break;
|
||||
case 0x00DE: ch = 0xAE; break;
|
||||
case 0x00DF: ch = 0x59; break;
|
||||
case 0x00E0: ch = 0x44; break;
|
||||
case 0x00E1: ch = 0x45; break;
|
||||
case 0x00E2: ch = 0x42; break;
|
||||
case 0x00E3: ch = 0x46; break;
|
||||
case 0x00E4: ch = 0x43; break;
|
||||
case 0x00E5: ch = 0x47; break;
|
||||
case 0x00E6: ch = 0x9C; break;
|
||||
case 0x00E7: ch = 0x48; break;
|
||||
case 0x00E8: ch = 0x54; break;
|
||||
case 0x00E9: ch = 0x51; break;
|
||||
case 0x00EA: ch = 0x52; break;
|
||||
case 0x00EB: ch = 0x53; break;
|
||||
case 0x00EC: ch = 0x58; break;
|
||||
case 0x00ED: ch = 0x55; break;
|
||||
case 0x00EE: ch = 0x56; break;
|
||||
case 0x00EF: ch = 0x57; break;
|
||||
case 0x00F0: ch = 0x8C; break;
|
||||
case 0x00F1: ch = 0x49; break;
|
||||
case 0x00F2: ch = 0xCD; break;
|
||||
case 0x00F3: ch = 0xCE; break;
|
||||
case 0x00F4: ch = 0xCB; break;
|
||||
case 0x00F5: ch = 0xCF; break;
|
||||
case 0x00F6: ch = 0xCC; break;
|
||||
case 0x00F7: ch = 0xE1; break;
|
||||
case 0x00F8: ch = 0x70; break;
|
||||
case 0x00F9: ch = 0xDD; break;
|
||||
case 0x00FA: ch = 0xDE; break;
|
||||
case 0x00FB: ch = 0xDB; break;
|
||||
case 0x00FC: ch = 0xDC; break;
|
||||
case 0x00FD: ch = 0x8D; break;
|
||||
case 0x00FE: ch = 0x8E; break;
|
||||
case 0x00FF: ch = 0xDF; break;
|
||||
case 0x203E: ch = 0xBC; break;
|
||||
case 0xFF01: ch = 0x5A; break;
|
||||
case 0xFF02: ch = 0x7F; break;
|
||||
case 0xFF03: ch = 0x7B; break;
|
||||
case 0xFF04: ch = 0x5B; break;
|
||||
case 0xFF05: ch = 0x6C; break;
|
||||
case 0xFF06: ch = 0x50; break;
|
||||
case 0xFF07: ch = 0x7D; break;
|
||||
case 0xFF08: ch = 0x4D; break;
|
||||
case 0xFF09: ch = 0x5D; break;
|
||||
case 0xFF0A: ch = 0x5C; break;
|
||||
case 0xFF0B: ch = 0x4E; break;
|
||||
case 0xFF0C: ch = 0x6B; break;
|
||||
case 0xFF0D: ch = 0x60; break;
|
||||
case 0xFF0E: ch = 0x4B; break;
|
||||
case 0xFF0F: ch = 0x61; break;
|
||||
case 0xFF10:
|
||||
case 0xFF11:
|
||||
case 0xFF12:
|
||||
case 0xFF13:
|
||||
case 0xFF14:
|
||||
case 0xFF15:
|
||||
case 0xFF16:
|
||||
case 0xFF17:
|
||||
case 0xFF18:
|
||||
case 0xFF19:
|
||||
ch -= 0xFE20;
|
||||
break;
|
||||
case 0xFF1A: ch = 0x7A; break;
|
||||
case 0xFF1B: ch = 0x5E; break;
|
||||
case 0xFF1C: ch = 0x4C; break;
|
||||
case 0xFF1D: ch = 0x7E; break;
|
||||
case 0xFF1E: ch = 0x6E; break;
|
||||
case 0xFF1F: ch = 0x6F; break;
|
||||
case 0xFF20: ch = 0x7C; break;
|
||||
case 0xFF21:
|
||||
case 0xFF22:
|
||||
case 0xFF23:
|
||||
case 0xFF24:
|
||||
case 0xFF25:
|
||||
case 0xFF26:
|
||||
case 0xFF27:
|
||||
case 0xFF28:
|
||||
case 0xFF29:
|
||||
ch -= 0xFE60;
|
||||
break;
|
||||
case 0xFF2A:
|
||||
case 0xFF2B:
|
||||
case 0xFF2C:
|
||||
case 0xFF2D:
|
||||
case 0xFF2E:
|
||||
case 0xFF2F:
|
||||
case 0xFF30:
|
||||
case 0xFF31:
|
||||
case 0xFF32:
|
||||
ch -= 0xFE59;
|
||||
break;
|
||||
case 0xFF33:
|
||||
case 0xFF34:
|
||||
case 0xFF35:
|
||||
case 0xFF36:
|
||||
case 0xFF37:
|
||||
case 0xFF38:
|
||||
case 0xFF39:
|
||||
case 0xFF3A:
|
||||
ch -= 0xFE51;
|
||||
break;
|
||||
case 0xFF3B: ch = 0xAD; break;
|
||||
case 0xFF3C: ch = 0xE0; break;
|
||||
case 0xFF3D: ch = 0xBD; break;
|
||||
case 0xFF3E: ch = 0x5F; break;
|
||||
case 0xFF3F: ch = 0x6D; break;
|
||||
case 0xFF40: ch = 0x79; break;
|
||||
case 0xFF41:
|
||||
case 0xFF42:
|
||||
case 0xFF43:
|
||||
case 0xFF44:
|
||||
case 0xFF45:
|
||||
case 0xFF46:
|
||||
case 0xFF47:
|
||||
case 0xFF48:
|
||||
case 0xFF49:
|
||||
ch -= 0xFEC0;
|
||||
break;
|
||||
case 0xFF4A:
|
||||
case 0xFF4B:
|
||||
case 0xFF4C:
|
||||
case 0xFF4D:
|
||||
case 0xFF4E:
|
||||
case 0xFF4F:
|
||||
case 0xFF50:
|
||||
case 0xFF51:
|
||||
case 0xFF52:
|
||||
ch -= 0xFEB9;
|
||||
break;
|
||||
case 0xFF53:
|
||||
case 0xFF54:
|
||||
case 0xFF55:
|
||||
case 0xFF56:
|
||||
case 0xFF57:
|
||||
case 0xFF58:
|
||||
case 0xFF59:
|
||||
case 0xFF5A:
|
||||
ch -= 0xFEB1;
|
||||
break;
|
||||
case 0xFF5B: ch = 0xC0; break;
|
||||
case 0xFF5C: ch = 0x4F; break;
|
||||
case 0xFF5D: ch = 0xD0; break;
|
||||
case 0xFF5E: ch = 0xA1; break;
|
||||
default: ch = 0x3F; break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
}; // class CP1047
|
||||
|
||||
public class ENCibm1047 : CP1047
|
||||
{
|
||||
public ENCibm1047() : base() {}
|
||||
|
||||
}; // class ENCibm1047
|
||||
|
||||
}; // namespace I18N.Rare
|
||||
@@ -0,0 +1,895 @@
|
||||
/*
|
||||
* CP1140.cs - IBM EBCDIC (US-Canada with Euro) code page.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// Generated from "ibm-1140.ucm".
|
||||
|
||||
namespace I18N.Rare
|
||||
{
|
||||
|
||||
using System;
|
||||
using I18N.Common;
|
||||
|
||||
public class CP1140 : ByteEncoding
|
||||
{
|
||||
public CP1140()
|
||||
: base(1140, ToChars, "IBM EBCDIC (US-Canada with Euro)",
|
||||
"IBM01140", "IBM01140", "IBM01140",
|
||||
false, false, false, false, 1252)
|
||||
{}
|
||||
|
||||
private static readonly char[] ToChars = {
|
||||
'\u0000', '\u0001', '\u0002', '\u0003', '\u009C', '\u0009',
|
||||
'\u0086', '\u007F', '\u0097', '\u008D', '\u008E', '\u000B',
|
||||
'\u000C', '\u000D', '\u000E', '\u000F', '\u0010', '\u0011',
|
||||
'\u0012', '\u0013', '\u009D', '\u0085', '\u0008', '\u0087',
|
||||
'\u0018', '\u0019', '\u0092', '\u008F', '\u001C', '\u001D',
|
||||
'\u001E', '\u001F', '\u0080', '\u0081', '\u0082', '\u0083',
|
||||
'\u0084', '\u000A', '\u0017', '\u001B', '\u0088', '\u0089',
|
||||
'\u008A', '\u008B', '\u008C', '\u0005', '\u0006', '\u0007',
|
||||
'\u0090', '\u0091', '\u0016', '\u0093', '\u0094', '\u0095',
|
||||
'\u0096', '\u0004', '\u0098', '\u0099', '\u009A', '\u009B',
|
||||
'\u0014', '\u0015', '\u009E', '\u001A', '\u0020', '\u00A0',
|
||||
'\u00E2', '\u00E4', '\u00E0', '\u00E1', '\u00E3', '\u00E5',
|
||||
'\u00E7', '\u00F1', '\u00A2', '\u002E', '\u003C', '\u0028',
|
||||
'\u002B', '\u007C', '\u0026', '\u00E9', '\u00EA', '\u00EB',
|
||||
'\u00E8', '\u00ED', '\u00EE', '\u00EF', '\u00EC', '\u00DF',
|
||||
'\u0021', '\u0024', '\u002A', '\u0029', '\u003B', '\u00AC',
|
||||
'\u002D', '\u002F', '\u00C2', '\u00C4', '\u00C0', '\u00C1',
|
||||
'\u00C3', '\u00C5', '\u00C7', '\u00D1', '\u00A6', '\u002C',
|
||||
'\u0025', '\u005F', '\u003E', '\u003F', '\u00F8', '\u00C9',
|
||||
'\u00CA', '\u00CB', '\u00C8', '\u00CD', '\u00CE', '\u00CF',
|
||||
'\u00CC', '\u0060', '\u003A', '\u0023', '\u0040', '\u0027',
|
||||
'\u003D', '\u0022', '\u00D8', '\u0061', '\u0062', '\u0063',
|
||||
'\u0064', '\u0065', '\u0066', '\u0067', '\u0068', '\u0069',
|
||||
'\u00AB', '\u00BB', '\u00F0', '\u00FD', '\u00FE', '\u00B1',
|
||||
'\u00B0', '\u006A', '\u006B', '\u006C', '\u006D', '\u006E',
|
||||
'\u006F', '\u0070', '\u0071', '\u0072', '\u00AA', '\u00BA',
|
||||
'\u00E6', '\u00B8', '\u00C6', '\u20AC', '\u00B5', '\u007E',
|
||||
'\u0073', '\u0074', '\u0075', '\u0076', '\u0077', '\u0078',
|
||||
'\u0079', '\u007A', '\u00A1', '\u00BF', '\u00D0', '\u00DD',
|
||||
'\u00DE', '\u00AE', '\u005E', '\u00A3', '\u00A5', '\u00B7',
|
||||
'\u00A9', '\u00A7', '\u00B6', '\u00BC', '\u00BD', '\u00BE',
|
||||
'\u005B', '\u005D', '\u00AF', '\u00A8', '\u00B4', '\u00D7',
|
||||
'\u007B', '\u0041', '\u0042', '\u0043', '\u0044', '\u0045',
|
||||
'\u0046', '\u0047', '\u0048', '\u0049', '\u00AD', '\u00F4',
|
||||
'\u00F6', '\u00F2', '\u00F3', '\u00F5', '\u007D', '\u004A',
|
||||
'\u004B', '\u004C', '\u004D', '\u004E', '\u004F', '\u0050',
|
||||
'\u0051', '\u0052', '\u00B9', '\u00FB', '\u00FC', '\u00F9',
|
||||
'\u00FA', '\u00FF', '\u005C', '\u00F7', '\u0053', '\u0054',
|
||||
'\u0055', '\u0056', '\u0057', '\u0058', '\u0059', '\u005A',
|
||||
'\u00B2', '\u00D4', '\u00D6', '\u00D2', '\u00D3', '\u00D5',
|
||||
'\u0030', '\u0031', '\u0032', '\u0033', '\u0034', '\u0035',
|
||||
'\u0036', '\u0037', '\u0038', '\u0039', '\u00B3', '\u00DB',
|
||||
'\u00DC', '\u00D9', '\u00DA', '\u009F',
|
||||
};
|
||||
|
||||
protected override void ToBytes(char[] chars, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(chars[charIndex++]);
|
||||
if(ch >= 4) switch(ch)
|
||||
{
|
||||
case 0x000B:
|
||||
case 0x000C:
|
||||
case 0x000D:
|
||||
case 0x000E:
|
||||
case 0x000F:
|
||||
case 0x0010:
|
||||
case 0x0011:
|
||||
case 0x0012:
|
||||
case 0x0013:
|
||||
case 0x0018:
|
||||
case 0x0019:
|
||||
case 0x001C:
|
||||
case 0x001D:
|
||||
case 0x001E:
|
||||
case 0x001F:
|
||||
case 0x00B6:
|
||||
break;
|
||||
case 0x0004: ch = 0x37; break;
|
||||
case 0x0005: ch = 0x2D; break;
|
||||
case 0x0006: ch = 0x2E; break;
|
||||
case 0x0007: ch = 0x2F; break;
|
||||
case 0x0008: ch = 0x16; break;
|
||||
case 0x0009: ch = 0x05; break;
|
||||
case 0x000A: ch = 0x25; break;
|
||||
case 0x0014: ch = 0x3C; break;
|
||||
case 0x0015: ch = 0x3D; break;
|
||||
case 0x0016: ch = 0x32; break;
|
||||
case 0x0017: ch = 0x26; break;
|
||||
case 0x001A: ch = 0x3F; break;
|
||||
case 0x001B: ch = 0x27; break;
|
||||
case 0x0020: ch = 0x40; break;
|
||||
case 0x0021: ch = 0x5A; break;
|
||||
case 0x0022: ch = 0x7F; break;
|
||||
case 0x0023: ch = 0x7B; break;
|
||||
case 0x0024: ch = 0x5B; break;
|
||||
case 0x0025: ch = 0x6C; break;
|
||||
case 0x0026: ch = 0x50; break;
|
||||
case 0x0027: ch = 0x7D; break;
|
||||
case 0x0028: ch = 0x4D; break;
|
||||
case 0x0029: ch = 0x5D; break;
|
||||
case 0x002A: ch = 0x5C; break;
|
||||
case 0x002B: ch = 0x4E; break;
|
||||
case 0x002C: ch = 0x6B; break;
|
||||
case 0x002D: ch = 0x60; break;
|
||||
case 0x002E: ch = 0x4B; break;
|
||||
case 0x002F: ch = 0x61; break;
|
||||
case 0x0030:
|
||||
case 0x0031:
|
||||
case 0x0032:
|
||||
case 0x0033:
|
||||
case 0x0034:
|
||||
case 0x0035:
|
||||
case 0x0036:
|
||||
case 0x0037:
|
||||
case 0x0038:
|
||||
case 0x0039:
|
||||
ch += 0x00C0;
|
||||
break;
|
||||
case 0x003A: ch = 0x7A; break;
|
||||
case 0x003B: ch = 0x5E; break;
|
||||
case 0x003C: ch = 0x4C; break;
|
||||
case 0x003D: ch = 0x7E; break;
|
||||
case 0x003E: ch = 0x6E; break;
|
||||
case 0x003F: ch = 0x6F; break;
|
||||
case 0x0040: ch = 0x7C; break;
|
||||
case 0x0041:
|
||||
case 0x0042:
|
||||
case 0x0043:
|
||||
case 0x0044:
|
||||
case 0x0045:
|
||||
case 0x0046:
|
||||
case 0x0047:
|
||||
case 0x0048:
|
||||
case 0x0049:
|
||||
ch += 0x0080;
|
||||
break;
|
||||
case 0x004A:
|
||||
case 0x004B:
|
||||
case 0x004C:
|
||||
case 0x004D:
|
||||
case 0x004E:
|
||||
case 0x004F:
|
||||
case 0x0050:
|
||||
case 0x0051:
|
||||
case 0x0052:
|
||||
ch += 0x0087;
|
||||
break;
|
||||
case 0x0053:
|
||||
case 0x0054:
|
||||
case 0x0055:
|
||||
case 0x0056:
|
||||
case 0x0057:
|
||||
case 0x0058:
|
||||
case 0x0059:
|
||||
case 0x005A:
|
||||
ch += 0x008F;
|
||||
break;
|
||||
case 0x005B: ch = 0xBA; break;
|
||||
case 0x005C: ch = 0xE0; break;
|
||||
case 0x005D: ch = 0xBB; break;
|
||||
case 0x005E: ch = 0xB0; break;
|
||||
case 0x005F: ch = 0x6D; break;
|
||||
case 0x0060: ch = 0x79; break;
|
||||
case 0x0061:
|
||||
case 0x0062:
|
||||
case 0x0063:
|
||||
case 0x0064:
|
||||
case 0x0065:
|
||||
case 0x0066:
|
||||
case 0x0067:
|
||||
case 0x0068:
|
||||
case 0x0069:
|
||||
ch += 0x0020;
|
||||
break;
|
||||
case 0x006A:
|
||||
case 0x006B:
|
||||
case 0x006C:
|
||||
case 0x006D:
|
||||
case 0x006E:
|
||||
case 0x006F:
|
||||
case 0x0070:
|
||||
case 0x0071:
|
||||
case 0x0072:
|
||||
ch += 0x0027;
|
||||
break;
|
||||
case 0x0073:
|
||||
case 0x0074:
|
||||
case 0x0075:
|
||||
case 0x0076:
|
||||
case 0x0077:
|
||||
case 0x0078:
|
||||
case 0x0079:
|
||||
case 0x007A:
|
||||
ch += 0x002F;
|
||||
break;
|
||||
case 0x007B: ch = 0xC0; break;
|
||||
case 0x007C: ch = 0x4F; break;
|
||||
case 0x007D: ch = 0xD0; break;
|
||||
case 0x007E: ch = 0xA1; break;
|
||||
case 0x007F: ch = 0x07; break;
|
||||
case 0x0080:
|
||||
case 0x0081:
|
||||
case 0x0082:
|
||||
case 0x0083:
|
||||
case 0x0084:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x0085: ch = 0x15; break;
|
||||
case 0x0086: ch = 0x06; break;
|
||||
case 0x0087: ch = 0x17; break;
|
||||
case 0x0088:
|
||||
case 0x0089:
|
||||
case 0x008A:
|
||||
case 0x008B:
|
||||
case 0x008C:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x008D: ch = 0x09; break;
|
||||
case 0x008E: ch = 0x0A; break;
|
||||
case 0x008F: ch = 0x1B; break;
|
||||
case 0x0090: ch = 0x30; break;
|
||||
case 0x0091: ch = 0x31; break;
|
||||
case 0x0092: ch = 0x1A; break;
|
||||
case 0x0093:
|
||||
case 0x0094:
|
||||
case 0x0095:
|
||||
case 0x0096:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x0097: ch = 0x08; break;
|
||||
case 0x0098:
|
||||
case 0x0099:
|
||||
case 0x009A:
|
||||
case 0x009B:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x009C: ch = 0x04; break;
|
||||
case 0x009D: ch = 0x14; break;
|
||||
case 0x009E: ch = 0x3E; break;
|
||||
case 0x009F: ch = 0xFF; break;
|
||||
case 0x00A0: ch = 0x41; break;
|
||||
case 0x00A1: ch = 0xAA; break;
|
||||
case 0x00A2: ch = 0x4A; break;
|
||||
case 0x00A3: ch = 0xB1; break;
|
||||
case 0x00A5: ch = 0xB2; break;
|
||||
case 0x00A6: ch = 0x6A; break;
|
||||
case 0x00A7: ch = 0xB5; break;
|
||||
case 0x00A8: ch = 0xBD; break;
|
||||
case 0x00A9: ch = 0xB4; break;
|
||||
case 0x00AA: ch = 0x9A; break;
|
||||
case 0x00AB: ch = 0x8A; break;
|
||||
case 0x00AC: ch = 0x5F; break;
|
||||
case 0x00AD: ch = 0xCA; break;
|
||||
case 0x00AE: ch = 0xAF; break;
|
||||
case 0x00AF: ch = 0xBC; break;
|
||||
case 0x00B0: ch = 0x90; break;
|
||||
case 0x00B1: ch = 0x8F; break;
|
||||
case 0x00B2: ch = 0xEA; break;
|
||||
case 0x00B3: ch = 0xFA; break;
|
||||
case 0x00B4: ch = 0xBE; break;
|
||||
case 0x00B5: ch = 0xA0; break;
|
||||
case 0x00B7: ch = 0xB3; break;
|
||||
case 0x00B8: ch = 0x9D; break;
|
||||
case 0x00B9: ch = 0xDA; break;
|
||||
case 0x00BA: ch = 0x9B; break;
|
||||
case 0x00BB: ch = 0x8B; break;
|
||||
case 0x00BC: ch = 0xB7; break;
|
||||
case 0x00BD: ch = 0xB8; break;
|
||||
case 0x00BE: ch = 0xB9; break;
|
||||
case 0x00BF: ch = 0xAB; break;
|
||||
case 0x00C0: ch = 0x64; break;
|
||||
case 0x00C1: ch = 0x65; break;
|
||||
case 0x00C2: ch = 0x62; break;
|
||||
case 0x00C3: ch = 0x66; break;
|
||||
case 0x00C4: ch = 0x63; break;
|
||||
case 0x00C5: ch = 0x67; break;
|
||||
case 0x00C6: ch = 0x9E; break;
|
||||
case 0x00C7: ch = 0x68; break;
|
||||
case 0x00C8: ch = 0x74; break;
|
||||
case 0x00C9: ch = 0x71; break;
|
||||
case 0x00CA: ch = 0x72; break;
|
||||
case 0x00CB: ch = 0x73; break;
|
||||
case 0x00CC: ch = 0x78; break;
|
||||
case 0x00CD: ch = 0x75; break;
|
||||
case 0x00CE: ch = 0x76; break;
|
||||
case 0x00CF: ch = 0x77; break;
|
||||
case 0x00D0: ch = 0xAC; break;
|
||||
case 0x00D1: ch = 0x69; break;
|
||||
case 0x00D2: ch = 0xED; break;
|
||||
case 0x00D3: ch = 0xEE; break;
|
||||
case 0x00D4: ch = 0xEB; break;
|
||||
case 0x00D5: ch = 0xEF; break;
|
||||
case 0x00D6: ch = 0xEC; break;
|
||||
case 0x00D7: ch = 0xBF; break;
|
||||
case 0x00D8: ch = 0x80; break;
|
||||
case 0x00D9: ch = 0xFD; break;
|
||||
case 0x00DA: ch = 0xFE; break;
|
||||
case 0x00DB: ch = 0xFB; break;
|
||||
case 0x00DC: ch = 0xFC; break;
|
||||
case 0x00DD: ch = 0xAD; break;
|
||||
case 0x00DE: ch = 0xAE; break;
|
||||
case 0x00DF: ch = 0x59; break;
|
||||
case 0x00E0: ch = 0x44; break;
|
||||
case 0x00E1: ch = 0x45; break;
|
||||
case 0x00E2: ch = 0x42; break;
|
||||
case 0x00E3: ch = 0x46; break;
|
||||
case 0x00E4: ch = 0x43; break;
|
||||
case 0x00E5: ch = 0x47; break;
|
||||
case 0x00E6: ch = 0x9C; break;
|
||||
case 0x00E7: ch = 0x48; break;
|
||||
case 0x00E8: ch = 0x54; break;
|
||||
case 0x00E9: ch = 0x51; break;
|
||||
case 0x00EA: ch = 0x52; break;
|
||||
case 0x00EB: ch = 0x53; break;
|
||||
case 0x00EC: ch = 0x58; break;
|
||||
case 0x00ED: ch = 0x55; break;
|
||||
case 0x00EE: ch = 0x56; break;
|
||||
case 0x00EF: ch = 0x57; break;
|
||||
case 0x00F0: ch = 0x8C; break;
|
||||
case 0x00F1: ch = 0x49; break;
|
||||
case 0x00F2: ch = 0xCD; break;
|
||||
case 0x00F3: ch = 0xCE; break;
|
||||
case 0x00F4: ch = 0xCB; break;
|
||||
case 0x00F5: ch = 0xCF; break;
|
||||
case 0x00F6: ch = 0xCC; break;
|
||||
case 0x00F7: ch = 0xE1; break;
|
||||
case 0x00F8: ch = 0x70; break;
|
||||
case 0x00F9: ch = 0xDD; break;
|
||||
case 0x00FA: ch = 0xDE; break;
|
||||
case 0x00FB: ch = 0xDB; break;
|
||||
case 0x00FC: ch = 0xDC; break;
|
||||
case 0x00FD: ch = 0x8D; break;
|
||||
case 0x00FE: ch = 0x8E; break;
|
||||
case 0x00FF: ch = 0xDF; break;
|
||||
case 0x203E: ch = 0xBC; break;
|
||||
case 0x20AC: ch = 0x9F; break;
|
||||
case 0xFF01: ch = 0x5A; break;
|
||||
case 0xFF02: ch = 0x7F; break;
|
||||
case 0xFF03: ch = 0x7B; break;
|
||||
case 0xFF04: ch = 0x5B; break;
|
||||
case 0xFF05: ch = 0x6C; break;
|
||||
case 0xFF06: ch = 0x50; break;
|
||||
case 0xFF07: ch = 0x7D; break;
|
||||
case 0xFF08: ch = 0x4D; break;
|
||||
case 0xFF09: ch = 0x5D; break;
|
||||
case 0xFF0A: ch = 0x5C; break;
|
||||
case 0xFF0B: ch = 0x4E; break;
|
||||
case 0xFF0C: ch = 0x6B; break;
|
||||
case 0xFF0D: ch = 0x60; break;
|
||||
case 0xFF0E: ch = 0x4B; break;
|
||||
case 0xFF0F: ch = 0x61; break;
|
||||
case 0xFF10:
|
||||
case 0xFF11:
|
||||
case 0xFF12:
|
||||
case 0xFF13:
|
||||
case 0xFF14:
|
||||
case 0xFF15:
|
||||
case 0xFF16:
|
||||
case 0xFF17:
|
||||
case 0xFF18:
|
||||
case 0xFF19:
|
||||
ch -= 0xFE20;
|
||||
break;
|
||||
case 0xFF1A: ch = 0x7A; break;
|
||||
case 0xFF1B: ch = 0x5E; break;
|
||||
case 0xFF1C: ch = 0x4C; break;
|
||||
case 0xFF1D: ch = 0x7E; break;
|
||||
case 0xFF1E: ch = 0x6E; break;
|
||||
case 0xFF1F: ch = 0x6F; break;
|
||||
case 0xFF20: ch = 0x7C; break;
|
||||
case 0xFF21:
|
||||
case 0xFF22:
|
||||
case 0xFF23:
|
||||
case 0xFF24:
|
||||
case 0xFF25:
|
||||
case 0xFF26:
|
||||
case 0xFF27:
|
||||
case 0xFF28:
|
||||
case 0xFF29:
|
||||
ch -= 0xFE60;
|
||||
break;
|
||||
case 0xFF2A:
|
||||
case 0xFF2B:
|
||||
case 0xFF2C:
|
||||
case 0xFF2D:
|
||||
case 0xFF2E:
|
||||
case 0xFF2F:
|
||||
case 0xFF30:
|
||||
case 0xFF31:
|
||||
case 0xFF32:
|
||||
ch -= 0xFE59;
|
||||
break;
|
||||
case 0xFF33:
|
||||
case 0xFF34:
|
||||
case 0xFF35:
|
||||
case 0xFF36:
|
||||
case 0xFF37:
|
||||
case 0xFF38:
|
||||
case 0xFF39:
|
||||
case 0xFF3A:
|
||||
ch -= 0xFE51;
|
||||
break;
|
||||
case 0xFF3B: ch = 0xBA; break;
|
||||
case 0xFF3C: ch = 0xE0; break;
|
||||
case 0xFF3D: ch = 0xBB; break;
|
||||
case 0xFF3E: ch = 0xB0; break;
|
||||
case 0xFF3F: ch = 0x6D; break;
|
||||
case 0xFF40: ch = 0x79; break;
|
||||
case 0xFF41:
|
||||
case 0xFF42:
|
||||
case 0xFF43:
|
||||
case 0xFF44:
|
||||
case 0xFF45:
|
||||
case 0xFF46:
|
||||
case 0xFF47:
|
||||
case 0xFF48:
|
||||
case 0xFF49:
|
||||
ch -= 0xFEC0;
|
||||
break;
|
||||
case 0xFF4A:
|
||||
case 0xFF4B:
|
||||
case 0xFF4C:
|
||||
case 0xFF4D:
|
||||
case 0xFF4E:
|
||||
case 0xFF4F:
|
||||
case 0xFF50:
|
||||
case 0xFF51:
|
||||
case 0xFF52:
|
||||
ch -= 0xFEB9;
|
||||
break;
|
||||
case 0xFF53:
|
||||
case 0xFF54:
|
||||
case 0xFF55:
|
||||
case 0xFF56:
|
||||
case 0xFF57:
|
||||
case 0xFF58:
|
||||
case 0xFF59:
|
||||
case 0xFF5A:
|
||||
ch -= 0xFEB1;
|
||||
break;
|
||||
case 0xFF5B: ch = 0xC0; break;
|
||||
case 0xFF5C: ch = 0x4F; break;
|
||||
case 0xFF5D: ch = 0xD0; break;
|
||||
case 0xFF5E: ch = 0xA1; break;
|
||||
default: ch = 0x3F; break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ToBytes(String s, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(s[charIndex++]);
|
||||
if(ch >= 4) switch(ch)
|
||||
{
|
||||
case 0x000B:
|
||||
case 0x000C:
|
||||
case 0x000D:
|
||||
case 0x000E:
|
||||
case 0x000F:
|
||||
case 0x0010:
|
||||
case 0x0011:
|
||||
case 0x0012:
|
||||
case 0x0013:
|
||||
case 0x0018:
|
||||
case 0x0019:
|
||||
case 0x001C:
|
||||
case 0x001D:
|
||||
case 0x001E:
|
||||
case 0x001F:
|
||||
case 0x00B6:
|
||||
break;
|
||||
case 0x0004: ch = 0x37; break;
|
||||
case 0x0005: ch = 0x2D; break;
|
||||
case 0x0006: ch = 0x2E; break;
|
||||
case 0x0007: ch = 0x2F; break;
|
||||
case 0x0008: ch = 0x16; break;
|
||||
case 0x0009: ch = 0x05; break;
|
||||
case 0x000A: ch = 0x25; break;
|
||||
case 0x0014: ch = 0x3C; break;
|
||||
case 0x0015: ch = 0x3D; break;
|
||||
case 0x0016: ch = 0x32; break;
|
||||
case 0x0017: ch = 0x26; break;
|
||||
case 0x001A: ch = 0x3F; break;
|
||||
case 0x001B: ch = 0x27; break;
|
||||
case 0x0020: ch = 0x40; break;
|
||||
case 0x0021: ch = 0x5A; break;
|
||||
case 0x0022: ch = 0x7F; break;
|
||||
case 0x0023: ch = 0x7B; break;
|
||||
case 0x0024: ch = 0x5B; break;
|
||||
case 0x0025: ch = 0x6C; break;
|
||||
case 0x0026: ch = 0x50; break;
|
||||
case 0x0027: ch = 0x7D; break;
|
||||
case 0x0028: ch = 0x4D; break;
|
||||
case 0x0029: ch = 0x5D; break;
|
||||
case 0x002A: ch = 0x5C; break;
|
||||
case 0x002B: ch = 0x4E; break;
|
||||
case 0x002C: ch = 0x6B; break;
|
||||
case 0x002D: ch = 0x60; break;
|
||||
case 0x002E: ch = 0x4B; break;
|
||||
case 0x002F: ch = 0x61; break;
|
||||
case 0x0030:
|
||||
case 0x0031:
|
||||
case 0x0032:
|
||||
case 0x0033:
|
||||
case 0x0034:
|
||||
case 0x0035:
|
||||
case 0x0036:
|
||||
case 0x0037:
|
||||
case 0x0038:
|
||||
case 0x0039:
|
||||
ch += 0x00C0;
|
||||
break;
|
||||
case 0x003A: ch = 0x7A; break;
|
||||
case 0x003B: ch = 0x5E; break;
|
||||
case 0x003C: ch = 0x4C; break;
|
||||
case 0x003D: ch = 0x7E; break;
|
||||
case 0x003E: ch = 0x6E; break;
|
||||
case 0x003F: ch = 0x6F; break;
|
||||
case 0x0040: ch = 0x7C; break;
|
||||
case 0x0041:
|
||||
case 0x0042:
|
||||
case 0x0043:
|
||||
case 0x0044:
|
||||
case 0x0045:
|
||||
case 0x0046:
|
||||
case 0x0047:
|
||||
case 0x0048:
|
||||
case 0x0049:
|
||||
ch += 0x0080;
|
||||
break;
|
||||
case 0x004A:
|
||||
case 0x004B:
|
||||
case 0x004C:
|
||||
case 0x004D:
|
||||
case 0x004E:
|
||||
case 0x004F:
|
||||
case 0x0050:
|
||||
case 0x0051:
|
||||
case 0x0052:
|
||||
ch += 0x0087;
|
||||
break;
|
||||
case 0x0053:
|
||||
case 0x0054:
|
||||
case 0x0055:
|
||||
case 0x0056:
|
||||
case 0x0057:
|
||||
case 0x0058:
|
||||
case 0x0059:
|
||||
case 0x005A:
|
||||
ch += 0x008F;
|
||||
break;
|
||||
case 0x005B: ch = 0xBA; break;
|
||||
case 0x005C: ch = 0xE0; break;
|
||||
case 0x005D: ch = 0xBB; break;
|
||||
case 0x005E: ch = 0xB0; break;
|
||||
case 0x005F: ch = 0x6D; break;
|
||||
case 0x0060: ch = 0x79; break;
|
||||
case 0x0061:
|
||||
case 0x0062:
|
||||
case 0x0063:
|
||||
case 0x0064:
|
||||
case 0x0065:
|
||||
case 0x0066:
|
||||
case 0x0067:
|
||||
case 0x0068:
|
||||
case 0x0069:
|
||||
ch += 0x0020;
|
||||
break;
|
||||
case 0x006A:
|
||||
case 0x006B:
|
||||
case 0x006C:
|
||||
case 0x006D:
|
||||
case 0x006E:
|
||||
case 0x006F:
|
||||
case 0x0070:
|
||||
case 0x0071:
|
||||
case 0x0072:
|
||||
ch += 0x0027;
|
||||
break;
|
||||
case 0x0073:
|
||||
case 0x0074:
|
||||
case 0x0075:
|
||||
case 0x0076:
|
||||
case 0x0077:
|
||||
case 0x0078:
|
||||
case 0x0079:
|
||||
case 0x007A:
|
||||
ch += 0x002F;
|
||||
break;
|
||||
case 0x007B: ch = 0xC0; break;
|
||||
case 0x007C: ch = 0x4F; break;
|
||||
case 0x007D: ch = 0xD0; break;
|
||||
case 0x007E: ch = 0xA1; break;
|
||||
case 0x007F: ch = 0x07; break;
|
||||
case 0x0080:
|
||||
case 0x0081:
|
||||
case 0x0082:
|
||||
case 0x0083:
|
||||
case 0x0084:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x0085: ch = 0x15; break;
|
||||
case 0x0086: ch = 0x06; break;
|
||||
case 0x0087: ch = 0x17; break;
|
||||
case 0x0088:
|
||||
case 0x0089:
|
||||
case 0x008A:
|
||||
case 0x008B:
|
||||
case 0x008C:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x008D: ch = 0x09; break;
|
||||
case 0x008E: ch = 0x0A; break;
|
||||
case 0x008F: ch = 0x1B; break;
|
||||
case 0x0090: ch = 0x30; break;
|
||||
case 0x0091: ch = 0x31; break;
|
||||
case 0x0092: ch = 0x1A; break;
|
||||
case 0x0093:
|
||||
case 0x0094:
|
||||
case 0x0095:
|
||||
case 0x0096:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x0097: ch = 0x08; break;
|
||||
case 0x0098:
|
||||
case 0x0099:
|
||||
case 0x009A:
|
||||
case 0x009B:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x009C: ch = 0x04; break;
|
||||
case 0x009D: ch = 0x14; break;
|
||||
case 0x009E: ch = 0x3E; break;
|
||||
case 0x009F: ch = 0xFF; break;
|
||||
case 0x00A0: ch = 0x41; break;
|
||||
case 0x00A1: ch = 0xAA; break;
|
||||
case 0x00A2: ch = 0x4A; break;
|
||||
case 0x00A3: ch = 0xB1; break;
|
||||
case 0x00A5: ch = 0xB2; break;
|
||||
case 0x00A6: ch = 0x6A; break;
|
||||
case 0x00A7: ch = 0xB5; break;
|
||||
case 0x00A8: ch = 0xBD; break;
|
||||
case 0x00A9: ch = 0xB4; break;
|
||||
case 0x00AA: ch = 0x9A; break;
|
||||
case 0x00AB: ch = 0x8A; break;
|
||||
case 0x00AC: ch = 0x5F; break;
|
||||
case 0x00AD: ch = 0xCA; break;
|
||||
case 0x00AE: ch = 0xAF; break;
|
||||
case 0x00AF: ch = 0xBC; break;
|
||||
case 0x00B0: ch = 0x90; break;
|
||||
case 0x00B1: ch = 0x8F; break;
|
||||
case 0x00B2: ch = 0xEA; break;
|
||||
case 0x00B3: ch = 0xFA; break;
|
||||
case 0x00B4: ch = 0xBE; break;
|
||||
case 0x00B5: ch = 0xA0; break;
|
||||
case 0x00B7: ch = 0xB3; break;
|
||||
case 0x00B8: ch = 0x9D; break;
|
||||
case 0x00B9: ch = 0xDA; break;
|
||||
case 0x00BA: ch = 0x9B; break;
|
||||
case 0x00BB: ch = 0x8B; break;
|
||||
case 0x00BC: ch = 0xB7; break;
|
||||
case 0x00BD: ch = 0xB8; break;
|
||||
case 0x00BE: ch = 0xB9; break;
|
||||
case 0x00BF: ch = 0xAB; break;
|
||||
case 0x00C0: ch = 0x64; break;
|
||||
case 0x00C1: ch = 0x65; break;
|
||||
case 0x00C2: ch = 0x62; break;
|
||||
case 0x00C3: ch = 0x66; break;
|
||||
case 0x00C4: ch = 0x63; break;
|
||||
case 0x00C5: ch = 0x67; break;
|
||||
case 0x00C6: ch = 0x9E; break;
|
||||
case 0x00C7: ch = 0x68; break;
|
||||
case 0x00C8: ch = 0x74; break;
|
||||
case 0x00C9: ch = 0x71; break;
|
||||
case 0x00CA: ch = 0x72; break;
|
||||
case 0x00CB: ch = 0x73; break;
|
||||
case 0x00CC: ch = 0x78; break;
|
||||
case 0x00CD: ch = 0x75; break;
|
||||
case 0x00CE: ch = 0x76; break;
|
||||
case 0x00CF: ch = 0x77; break;
|
||||
case 0x00D0: ch = 0xAC; break;
|
||||
case 0x00D1: ch = 0x69; break;
|
||||
case 0x00D2: ch = 0xED; break;
|
||||
case 0x00D3: ch = 0xEE; break;
|
||||
case 0x00D4: ch = 0xEB; break;
|
||||
case 0x00D5: ch = 0xEF; break;
|
||||
case 0x00D6: ch = 0xEC; break;
|
||||
case 0x00D7: ch = 0xBF; break;
|
||||
case 0x00D8: ch = 0x80; break;
|
||||
case 0x00D9: ch = 0xFD; break;
|
||||
case 0x00DA: ch = 0xFE; break;
|
||||
case 0x00DB: ch = 0xFB; break;
|
||||
case 0x00DC: ch = 0xFC; break;
|
||||
case 0x00DD: ch = 0xAD; break;
|
||||
case 0x00DE: ch = 0xAE; break;
|
||||
case 0x00DF: ch = 0x59; break;
|
||||
case 0x00E0: ch = 0x44; break;
|
||||
case 0x00E1: ch = 0x45; break;
|
||||
case 0x00E2: ch = 0x42; break;
|
||||
case 0x00E3: ch = 0x46; break;
|
||||
case 0x00E4: ch = 0x43; break;
|
||||
case 0x00E5: ch = 0x47; break;
|
||||
case 0x00E6: ch = 0x9C; break;
|
||||
case 0x00E7: ch = 0x48; break;
|
||||
case 0x00E8: ch = 0x54; break;
|
||||
case 0x00E9: ch = 0x51; break;
|
||||
case 0x00EA: ch = 0x52; break;
|
||||
case 0x00EB: ch = 0x53; break;
|
||||
case 0x00EC: ch = 0x58; break;
|
||||
case 0x00ED: ch = 0x55; break;
|
||||
case 0x00EE: ch = 0x56; break;
|
||||
case 0x00EF: ch = 0x57; break;
|
||||
case 0x00F0: ch = 0x8C; break;
|
||||
case 0x00F1: ch = 0x49; break;
|
||||
case 0x00F2: ch = 0xCD; break;
|
||||
case 0x00F3: ch = 0xCE; break;
|
||||
case 0x00F4: ch = 0xCB; break;
|
||||
case 0x00F5: ch = 0xCF; break;
|
||||
case 0x00F6: ch = 0xCC; break;
|
||||
case 0x00F7: ch = 0xE1; break;
|
||||
case 0x00F8: ch = 0x70; break;
|
||||
case 0x00F9: ch = 0xDD; break;
|
||||
case 0x00FA: ch = 0xDE; break;
|
||||
case 0x00FB: ch = 0xDB; break;
|
||||
case 0x00FC: ch = 0xDC; break;
|
||||
case 0x00FD: ch = 0x8D; break;
|
||||
case 0x00FE: ch = 0x8E; break;
|
||||
case 0x00FF: ch = 0xDF; break;
|
||||
case 0x203E: ch = 0xBC; break;
|
||||
case 0x20AC: ch = 0x9F; break;
|
||||
case 0xFF01: ch = 0x5A; break;
|
||||
case 0xFF02: ch = 0x7F; break;
|
||||
case 0xFF03: ch = 0x7B; break;
|
||||
case 0xFF04: ch = 0x5B; break;
|
||||
case 0xFF05: ch = 0x6C; break;
|
||||
case 0xFF06: ch = 0x50; break;
|
||||
case 0xFF07: ch = 0x7D; break;
|
||||
case 0xFF08: ch = 0x4D; break;
|
||||
case 0xFF09: ch = 0x5D; break;
|
||||
case 0xFF0A: ch = 0x5C; break;
|
||||
case 0xFF0B: ch = 0x4E; break;
|
||||
case 0xFF0C: ch = 0x6B; break;
|
||||
case 0xFF0D: ch = 0x60; break;
|
||||
case 0xFF0E: ch = 0x4B; break;
|
||||
case 0xFF0F: ch = 0x61; break;
|
||||
case 0xFF10:
|
||||
case 0xFF11:
|
||||
case 0xFF12:
|
||||
case 0xFF13:
|
||||
case 0xFF14:
|
||||
case 0xFF15:
|
||||
case 0xFF16:
|
||||
case 0xFF17:
|
||||
case 0xFF18:
|
||||
case 0xFF19:
|
||||
ch -= 0xFE20;
|
||||
break;
|
||||
case 0xFF1A: ch = 0x7A; break;
|
||||
case 0xFF1B: ch = 0x5E; break;
|
||||
case 0xFF1C: ch = 0x4C; break;
|
||||
case 0xFF1D: ch = 0x7E; break;
|
||||
case 0xFF1E: ch = 0x6E; break;
|
||||
case 0xFF1F: ch = 0x6F; break;
|
||||
case 0xFF20: ch = 0x7C; break;
|
||||
case 0xFF21:
|
||||
case 0xFF22:
|
||||
case 0xFF23:
|
||||
case 0xFF24:
|
||||
case 0xFF25:
|
||||
case 0xFF26:
|
||||
case 0xFF27:
|
||||
case 0xFF28:
|
||||
case 0xFF29:
|
||||
ch -= 0xFE60;
|
||||
break;
|
||||
case 0xFF2A:
|
||||
case 0xFF2B:
|
||||
case 0xFF2C:
|
||||
case 0xFF2D:
|
||||
case 0xFF2E:
|
||||
case 0xFF2F:
|
||||
case 0xFF30:
|
||||
case 0xFF31:
|
||||
case 0xFF32:
|
||||
ch -= 0xFE59;
|
||||
break;
|
||||
case 0xFF33:
|
||||
case 0xFF34:
|
||||
case 0xFF35:
|
||||
case 0xFF36:
|
||||
case 0xFF37:
|
||||
case 0xFF38:
|
||||
case 0xFF39:
|
||||
case 0xFF3A:
|
||||
ch -= 0xFE51;
|
||||
break;
|
||||
case 0xFF3B: ch = 0xBA; break;
|
||||
case 0xFF3C: ch = 0xE0; break;
|
||||
case 0xFF3D: ch = 0xBB; break;
|
||||
case 0xFF3E: ch = 0xB0; break;
|
||||
case 0xFF3F: ch = 0x6D; break;
|
||||
case 0xFF40: ch = 0x79; break;
|
||||
case 0xFF41:
|
||||
case 0xFF42:
|
||||
case 0xFF43:
|
||||
case 0xFF44:
|
||||
case 0xFF45:
|
||||
case 0xFF46:
|
||||
case 0xFF47:
|
||||
case 0xFF48:
|
||||
case 0xFF49:
|
||||
ch -= 0xFEC0;
|
||||
break;
|
||||
case 0xFF4A:
|
||||
case 0xFF4B:
|
||||
case 0xFF4C:
|
||||
case 0xFF4D:
|
||||
case 0xFF4E:
|
||||
case 0xFF4F:
|
||||
case 0xFF50:
|
||||
case 0xFF51:
|
||||
case 0xFF52:
|
||||
ch -= 0xFEB9;
|
||||
break;
|
||||
case 0xFF53:
|
||||
case 0xFF54:
|
||||
case 0xFF55:
|
||||
case 0xFF56:
|
||||
case 0xFF57:
|
||||
case 0xFF58:
|
||||
case 0xFF59:
|
||||
case 0xFF5A:
|
||||
ch -= 0xFEB1;
|
||||
break;
|
||||
case 0xFF5B: ch = 0xC0; break;
|
||||
case 0xFF5C: ch = 0x4F; break;
|
||||
case 0xFF5D: ch = 0xD0; break;
|
||||
case 0xFF5E: ch = 0xA1; break;
|
||||
default: ch = 0x3F; break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
}; // class CP1140
|
||||
|
||||
public class ENCibm01140 : CP1140
|
||||
{
|
||||
public ENCibm01140() : base() {}
|
||||
|
||||
}; // class ENCibm01140
|
||||
|
||||
}; // namespace I18N.Rare
|
||||
@@ -0,0 +1,895 @@
|
||||
/*
|
||||
* CP1141.cs - IBM EBCDIC (Germany with Euro) code page.
|
||||
*
|
||||
* Copyright (c) 2002 Southern Storm Software, Pty Ltd
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining
|
||||
* a copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included
|
||||
* in all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||
* OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*/
|
||||
|
||||
// Generated from "ibm-1141.ucm".
|
||||
|
||||
namespace I18N.Rare
|
||||
{
|
||||
|
||||
using System;
|
||||
using I18N.Common;
|
||||
|
||||
public class CP1141 : ByteEncoding
|
||||
{
|
||||
public CP1141()
|
||||
: base(1141, ToChars, "IBM EBCDIC (Germany with Euro)",
|
||||
"IBM01141", "IBM01141", "IBM01141",
|
||||
false, false, false, false, 1252)
|
||||
{}
|
||||
|
||||
private static readonly char[] ToChars = {
|
||||
'\u0000', '\u0001', '\u0002', '\u0003', '\u009C', '\u0009',
|
||||
'\u0086', '\u007F', '\u0097', '\u008D', '\u008E', '\u000B',
|
||||
'\u000C', '\u000D', '\u000E', '\u000F', '\u0010', '\u0011',
|
||||
'\u0012', '\u0013', '\u009D', '\u0085', '\u0008', '\u0087',
|
||||
'\u0018', '\u0019', '\u0092', '\u008F', '\u001C', '\u001D',
|
||||
'\u001E', '\u001F', '\u0080', '\u0081', '\u0082', '\u0083',
|
||||
'\u0084', '\u000A', '\u0017', '\u001B', '\u0088', '\u0089',
|
||||
'\u008A', '\u008B', '\u008C', '\u0005', '\u0006', '\u0007',
|
||||
'\u0090', '\u0091', '\u0016', '\u0093', '\u0094', '\u0095',
|
||||
'\u0096', '\u0004', '\u0098', '\u0099', '\u009A', '\u009B',
|
||||
'\u0014', '\u0015', '\u009E', '\u001A', '\u0020', '\u00A0',
|
||||
'\u00E2', '\u007B', '\u00E0', '\u00E1', '\u00E3', '\u00E5',
|
||||
'\u00E7', '\u00F1', '\u00C4', '\u002E', '\u003C', '\u0028',
|
||||
'\u002B', '\u0021', '\u0026', '\u00E9', '\u00EA', '\u00EB',
|
||||
'\u00E8', '\u00ED', '\u00EE', '\u00EF', '\u00EC', '\u007E',
|
||||
'\u00DC', '\u0024', '\u002A', '\u0029', '\u003B', '\u005E',
|
||||
'\u002D', '\u002F', '\u00C2', '\u005B', '\u00C0', '\u00C1',
|
||||
'\u00C3', '\u00C5', '\u00C7', '\u00D1', '\u00F6', '\u002C',
|
||||
'\u0025', '\u005F', '\u003E', '\u003F', '\u00F8', '\u00C9',
|
||||
'\u00CA', '\u00CB', '\u00C8', '\u00CD', '\u00CE', '\u00CF',
|
||||
'\u00CC', '\u0060', '\u003A', '\u0023', '\u00A7', '\u0027',
|
||||
'\u003D', '\u0022', '\u00D8', '\u0061', '\u0062', '\u0063',
|
||||
'\u0064', '\u0065', '\u0066', '\u0067', '\u0068', '\u0069',
|
||||
'\u00AB', '\u00BB', '\u00F0', '\u00FD', '\u00FE', '\u00B1',
|
||||
'\u00B0', '\u006A', '\u006B', '\u006C', '\u006D', '\u006E',
|
||||
'\u006F', '\u0070', '\u0071', '\u0072', '\u00AA', '\u00BA',
|
||||
'\u00E6', '\u00B8', '\u00C6', '\u20AC', '\u00B5', '\u00DF',
|
||||
'\u0073', '\u0074', '\u0075', '\u0076', '\u0077', '\u0078',
|
||||
'\u0079', '\u007A', '\u00A1', '\u00BF', '\u00D0', '\u00DD',
|
||||
'\u00DE', '\u00AE', '\u00A2', '\u00A3', '\u00A5', '\u00B7',
|
||||
'\u00A9', '\u0040', '\u00B6', '\u00BC', '\u00BD', '\u00BE',
|
||||
'\u00AC', '\u007C', '\u00AF', '\u00A8', '\u00B4', '\u00D7',
|
||||
'\u00E4', '\u0041', '\u0042', '\u0043', '\u0044', '\u0045',
|
||||
'\u0046', '\u0047', '\u0048', '\u0049', '\u00AD', '\u00F4',
|
||||
'\u00A6', '\u00F2', '\u00F3', '\u00F5', '\u00FC', '\u004A',
|
||||
'\u004B', '\u004C', '\u004D', '\u004E', '\u004F', '\u0050',
|
||||
'\u0051', '\u0052', '\u00B9', '\u00FB', '\u007D', '\u00F9',
|
||||
'\u00FA', '\u00FF', '\u00D6', '\u00F7', '\u0053', '\u0054',
|
||||
'\u0055', '\u0056', '\u0057', '\u0058', '\u0059', '\u005A',
|
||||
'\u00B2', '\u00D4', '\u005C', '\u00D2', '\u00D3', '\u00D5',
|
||||
'\u0030', '\u0031', '\u0032', '\u0033', '\u0034', '\u0035',
|
||||
'\u0036', '\u0037', '\u0038', '\u0039', '\u00B3', '\u00DB',
|
||||
'\u005D', '\u00D9', '\u00DA', '\u009F',
|
||||
};
|
||||
|
||||
protected override void ToBytes(char[] chars, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(chars[charIndex++]);
|
||||
if(ch >= 4) switch(ch)
|
||||
{
|
||||
case 0x000B:
|
||||
case 0x000C:
|
||||
case 0x000D:
|
||||
case 0x000E:
|
||||
case 0x000F:
|
||||
case 0x0010:
|
||||
case 0x0011:
|
||||
case 0x0012:
|
||||
case 0x0013:
|
||||
case 0x0018:
|
||||
case 0x0019:
|
||||
case 0x001C:
|
||||
case 0x001D:
|
||||
case 0x001E:
|
||||
case 0x001F:
|
||||
case 0x00B6:
|
||||
break;
|
||||
case 0x0004: ch = 0x37; break;
|
||||
case 0x0005: ch = 0x2D; break;
|
||||
case 0x0006: ch = 0x2E; break;
|
||||
case 0x0007: ch = 0x2F; break;
|
||||
case 0x0008: ch = 0x16; break;
|
||||
case 0x0009: ch = 0x05; break;
|
||||
case 0x000A: ch = 0x25; break;
|
||||
case 0x0014: ch = 0x3C; break;
|
||||
case 0x0015: ch = 0x3D; break;
|
||||
case 0x0016: ch = 0x32; break;
|
||||
case 0x0017: ch = 0x26; break;
|
||||
case 0x001A: ch = 0x3F; break;
|
||||
case 0x001B: ch = 0x27; break;
|
||||
case 0x0020: ch = 0x40; break;
|
||||
case 0x0021: ch = 0x4F; break;
|
||||
case 0x0022: ch = 0x7F; break;
|
||||
case 0x0023: ch = 0x7B; break;
|
||||
case 0x0024: ch = 0x5B; break;
|
||||
case 0x0025: ch = 0x6C; break;
|
||||
case 0x0026: ch = 0x50; break;
|
||||
case 0x0027: ch = 0x7D; break;
|
||||
case 0x0028: ch = 0x4D; break;
|
||||
case 0x0029: ch = 0x5D; break;
|
||||
case 0x002A: ch = 0x5C; break;
|
||||
case 0x002B: ch = 0x4E; break;
|
||||
case 0x002C: ch = 0x6B; break;
|
||||
case 0x002D: ch = 0x60; break;
|
||||
case 0x002E: ch = 0x4B; break;
|
||||
case 0x002F: ch = 0x61; break;
|
||||
case 0x0030:
|
||||
case 0x0031:
|
||||
case 0x0032:
|
||||
case 0x0033:
|
||||
case 0x0034:
|
||||
case 0x0035:
|
||||
case 0x0036:
|
||||
case 0x0037:
|
||||
case 0x0038:
|
||||
case 0x0039:
|
||||
ch += 0x00C0;
|
||||
break;
|
||||
case 0x003A: ch = 0x7A; break;
|
||||
case 0x003B: ch = 0x5E; break;
|
||||
case 0x003C: ch = 0x4C; break;
|
||||
case 0x003D: ch = 0x7E; break;
|
||||
case 0x003E: ch = 0x6E; break;
|
||||
case 0x003F: ch = 0x6F; break;
|
||||
case 0x0040: ch = 0xB5; break;
|
||||
case 0x0041:
|
||||
case 0x0042:
|
||||
case 0x0043:
|
||||
case 0x0044:
|
||||
case 0x0045:
|
||||
case 0x0046:
|
||||
case 0x0047:
|
||||
case 0x0048:
|
||||
case 0x0049:
|
||||
ch += 0x0080;
|
||||
break;
|
||||
case 0x004A:
|
||||
case 0x004B:
|
||||
case 0x004C:
|
||||
case 0x004D:
|
||||
case 0x004E:
|
||||
case 0x004F:
|
||||
case 0x0050:
|
||||
case 0x0051:
|
||||
case 0x0052:
|
||||
ch += 0x0087;
|
||||
break;
|
||||
case 0x0053:
|
||||
case 0x0054:
|
||||
case 0x0055:
|
||||
case 0x0056:
|
||||
case 0x0057:
|
||||
case 0x0058:
|
||||
case 0x0059:
|
||||
case 0x005A:
|
||||
ch += 0x008F;
|
||||
break;
|
||||
case 0x005B: ch = 0x63; break;
|
||||
case 0x005C: ch = 0xEC; break;
|
||||
case 0x005D: ch = 0xFC; break;
|
||||
case 0x005E: ch = 0x5F; break;
|
||||
case 0x005F: ch = 0x6D; break;
|
||||
case 0x0060: ch = 0x79; break;
|
||||
case 0x0061:
|
||||
case 0x0062:
|
||||
case 0x0063:
|
||||
case 0x0064:
|
||||
case 0x0065:
|
||||
case 0x0066:
|
||||
case 0x0067:
|
||||
case 0x0068:
|
||||
case 0x0069:
|
||||
ch += 0x0020;
|
||||
break;
|
||||
case 0x006A:
|
||||
case 0x006B:
|
||||
case 0x006C:
|
||||
case 0x006D:
|
||||
case 0x006E:
|
||||
case 0x006F:
|
||||
case 0x0070:
|
||||
case 0x0071:
|
||||
case 0x0072:
|
||||
ch += 0x0027;
|
||||
break;
|
||||
case 0x0073:
|
||||
case 0x0074:
|
||||
case 0x0075:
|
||||
case 0x0076:
|
||||
case 0x0077:
|
||||
case 0x0078:
|
||||
case 0x0079:
|
||||
case 0x007A:
|
||||
ch += 0x002F;
|
||||
break;
|
||||
case 0x007B: ch = 0x43; break;
|
||||
case 0x007C: ch = 0xBB; break;
|
||||
case 0x007D: ch = 0xDC; break;
|
||||
case 0x007E: ch = 0x59; break;
|
||||
case 0x007F: ch = 0x07; break;
|
||||
case 0x0080:
|
||||
case 0x0081:
|
||||
case 0x0082:
|
||||
case 0x0083:
|
||||
case 0x0084:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x0085: ch = 0x15; break;
|
||||
case 0x0086: ch = 0x06; break;
|
||||
case 0x0087: ch = 0x17; break;
|
||||
case 0x0088:
|
||||
case 0x0089:
|
||||
case 0x008A:
|
||||
case 0x008B:
|
||||
case 0x008C:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x008D: ch = 0x09; break;
|
||||
case 0x008E: ch = 0x0A; break;
|
||||
case 0x008F: ch = 0x1B; break;
|
||||
case 0x0090: ch = 0x30; break;
|
||||
case 0x0091: ch = 0x31; break;
|
||||
case 0x0092: ch = 0x1A; break;
|
||||
case 0x0093:
|
||||
case 0x0094:
|
||||
case 0x0095:
|
||||
case 0x0096:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x0097: ch = 0x08; break;
|
||||
case 0x0098:
|
||||
case 0x0099:
|
||||
case 0x009A:
|
||||
case 0x009B:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x009C: ch = 0x04; break;
|
||||
case 0x009D: ch = 0x14; break;
|
||||
case 0x009E: ch = 0x3E; break;
|
||||
case 0x009F: ch = 0xFF; break;
|
||||
case 0x00A0: ch = 0x41; break;
|
||||
case 0x00A1: ch = 0xAA; break;
|
||||
case 0x00A2: ch = 0xB0; break;
|
||||
case 0x00A3: ch = 0xB1; break;
|
||||
case 0x00A5: ch = 0xB2; break;
|
||||
case 0x00A6: ch = 0xCC; break;
|
||||
case 0x00A7: ch = 0x7C; break;
|
||||
case 0x00A8: ch = 0xBD; break;
|
||||
case 0x00A9: ch = 0xB4; break;
|
||||
case 0x00AA: ch = 0x9A; break;
|
||||
case 0x00AB: ch = 0x8A; break;
|
||||
case 0x00AC: ch = 0xBA; break;
|
||||
case 0x00AD: ch = 0xCA; break;
|
||||
case 0x00AE: ch = 0xAF; break;
|
||||
case 0x00AF: ch = 0xBC; break;
|
||||
case 0x00B0: ch = 0x90; break;
|
||||
case 0x00B1: ch = 0x8F; break;
|
||||
case 0x00B2: ch = 0xEA; break;
|
||||
case 0x00B3: ch = 0xFA; break;
|
||||
case 0x00B4: ch = 0xBE; break;
|
||||
case 0x00B5: ch = 0xA0; break;
|
||||
case 0x00B7: ch = 0xB3; break;
|
||||
case 0x00B8: ch = 0x9D; break;
|
||||
case 0x00B9: ch = 0xDA; break;
|
||||
case 0x00BA: ch = 0x9B; break;
|
||||
case 0x00BB: ch = 0x8B; break;
|
||||
case 0x00BC: ch = 0xB7; break;
|
||||
case 0x00BD: ch = 0xB8; break;
|
||||
case 0x00BE: ch = 0xB9; break;
|
||||
case 0x00BF: ch = 0xAB; break;
|
||||
case 0x00C0: ch = 0x64; break;
|
||||
case 0x00C1: ch = 0x65; break;
|
||||
case 0x00C2: ch = 0x62; break;
|
||||
case 0x00C3: ch = 0x66; break;
|
||||
case 0x00C4: ch = 0x4A; break;
|
||||
case 0x00C5: ch = 0x67; break;
|
||||
case 0x00C6: ch = 0x9E; break;
|
||||
case 0x00C7: ch = 0x68; break;
|
||||
case 0x00C8: ch = 0x74; break;
|
||||
case 0x00C9: ch = 0x71; break;
|
||||
case 0x00CA: ch = 0x72; break;
|
||||
case 0x00CB: ch = 0x73; break;
|
||||
case 0x00CC: ch = 0x78; break;
|
||||
case 0x00CD: ch = 0x75; break;
|
||||
case 0x00CE: ch = 0x76; break;
|
||||
case 0x00CF: ch = 0x77; break;
|
||||
case 0x00D0: ch = 0xAC; break;
|
||||
case 0x00D1: ch = 0x69; break;
|
||||
case 0x00D2: ch = 0xED; break;
|
||||
case 0x00D3: ch = 0xEE; break;
|
||||
case 0x00D4: ch = 0xEB; break;
|
||||
case 0x00D5: ch = 0xEF; break;
|
||||
case 0x00D6: ch = 0xE0; break;
|
||||
case 0x00D7: ch = 0xBF; break;
|
||||
case 0x00D8: ch = 0x80; break;
|
||||
case 0x00D9: ch = 0xFD; break;
|
||||
case 0x00DA: ch = 0xFE; break;
|
||||
case 0x00DB: ch = 0xFB; break;
|
||||
case 0x00DC: ch = 0x5A; break;
|
||||
case 0x00DD: ch = 0xAD; break;
|
||||
case 0x00DE: ch = 0xAE; break;
|
||||
case 0x00DF: ch = 0xA1; break;
|
||||
case 0x00E0: ch = 0x44; break;
|
||||
case 0x00E1: ch = 0x45; break;
|
||||
case 0x00E2: ch = 0x42; break;
|
||||
case 0x00E3: ch = 0x46; break;
|
||||
case 0x00E4: ch = 0xC0; break;
|
||||
case 0x00E5: ch = 0x47; break;
|
||||
case 0x00E6: ch = 0x9C; break;
|
||||
case 0x00E7: ch = 0x48; break;
|
||||
case 0x00E8: ch = 0x54; break;
|
||||
case 0x00E9: ch = 0x51; break;
|
||||
case 0x00EA: ch = 0x52; break;
|
||||
case 0x00EB: ch = 0x53; break;
|
||||
case 0x00EC: ch = 0x58; break;
|
||||
case 0x00ED: ch = 0x55; break;
|
||||
case 0x00EE: ch = 0x56; break;
|
||||
case 0x00EF: ch = 0x57; break;
|
||||
case 0x00F0: ch = 0x8C; break;
|
||||
case 0x00F1: ch = 0x49; break;
|
||||
case 0x00F2: ch = 0xCD; break;
|
||||
case 0x00F3: ch = 0xCE; break;
|
||||
case 0x00F4: ch = 0xCB; break;
|
||||
case 0x00F5: ch = 0xCF; break;
|
||||
case 0x00F6: ch = 0x6A; break;
|
||||
case 0x00F7: ch = 0xE1; break;
|
||||
case 0x00F8: ch = 0x70; break;
|
||||
case 0x00F9: ch = 0xDD; break;
|
||||
case 0x00FA: ch = 0xDE; break;
|
||||
case 0x00FB: ch = 0xDB; break;
|
||||
case 0x00FC: ch = 0xD0; break;
|
||||
case 0x00FD: ch = 0x8D; break;
|
||||
case 0x00FE: ch = 0x8E; break;
|
||||
case 0x00FF: ch = 0xDF; break;
|
||||
case 0x203E: ch = 0xBC; break;
|
||||
case 0x20AC: ch = 0x9F; break;
|
||||
case 0xFF01: ch = 0x4F; break;
|
||||
case 0xFF02: ch = 0x7F; break;
|
||||
case 0xFF03: ch = 0x7B; break;
|
||||
case 0xFF04: ch = 0x5B; break;
|
||||
case 0xFF05: ch = 0x6C; break;
|
||||
case 0xFF06: ch = 0x50; break;
|
||||
case 0xFF07: ch = 0x7D; break;
|
||||
case 0xFF08: ch = 0x4D; break;
|
||||
case 0xFF09: ch = 0x5D; break;
|
||||
case 0xFF0A: ch = 0x5C; break;
|
||||
case 0xFF0B: ch = 0x4E; break;
|
||||
case 0xFF0C: ch = 0x6B; break;
|
||||
case 0xFF0D: ch = 0x60; break;
|
||||
case 0xFF0E: ch = 0x4B; break;
|
||||
case 0xFF0F: ch = 0x61; break;
|
||||
case 0xFF10:
|
||||
case 0xFF11:
|
||||
case 0xFF12:
|
||||
case 0xFF13:
|
||||
case 0xFF14:
|
||||
case 0xFF15:
|
||||
case 0xFF16:
|
||||
case 0xFF17:
|
||||
case 0xFF18:
|
||||
case 0xFF19:
|
||||
ch -= 0xFE20;
|
||||
break;
|
||||
case 0xFF1A: ch = 0x7A; break;
|
||||
case 0xFF1B: ch = 0x5E; break;
|
||||
case 0xFF1C: ch = 0x4C; break;
|
||||
case 0xFF1D: ch = 0x7E; break;
|
||||
case 0xFF1E: ch = 0x6E; break;
|
||||
case 0xFF1F: ch = 0x6F; break;
|
||||
case 0xFF20: ch = 0xB5; break;
|
||||
case 0xFF21:
|
||||
case 0xFF22:
|
||||
case 0xFF23:
|
||||
case 0xFF24:
|
||||
case 0xFF25:
|
||||
case 0xFF26:
|
||||
case 0xFF27:
|
||||
case 0xFF28:
|
||||
case 0xFF29:
|
||||
ch -= 0xFE60;
|
||||
break;
|
||||
case 0xFF2A:
|
||||
case 0xFF2B:
|
||||
case 0xFF2C:
|
||||
case 0xFF2D:
|
||||
case 0xFF2E:
|
||||
case 0xFF2F:
|
||||
case 0xFF30:
|
||||
case 0xFF31:
|
||||
case 0xFF32:
|
||||
ch -= 0xFE59;
|
||||
break;
|
||||
case 0xFF33:
|
||||
case 0xFF34:
|
||||
case 0xFF35:
|
||||
case 0xFF36:
|
||||
case 0xFF37:
|
||||
case 0xFF38:
|
||||
case 0xFF39:
|
||||
case 0xFF3A:
|
||||
ch -= 0xFE51;
|
||||
break;
|
||||
case 0xFF3B: ch = 0x63; break;
|
||||
case 0xFF3C: ch = 0xEC; break;
|
||||
case 0xFF3D: ch = 0xFC; break;
|
||||
case 0xFF3E: ch = 0x5F; break;
|
||||
case 0xFF3F: ch = 0x6D; break;
|
||||
case 0xFF40: ch = 0x79; break;
|
||||
case 0xFF41:
|
||||
case 0xFF42:
|
||||
case 0xFF43:
|
||||
case 0xFF44:
|
||||
case 0xFF45:
|
||||
case 0xFF46:
|
||||
case 0xFF47:
|
||||
case 0xFF48:
|
||||
case 0xFF49:
|
||||
ch -= 0xFEC0;
|
||||
break;
|
||||
case 0xFF4A:
|
||||
case 0xFF4B:
|
||||
case 0xFF4C:
|
||||
case 0xFF4D:
|
||||
case 0xFF4E:
|
||||
case 0xFF4F:
|
||||
case 0xFF50:
|
||||
case 0xFF51:
|
||||
case 0xFF52:
|
||||
ch -= 0xFEB9;
|
||||
break;
|
||||
case 0xFF53:
|
||||
case 0xFF54:
|
||||
case 0xFF55:
|
||||
case 0xFF56:
|
||||
case 0xFF57:
|
||||
case 0xFF58:
|
||||
case 0xFF59:
|
||||
case 0xFF5A:
|
||||
ch -= 0xFEB1;
|
||||
break;
|
||||
case 0xFF5B: ch = 0x43; break;
|
||||
case 0xFF5C: ch = 0xBB; break;
|
||||
case 0xFF5D: ch = 0xDC; break;
|
||||
case 0xFF5E: ch = 0x59; break;
|
||||
default: ch = 0x3F; break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
protected override void ToBytes(String s, int charIndex, int charCount,
|
||||
byte[] bytes, int byteIndex)
|
||||
{
|
||||
int ch;
|
||||
while(charCount > 0)
|
||||
{
|
||||
ch = (int)(s[charIndex++]);
|
||||
if(ch >= 4) switch(ch)
|
||||
{
|
||||
case 0x000B:
|
||||
case 0x000C:
|
||||
case 0x000D:
|
||||
case 0x000E:
|
||||
case 0x000F:
|
||||
case 0x0010:
|
||||
case 0x0011:
|
||||
case 0x0012:
|
||||
case 0x0013:
|
||||
case 0x0018:
|
||||
case 0x0019:
|
||||
case 0x001C:
|
||||
case 0x001D:
|
||||
case 0x001E:
|
||||
case 0x001F:
|
||||
case 0x00B6:
|
||||
break;
|
||||
case 0x0004: ch = 0x37; break;
|
||||
case 0x0005: ch = 0x2D; break;
|
||||
case 0x0006: ch = 0x2E; break;
|
||||
case 0x0007: ch = 0x2F; break;
|
||||
case 0x0008: ch = 0x16; break;
|
||||
case 0x0009: ch = 0x05; break;
|
||||
case 0x000A: ch = 0x25; break;
|
||||
case 0x0014: ch = 0x3C; break;
|
||||
case 0x0015: ch = 0x3D; break;
|
||||
case 0x0016: ch = 0x32; break;
|
||||
case 0x0017: ch = 0x26; break;
|
||||
case 0x001A: ch = 0x3F; break;
|
||||
case 0x001B: ch = 0x27; break;
|
||||
case 0x0020: ch = 0x40; break;
|
||||
case 0x0021: ch = 0x4F; break;
|
||||
case 0x0022: ch = 0x7F; break;
|
||||
case 0x0023: ch = 0x7B; break;
|
||||
case 0x0024: ch = 0x5B; break;
|
||||
case 0x0025: ch = 0x6C; break;
|
||||
case 0x0026: ch = 0x50; break;
|
||||
case 0x0027: ch = 0x7D; break;
|
||||
case 0x0028: ch = 0x4D; break;
|
||||
case 0x0029: ch = 0x5D; break;
|
||||
case 0x002A: ch = 0x5C; break;
|
||||
case 0x002B: ch = 0x4E; break;
|
||||
case 0x002C: ch = 0x6B; break;
|
||||
case 0x002D: ch = 0x60; break;
|
||||
case 0x002E: ch = 0x4B; break;
|
||||
case 0x002F: ch = 0x61; break;
|
||||
case 0x0030:
|
||||
case 0x0031:
|
||||
case 0x0032:
|
||||
case 0x0033:
|
||||
case 0x0034:
|
||||
case 0x0035:
|
||||
case 0x0036:
|
||||
case 0x0037:
|
||||
case 0x0038:
|
||||
case 0x0039:
|
||||
ch += 0x00C0;
|
||||
break;
|
||||
case 0x003A: ch = 0x7A; break;
|
||||
case 0x003B: ch = 0x5E; break;
|
||||
case 0x003C: ch = 0x4C; break;
|
||||
case 0x003D: ch = 0x7E; break;
|
||||
case 0x003E: ch = 0x6E; break;
|
||||
case 0x003F: ch = 0x6F; break;
|
||||
case 0x0040: ch = 0xB5; break;
|
||||
case 0x0041:
|
||||
case 0x0042:
|
||||
case 0x0043:
|
||||
case 0x0044:
|
||||
case 0x0045:
|
||||
case 0x0046:
|
||||
case 0x0047:
|
||||
case 0x0048:
|
||||
case 0x0049:
|
||||
ch += 0x0080;
|
||||
break;
|
||||
case 0x004A:
|
||||
case 0x004B:
|
||||
case 0x004C:
|
||||
case 0x004D:
|
||||
case 0x004E:
|
||||
case 0x004F:
|
||||
case 0x0050:
|
||||
case 0x0051:
|
||||
case 0x0052:
|
||||
ch += 0x0087;
|
||||
break;
|
||||
case 0x0053:
|
||||
case 0x0054:
|
||||
case 0x0055:
|
||||
case 0x0056:
|
||||
case 0x0057:
|
||||
case 0x0058:
|
||||
case 0x0059:
|
||||
case 0x005A:
|
||||
ch += 0x008F;
|
||||
break;
|
||||
case 0x005B: ch = 0x63; break;
|
||||
case 0x005C: ch = 0xEC; break;
|
||||
case 0x005D: ch = 0xFC; break;
|
||||
case 0x005E: ch = 0x5F; break;
|
||||
case 0x005F: ch = 0x6D; break;
|
||||
case 0x0060: ch = 0x79; break;
|
||||
case 0x0061:
|
||||
case 0x0062:
|
||||
case 0x0063:
|
||||
case 0x0064:
|
||||
case 0x0065:
|
||||
case 0x0066:
|
||||
case 0x0067:
|
||||
case 0x0068:
|
||||
case 0x0069:
|
||||
ch += 0x0020;
|
||||
break;
|
||||
case 0x006A:
|
||||
case 0x006B:
|
||||
case 0x006C:
|
||||
case 0x006D:
|
||||
case 0x006E:
|
||||
case 0x006F:
|
||||
case 0x0070:
|
||||
case 0x0071:
|
||||
case 0x0072:
|
||||
ch += 0x0027;
|
||||
break;
|
||||
case 0x0073:
|
||||
case 0x0074:
|
||||
case 0x0075:
|
||||
case 0x0076:
|
||||
case 0x0077:
|
||||
case 0x0078:
|
||||
case 0x0079:
|
||||
case 0x007A:
|
||||
ch += 0x002F;
|
||||
break;
|
||||
case 0x007B: ch = 0x43; break;
|
||||
case 0x007C: ch = 0xBB; break;
|
||||
case 0x007D: ch = 0xDC; break;
|
||||
case 0x007E: ch = 0x59; break;
|
||||
case 0x007F: ch = 0x07; break;
|
||||
case 0x0080:
|
||||
case 0x0081:
|
||||
case 0x0082:
|
||||
case 0x0083:
|
||||
case 0x0084:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x0085: ch = 0x15; break;
|
||||
case 0x0086: ch = 0x06; break;
|
||||
case 0x0087: ch = 0x17; break;
|
||||
case 0x0088:
|
||||
case 0x0089:
|
||||
case 0x008A:
|
||||
case 0x008B:
|
||||
case 0x008C:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x008D: ch = 0x09; break;
|
||||
case 0x008E: ch = 0x0A; break;
|
||||
case 0x008F: ch = 0x1B; break;
|
||||
case 0x0090: ch = 0x30; break;
|
||||
case 0x0091: ch = 0x31; break;
|
||||
case 0x0092: ch = 0x1A; break;
|
||||
case 0x0093:
|
||||
case 0x0094:
|
||||
case 0x0095:
|
||||
case 0x0096:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x0097: ch = 0x08; break;
|
||||
case 0x0098:
|
||||
case 0x0099:
|
||||
case 0x009A:
|
||||
case 0x009B:
|
||||
ch -= 0x0060;
|
||||
break;
|
||||
case 0x009C: ch = 0x04; break;
|
||||
case 0x009D: ch = 0x14; break;
|
||||
case 0x009E: ch = 0x3E; break;
|
||||
case 0x009F: ch = 0xFF; break;
|
||||
case 0x00A0: ch = 0x41; break;
|
||||
case 0x00A1: ch = 0xAA; break;
|
||||
case 0x00A2: ch = 0xB0; break;
|
||||
case 0x00A3: ch = 0xB1; break;
|
||||
case 0x00A5: ch = 0xB2; break;
|
||||
case 0x00A6: ch = 0xCC; break;
|
||||
case 0x00A7: ch = 0x7C; break;
|
||||
case 0x00A8: ch = 0xBD; break;
|
||||
case 0x00A9: ch = 0xB4; break;
|
||||
case 0x00AA: ch = 0x9A; break;
|
||||
case 0x00AB: ch = 0x8A; break;
|
||||
case 0x00AC: ch = 0xBA; break;
|
||||
case 0x00AD: ch = 0xCA; break;
|
||||
case 0x00AE: ch = 0xAF; break;
|
||||
case 0x00AF: ch = 0xBC; break;
|
||||
case 0x00B0: ch = 0x90; break;
|
||||
case 0x00B1: ch = 0x8F; break;
|
||||
case 0x00B2: ch = 0xEA; break;
|
||||
case 0x00B3: ch = 0xFA; break;
|
||||
case 0x00B4: ch = 0xBE; break;
|
||||
case 0x00B5: ch = 0xA0; break;
|
||||
case 0x00B7: ch = 0xB3; break;
|
||||
case 0x00B8: ch = 0x9D; break;
|
||||
case 0x00B9: ch = 0xDA; break;
|
||||
case 0x00BA: ch = 0x9B; break;
|
||||
case 0x00BB: ch = 0x8B; break;
|
||||
case 0x00BC: ch = 0xB7; break;
|
||||
case 0x00BD: ch = 0xB8; break;
|
||||
case 0x00BE: ch = 0xB9; break;
|
||||
case 0x00BF: ch = 0xAB; break;
|
||||
case 0x00C0: ch = 0x64; break;
|
||||
case 0x00C1: ch = 0x65; break;
|
||||
case 0x00C2: ch = 0x62; break;
|
||||
case 0x00C3: ch = 0x66; break;
|
||||
case 0x00C4: ch = 0x4A; break;
|
||||
case 0x00C5: ch = 0x67; break;
|
||||
case 0x00C6: ch = 0x9E; break;
|
||||
case 0x00C7: ch = 0x68; break;
|
||||
case 0x00C8: ch = 0x74; break;
|
||||
case 0x00C9: ch = 0x71; break;
|
||||
case 0x00CA: ch = 0x72; break;
|
||||
case 0x00CB: ch = 0x73; break;
|
||||
case 0x00CC: ch = 0x78; break;
|
||||
case 0x00CD: ch = 0x75; break;
|
||||
case 0x00CE: ch = 0x76; break;
|
||||
case 0x00CF: ch = 0x77; break;
|
||||
case 0x00D0: ch = 0xAC; break;
|
||||
case 0x00D1: ch = 0x69; break;
|
||||
case 0x00D2: ch = 0xED; break;
|
||||
case 0x00D3: ch = 0xEE; break;
|
||||
case 0x00D4: ch = 0xEB; break;
|
||||
case 0x00D5: ch = 0xEF; break;
|
||||
case 0x00D6: ch = 0xE0; break;
|
||||
case 0x00D7: ch = 0xBF; break;
|
||||
case 0x00D8: ch = 0x80; break;
|
||||
case 0x00D9: ch = 0xFD; break;
|
||||
case 0x00DA: ch = 0xFE; break;
|
||||
case 0x00DB: ch = 0xFB; break;
|
||||
case 0x00DC: ch = 0x5A; break;
|
||||
case 0x00DD: ch = 0xAD; break;
|
||||
case 0x00DE: ch = 0xAE; break;
|
||||
case 0x00DF: ch = 0xA1; break;
|
||||
case 0x00E0: ch = 0x44; break;
|
||||
case 0x00E1: ch = 0x45; break;
|
||||
case 0x00E2: ch = 0x42; break;
|
||||
case 0x00E3: ch = 0x46; break;
|
||||
case 0x00E4: ch = 0xC0; break;
|
||||
case 0x00E5: ch = 0x47; break;
|
||||
case 0x00E6: ch = 0x9C; break;
|
||||
case 0x00E7: ch = 0x48; break;
|
||||
case 0x00E8: ch = 0x54; break;
|
||||
case 0x00E9: ch = 0x51; break;
|
||||
case 0x00EA: ch = 0x52; break;
|
||||
case 0x00EB: ch = 0x53; break;
|
||||
case 0x00EC: ch = 0x58; break;
|
||||
case 0x00ED: ch = 0x55; break;
|
||||
case 0x00EE: ch = 0x56; break;
|
||||
case 0x00EF: ch = 0x57; break;
|
||||
case 0x00F0: ch = 0x8C; break;
|
||||
case 0x00F1: ch = 0x49; break;
|
||||
case 0x00F2: ch = 0xCD; break;
|
||||
case 0x00F3: ch = 0xCE; break;
|
||||
case 0x00F4: ch = 0xCB; break;
|
||||
case 0x00F5: ch = 0xCF; break;
|
||||
case 0x00F6: ch = 0x6A; break;
|
||||
case 0x00F7: ch = 0xE1; break;
|
||||
case 0x00F8: ch = 0x70; break;
|
||||
case 0x00F9: ch = 0xDD; break;
|
||||
case 0x00FA: ch = 0xDE; break;
|
||||
case 0x00FB: ch = 0xDB; break;
|
||||
case 0x00FC: ch = 0xD0; break;
|
||||
case 0x00FD: ch = 0x8D; break;
|
||||
case 0x00FE: ch = 0x8E; break;
|
||||
case 0x00FF: ch = 0xDF; break;
|
||||
case 0x203E: ch = 0xBC; break;
|
||||
case 0x20AC: ch = 0x9F; break;
|
||||
case 0xFF01: ch = 0x4F; break;
|
||||
case 0xFF02: ch = 0x7F; break;
|
||||
case 0xFF03: ch = 0x7B; break;
|
||||
case 0xFF04: ch = 0x5B; break;
|
||||
case 0xFF05: ch = 0x6C; break;
|
||||
case 0xFF06: ch = 0x50; break;
|
||||
case 0xFF07: ch = 0x7D; break;
|
||||
case 0xFF08: ch = 0x4D; break;
|
||||
case 0xFF09: ch = 0x5D; break;
|
||||
case 0xFF0A: ch = 0x5C; break;
|
||||
case 0xFF0B: ch = 0x4E; break;
|
||||
case 0xFF0C: ch = 0x6B; break;
|
||||
case 0xFF0D: ch = 0x60; break;
|
||||
case 0xFF0E: ch = 0x4B; break;
|
||||
case 0xFF0F: ch = 0x61; break;
|
||||
case 0xFF10:
|
||||
case 0xFF11:
|
||||
case 0xFF12:
|
||||
case 0xFF13:
|
||||
case 0xFF14:
|
||||
case 0xFF15:
|
||||
case 0xFF16:
|
||||
case 0xFF17:
|
||||
case 0xFF18:
|
||||
case 0xFF19:
|
||||
ch -= 0xFE20;
|
||||
break;
|
||||
case 0xFF1A: ch = 0x7A; break;
|
||||
case 0xFF1B: ch = 0x5E; break;
|
||||
case 0xFF1C: ch = 0x4C; break;
|
||||
case 0xFF1D: ch = 0x7E; break;
|
||||
case 0xFF1E: ch = 0x6E; break;
|
||||
case 0xFF1F: ch = 0x6F; break;
|
||||
case 0xFF20: ch = 0xB5; break;
|
||||
case 0xFF21:
|
||||
case 0xFF22:
|
||||
case 0xFF23:
|
||||
case 0xFF24:
|
||||
case 0xFF25:
|
||||
case 0xFF26:
|
||||
case 0xFF27:
|
||||
case 0xFF28:
|
||||
case 0xFF29:
|
||||
ch -= 0xFE60;
|
||||
break;
|
||||
case 0xFF2A:
|
||||
case 0xFF2B:
|
||||
case 0xFF2C:
|
||||
case 0xFF2D:
|
||||
case 0xFF2E:
|
||||
case 0xFF2F:
|
||||
case 0xFF30:
|
||||
case 0xFF31:
|
||||
case 0xFF32:
|
||||
ch -= 0xFE59;
|
||||
break;
|
||||
case 0xFF33:
|
||||
case 0xFF34:
|
||||
case 0xFF35:
|
||||
case 0xFF36:
|
||||
case 0xFF37:
|
||||
case 0xFF38:
|
||||
case 0xFF39:
|
||||
case 0xFF3A:
|
||||
ch -= 0xFE51;
|
||||
break;
|
||||
case 0xFF3B: ch = 0x63; break;
|
||||
case 0xFF3C: ch = 0xEC; break;
|
||||
case 0xFF3D: ch = 0xFC; break;
|
||||
case 0xFF3E: ch = 0x5F; break;
|
||||
case 0xFF3F: ch = 0x6D; break;
|
||||
case 0xFF40: ch = 0x79; break;
|
||||
case 0xFF41:
|
||||
case 0xFF42:
|
||||
case 0xFF43:
|
||||
case 0xFF44:
|
||||
case 0xFF45:
|
||||
case 0xFF46:
|
||||
case 0xFF47:
|
||||
case 0xFF48:
|
||||
case 0xFF49:
|
||||
ch -= 0xFEC0;
|
||||
break;
|
||||
case 0xFF4A:
|
||||
case 0xFF4B:
|
||||
case 0xFF4C:
|
||||
case 0xFF4D:
|
||||
case 0xFF4E:
|
||||
case 0xFF4F:
|
||||
case 0xFF50:
|
||||
case 0xFF51:
|
||||
case 0xFF52:
|
||||
ch -= 0xFEB9;
|
||||
break;
|
||||
case 0xFF53:
|
||||
case 0xFF54:
|
||||
case 0xFF55:
|
||||
case 0xFF56:
|
||||
case 0xFF57:
|
||||
case 0xFF58:
|
||||
case 0xFF59:
|
||||
case 0xFF5A:
|
||||
ch -= 0xFEB1;
|
||||
break;
|
||||
case 0xFF5B: ch = 0x43; break;
|
||||
case 0xFF5C: ch = 0xBB; break;
|
||||
case 0xFF5D: ch = 0xDC; break;
|
||||
case 0xFF5E: ch = 0x59; break;
|
||||
default: ch = 0x3F; break;
|
||||
}
|
||||
bytes[byteIndex++] = (byte)ch;
|
||||
--charCount;
|
||||
}
|
||||
}
|
||||
|
||||
}; // class CP1141
|
||||
|
||||
public class ENCibm01141 : CP1141
|
||||
{
|
||||
public ENCibm01141() : base() {}
|
||||
|
||||
}; // class ENCibm01141
|
||||
|
||||
}; // namespace I18N.Rare
|
||||
Loaded 100 of 2094 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user