dotgnu-pnet-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dotgnu-pnet-commits] CVS: pnetlib/I18N/tools cvtcul.sh, 1.3, 1.4 loc2cu


From: Rhys Weatherley <address@hidden>
Subject: [Dotgnu-pnet-commits] CVS: pnetlib/I18N/tools cvtcul.sh, 1.3, 1.4 loc2cul.c, 1.5, 1.6
Date: Fri, 29 Aug 2003 09:38:17 -0400

Update of /cvsroot/dotgnu-pnet/pnetlib/I18N/tools
In directory subversions:/tmp/cvs-serv3496/I18N/tools

Modified Files:
        cvtcul.sh loc2cul.c 
Log Message:


Add the TextInfo properties to the I18N culture classes.


Index: cvtcul.sh
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/I18N/tools/cvtcul.sh,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** cvtcul.sh   2 Jun 2003 02:25:41 -0000       1.3
--- cvtcul.sh   29 Aug 2003 13:38:14 -0000      1.4
***************
*** 41,44 ****
--- 41,45 ----
  ${LOC2CUL} --region Other --id 0x0036 --name af \
        --iso2 af --iso3 afr --windows AFK \
+       --ansi 1252 --ebcdic 500 --mac 10000 --oem 850 --separator ',' \
        Other/af.txt >Other/CID0036.cs
  
***************
*** 50,53 ****
--- 51,55 ----
  ${LOC2CUL} --region MidEast --id 0x0001 --name ar \
        --iso2 ar --iso3 ara --windows ARA \
+       --ansi 1256 --ebcdic 20420 --mac 10004 --oem 720 --separator ';' \
        MidEast/ar.txt >MidEast/CID0001.cs
  
***************
*** 119,122 ****
--- 121,125 ----
  ${LOC2CUL} --region Other --id 0x0023 --name be \
        --iso2 be --iso3 bel --windows BEL \
+       --ansi 1251 --ebcdic 500 --mac 10007 --oem 866 --separator ';' \
        Other/be.txt >Other/CID0023.cs
  
***************
*** 128,131 ****
--- 131,135 ----
  ${LOC2CUL} --region West --id 0x0002 --name bg \
        --iso2 bg --iso3 bul --windows BGR \
+       --ansi 1251 --ebcdic 20420 --mac 10007 --oem 866 --separator ';' \
        West/bg.txt >West/CID0002.cs
  
***************
*** 137,140 ****
--- 141,145 ----
  ${LOC2CUL} --region West --id 0x0003 --name ca \
        --iso2 ca --iso3 cat --windows CAT \
+       --ansi 1252 --ebcdic 500 --mac 10000 --oem 850 --separator ';' \
        West/ca.txt >West/CID0003.cs
  
***************
*** 146,149 ****
--- 151,155 ----
  ${LOC2CUL} --region West --id 0x0005 --name cs \
        --iso2 cs --iso3 ces --windows CSY \
+       --ansi 1250 --ebcdic 500 --mac 10029 --oem 852 --separator ';' \
        West/cs.txt >West/CID0005.cs
  
***************
*** 155,158 ****
--- 161,165 ----
  ${LOC2CUL} --region West --id 0x0006 --name da \
        --iso2 da --iso3 dan --windows DAN \
+       --ansi 1252 --ebcdic 20277 --mac 10000 --oem 850 --separator ';' \
        West/da.txt >West/CID0006.cs
  
***************
*** 164,167 ****
--- 171,175 ----
  ${LOC2CUL} --region West --id 0x0007 --name de \
        --iso2 de --iso3 deu --windows DEU \
+       --ansi 1252 --ebcdic 20273 --mac 10000 --oem 850 --separator ';' \
        West/de.txt >West/CID0007.cs
  
***************
*** 185,188 ****
--- 193,197 ----
  ${LOC2CUL} --region West --id 0x0008 --name el \
        --iso2 el --iso3 ell --windows ELL \
+       --ansi 1253 --ebcdic 20273 --mac 10006 --oem 737 --separator ';' \
        West/el.txt >West/CID0008.cs
  
***************
*** 194,221 ****
--- 203,237 ----
  ${LOC2CUL} --region Common --id 0x0009 --name en \
        --iso2 en --iso3 eng --windows ENU \
+       --ansi 1252 --ebcdic 37 --mac 10000 --oem 437 --separator ',' \
        Common/en.txt >Common/CID0009.cs
  
  ${LOC2CUL} --region Common --id 0x0C09 --name en-AU \
        --windows ENA \
+       --ansi 1252 --ebcdic 500 --mac 10000 --oem 850 --separator ',' \
        Common/en_AU.txt >Common/CID0c09.cs
  
  ${LOC2CUL} --region Common --id 0x1009 --name en-CA \
        --windows ENC \
+       --ansi 1252 --ebcdic 37 --mac 10000 --oem 850 --separator ',' \
        Common/en_CA.txt >Common/CID1009.cs
  
  ${LOC2CUL} --region Common --id 0x0809 --name en-GB \
        --windows ENG \
+       --ansi 1252 --ebcdic 20285 --mac 10000 --oem 850 --separator ',' \
        Common/en_GB.txt >Common/CID0809.cs
  
  ${LOC2CUL} --region Common --id 0x1809 --name en-IE \
        --windows ENI \
+       --ansi 1252 --ebcdic 500 --mac 10000 --oem 850 --separator ',' \
        Common/en_IE.txt >Common/CID1809.cs
  
  ${LOC2CUL} --region Common --id 0x1409 --name en-NZ \
        --windows ENZ \
+       --ansi 1252 --ebcdic 500 --mac 10000 --oem 850 --separator ',' \
        Common/en_NZ.txt >Common/CID1409.cs
  
  ${LOC2CUL} --region Common --id 0x3409 --name en-PH \
        --windows ENP \
+       --ansi 1252 --ebcdic 500 --mac 10000 --oem 437 --separator ',' \
        Common/en_PH.txt >Common/CID3409.cs
  
***************
*** 225,232 ****
--- 241,250 ----
  ${LOC2CUL} --region Common --id 0x1C09 --name en-ZA \
        --windows ENS \
+       --ansi 1252 --ebcdic 500 --mac 10000 --oem 437 --separator ',' \
        Common/en_ZA.txt >Common/CID1c09.cs
  
  ${LOC2CUL} --region Common --id 0x3009 --name en-ZW \
        --windows ENW \
+       --ansi 1252 --ebcdic 500 --mac 10000 --oem 437 --separator ',' \
        Common/en_ZW.txt >Common/CID3009.cs
  
***************
*** 235,314 ****
--- 253,352 ----
  ${LOC2CUL} --region West --id 0x000A --name es \
        --iso2 es --iso3 spa --windows ESP \
+       --ansi 1252 --ebcdic 20284 --mac 10000 --oem 850 --separator ';' \
        West/es.txt >West/CID000a.cs
  
  ${LOC2CUL} --region West --id 0x2C0A --name es-AR \
        --windows ESS \
+       --ansi 1252 --ebcdic 20284 --mac 10000 --oem 850 --separator ',' \
        West/es_AR.txt >West/CID2c0a.cs
  
  ${LOC2CUL} --region West --id 0x400A --name es-BO \
        --windows ESB \
+       --ansi 1252 --ebcdic 20284 --mac 10000 --oem 850 --separator ',' \
        West/es_BO.txt >West/CID400a.cs
  
  ${LOC2CUL} --region West --id 0x340A --name es-CL \
        --windows ESL \
+       --ansi 1252 --ebcdic 20284 --mac 10000 --oem 850 --separator ',' \
        West/es_CL.txt >West/CID340a.cs
  
  ${LOC2CUL} --region West --id 0x240A --name es-CO \
        --windows ESO \
+       --ansi 1252 --ebcdic 20284 --mac 10000 --oem 850 --separator ',' \
        West/es_CO.txt >West/CID240a.cs
  
  ${LOC2CUL} --region West --id 0x140A --name es-CR \
        --windows ESC \
+       --ansi 1252 --ebcdic 20284 --mac 10000 --oem 850 --separator ',' \
        West/es_CR.txt >West/CID140a.cs
  
  ${LOC2CUL} --region West --id 0x1C0A --name es-DO \
        --windows ESD \
+       --ansi 1252 --ebcdic 20284 --mac 10000 --oem 850 --separator ',' \
        West/es_DO.txt >West/CID1c0a.cs
  
  ${LOC2CUL} --region West --id 0x300A --name es-EC \
        --windows ESF \
+       --ansi 1252 --ebcdic 20284 --mac 10000 --oem 850 --separator ',' \
        West/es_EC.txt >West/CID300a.cs
  
  ${LOC2CUL} --region West --id 0x0C0A --name es-ES \
        --windows ESN \
+       --ansi 1252 --ebcdic 20284 --mac 10000 --oem 850 --separator ';' \
        West/es_ES.txt >West/CID0c0a.cs
  
  ${LOC2CUL} --region West --id 0x100A --name es-GT \
        --windows ESG \
+       --ansi 1252 --ebcdic 20284 --mac 10000 --oem 850 --separator ',' \
        West/es_GT.txt >West/CID100a.cs
  
  ${LOC2CUL} --region West --id 0x480A --name es-HN \
        --windows ESH \
+       --ansi 1252 --ebcdic 20284 --mac 10000 --oem 850 --separator ',' \
        West/es_HN.txt >West/CID480a.cs
  
  ${LOC2CUL} --region West --id 0x080A --name es-MX \
        --windows ESM \
+       --ansi 1252 --ebcdic 20284 --mac 10000 --oem 850 --separator ',' \
        West/es_MX.txt >West/CID080a.cs
  
  ${LOC2CUL} --region West --id 0x4C0A --name es-NI \
        --windows ESI \
+       --ansi 1252 --ebcdic 20284 --mac 10000 --oem 850 --separator ',' \
        West/es_NI.txt >West/CID4c0a.cs
  
  ${LOC2CUL} --region West --id 0x180A --name es-PA \
        --windows ESA \
+       --ansi 1252 --ebcdic 20284 --mac 10000 --oem 850 --separator ',' \
        West/es_PA.txt >West/CID180a.cs
  
  ${LOC2CUL} --region West --id 0x280A --name es-PE \
        --windows ESR \
+       --ansi 1252 --ebcdic 20284 --mac 10000 --oem 850 --separator ',' \
        West/es_PE.txt >West/CID280a.cs
  
  ${LOC2CUL} --region West --id 0x500A --name es-PR \
        --windows ESU \
+       --ansi 1252 --ebcdic 20284 --mac 10000 --oem 850 --separator ',' \
        West/es_PR.txt >West/CID500a.cs
  
  ${LOC2CUL} --region West --id 0x3C0A --name es-PY \
        --windows ESZ \
+       --ansi 1252 --ebcdic 20284 --mac 10000 --oem 850 --separator ',' \
        West/es_PY.txt >West/CID3c0a.cs
  
  ${LOC2CUL} --region West --id 0x440A --name es-SV \
        --windows ESE \
+       --ansi 1252 --ebcdic 20284 --mac 10000 --oem 850 --separator ',' \
        West/es_SV.txt >West/CID440a.cs
  
  ${LOC2CUL} --region West --id 0x380A --name es-UY \
        --windows ESY \
+       --ansi 1252 --ebcdic 20284 --mac 10000 --oem 850 --separator ',' \
        West/es_UY.txt >West/CID380a.cs
  
  ${LOC2CUL} --region West --id 0x200A --name es-VE \
        --windows ESV \
+       --ansi 1252 --ebcdic 20284 --mac 10000 --oem 850 --separator ',' \
        West/es_VE.txt >West/CID200a.cs
  
***************
*** 317,320 ****
--- 355,359 ----
  ${LOC2CUL} --region Other --id 0x0025 --name et \
        --iso2 et --iso3 est --windows ETI \
+       --ansi 1257 --ebcdic 500 --mac 10029 --oem 775 --separator ';' \
        Other/et.txt >Other/CID0025.cs
  
***************
*** 326,329 ****
--- 365,369 ----
  ${LOC2CUL} --region West --id 0x002D --name eu \
        --iso2 eu --iso3 eus --windows EUQ \
+       --ansi 1252 --ebcdic 500 --mac 10000 --oem 850 --separator ';' \
        West/eu.txt >West/CID002D.cs
  
***************
*** 335,338 ****
--- 375,379 ----
  ${LOC2CUL} --region MidEast --id 0x0029 --name fa \
        --iso2 fa --iso3 fas --windows FAR \
+       --ansi 1256 --ebcdic 20420 --mac 10004 --oem 720 --separator ';' \
        MidEast/fa.txt >MidEast/CID0029.cs
  
***************
*** 344,347 ****
--- 385,389 ----
  ${LOC2CUL} --region West --id 0x000B --name fi \
        --iso2 fi --iso3 fin --windows FIN \
+       --ansi 1252 --ebcdic 20278 --mac 10000 --oem 850 --separator ';' \
        West/fi.txt >West/CID000b.cs
  
***************
*** 353,356 ****
--- 395,399 ----
  ${LOC2CUL} --region Other --id 0x0038 --name fo \
        --iso2 fo --iso3 fao --windows FOS \
+       --ansi 1252 --ebcdic 20277 --mac 10079 --oem 850 --separator ';' \
        Other/fo.txt >Other/CID0038.cs
  
***************
*** 362,365 ****
--- 405,409 ----
  ${LOC2CUL} --region West --id 0x000C --name fr \
        --iso2 fr --iso3 fra --windows FRA \
+       --ansi 1252 --ebcdic 20297 --mac 10000 --oem 850 --separator ';' \
        West/fr.txt >West/CID000c.cs
  
***************
*** 387,390 ****
--- 431,435 ----
  ${LOC2CUL} --region West --id 0x0056 --name gl \
        --iso2 gl --iso3 glg --windows GLC \
+       --ansi 1252 --ebcdic 500 --mac 10000 --oem 850 --separator ',' \
        West/gl.txt >West/CID0056.cs
  
***************
*** 396,399 ****
--- 441,445 ----
  ${LOC2CUL} --region Other --id 0x0047 --name gu \
        --iso2 gu --iso3 guj --windows GUJ \
+       --ansi 0 --ebcdic 500 --mac 2 --oem 1 --separator ',' \
        Other/gu.txt >Other/CID0047.cs
  
***************
*** 405,408 ****
--- 451,455 ----
  ${LOC2CUL} --region MidEast --id 0x000D --name he \
        --iso2 he --iso3 heb --windows HEB \
+       --ansi 1255 --ebcdic 500 --mac 10005 --oem 862 --separator ',' \
        MidEast/he.txt >MidEast/CID000d.cs
  
***************
*** 414,417 ****
--- 461,465 ----
  ${LOC2CUL} --region Other --id 0x0039 --name hi \
        --iso2 hi --iso3 hin --windows HIN \
+       --ansi 0 --ebcdic 500 --mac 2 --oem 1 --separator ',' \
        Other/hi.txt >Other/CID0039.cs
  
***************
*** 423,426 ****
--- 471,475 ----
  ${LOC2CUL} --region Other --id 0x001A --name hr \
        --iso2 hr --iso3 hrv --windows HRV \
+       --ansi 1250 --ebcdic 500 --mac 10082 --oem 852 --separator ';' \
        Other/hr.txt >Other/CID001a.cs
  
***************
*** 432,435 ****
--- 481,485 ----
  ${LOC2CUL} --region West --id 0x000E --name hu \
        --iso2 hu --iso3 hun --windows HUN \
+       --ansi 1250 --ebcdic 500 --mac 10029 --oem 852 --separator ';' \
        West/hu.txt >West/CID000e.cs
  
***************
*** 441,444 ****
--- 491,495 ----
  ${LOC2CUL} --region Other --id 0x002B --name hy \
        --iso2 hy --iso3 hye --windows HYE \
+       --ansi 0 --ebcdic 500 --mac 2 --oem 1 --separator ',' \
        Other/hy.txt >Other/CID002b.cs
  
***************
*** 450,453 ****
--- 501,505 ----
  ${LOC2CUL} --region Other --id 0x0021 --name id \
        --iso2 id --iso3 ind --windows IND \
+       --ansi 1252 --ebcdic 500 --mac 10000 --oem 850 --separator ';' \
        Other/id.txt >Other/CID0021.cs
  
***************
*** 459,462 ****
--- 511,515 ----
  ${LOC2CUL} --region West --id 0x000F --name is \
        --iso2 is --iso3 isl --windows ISL \
+       --ansi 1252 --ebcdic 20871 --mac 10079 --oem 850 --separator ';' \
        West/is.txt >West/CID000f.cs
  
***************
*** 468,475 ****
--- 521,530 ----
  ${LOC2CUL} --region West --id 0x0010 --name it \
        --iso2 it --iso3 ita --windows ITA \
+       --ansi 1252 --ebcdic 20280 --mac 10000 --oem 850 --separator ';' \
        West/it.txt >West/CID0010.cs
  
  ${LOC2CUL} --region West --id 0x0810 --name it-CH \
        --windows ITS \
+       --ansi 1252 --ebcdic 500 --mac 10000 --oem 850 --separator ';' \
        West/it_CH.txt >West/CID0810.cs
  
***************
*** 481,484 ****
--- 536,540 ----
  ${LOC2CUL} --region CJK --id 0x0011 --name ja \
        --iso2 ja --iso3 jpn --windows JPN \
+       --ansi 932 --ebcdic 20290 --mac 10001 --oem 932 --separator ',' \
        CJK/ja.txt >CJK/CID0011.cs
  
***************
*** 490,493 ****
--- 546,550 ----
  ${LOC2CUL} --region Other --id 0x004B --name kn \
        --iso2 kn --iso3 kan --windows KAN \
+       --ansi 0 --ebcdic 500 --mac 2 --oem 1 --separator ',' \
        Other/kn.txt >Other/CID004b.cs
  
***************
*** 499,502 ****
--- 556,560 ----
  ${LOC2CUL} --region Other --id 0x0057 --name kok \
        --iso2 kok --iso3 kok --windows KNK \
+       --ansi 0 --ebcdic 500 --mac 2 --oem 1 --separator ',' \
        Other/kok.txt >Other/CID0057.cs
  
***************
*** 508,511 ****
--- 566,570 ----
  ${LOC2CUL} --region CJK --id 0x0012 --name ko \
        --iso2 ko --iso3 kor --windows KOR \
+       --ansi 949 --ebcdic 20833 --mac 10003 --oem 949 --separator ',' \
        CJK/ko.txt >CJK/CID0012.cs
  
***************
*** 517,520 ****
--- 576,580 ----
  ${LOC2CUL} --region Other --id 0x0027 --name lt \
        --iso2 lt --iso3 lit --windows LTH \
+       --ansi 1257 --ebcdic 500 --mac 10029 --oem 775 --separator ';' \
        Other/lt.txt >Other/CID0027.cs
  
***************
*** 526,529 ****
--- 586,590 ----
  ${LOC2CUL} --region Other --id 0x0026 --name lv \
        --iso2 lv --iso3 lav --windows LVI \
+       --ansi 1257 --ebcdic 500 --mac 10029 --oem 775 --separator ';' \
        Other/lv.txt >Other/CID0026.cs
  
***************
*** 535,538 ****
--- 596,600 ----
  ${LOC2CUL} --region Other --id 0x002F --name mk \
        --iso2 mk --iso3 mkd --windows MKI \
+       --ansi 1251 --ebcdic 500 --mac 10007 --oem 866 --separator ';' \
        Other/mk.txt >Other/CID002f.cs
  
***************
*** 544,547 ****
--- 606,610 ----
  ${LOC2CUL} --region Other --id 0x004e --name mr \
        --iso2 mr --iso3 mar --windows MAR \
+       --ansi 0 --ebcdic 500 --mac 2 --oem 1 --separator ',' \
        Other/mr.txt >Other/CID004e.cs
  
***************
*** 553,556 ****
--- 616,620 ----
  ${LOC2CUL} --region West --id 0x0014 --name no --alias no-NO \
        --iso2 no --iso3 nor --windows NOR \
+       --ansi 1252 --ebcdic 20277 --mac 10000 --oem 850 --separator ';' \
        West/no.txt >West/CID0014.cs
  
***************
*** 567,570 ****
--- 631,635 ----
  ${LOC2CUL} --region West --id 0x0013 --name nl \
        --iso2 nl --iso3 nld --windows NLD \
+       --ansi 1252 --ebcdic 500 --mac 10000 --oem 850 --separator ';' \
        West/nl.txt >West/CID0013.cs
  
***************
*** 580,583 ****
--- 645,649 ----
  ${LOC2CUL} --region West --id 0x0015 --name pl \
        --iso2 pl --iso3 pol --windows PLK \
+       --ansi 1250 --ebcdic 20880 --mac 10029 --oem 852 --separator ';' \
        West/pl.txt >West/CID0015.cs
  
***************
*** 589,592 ****
--- 655,659 ----
  ${LOC2CUL} --region West --id 0x0016 --name pt \
        --iso2 pt --iso3 por --windows PTB \
+       --ansi 1252 --ebcdic 500 --mac 10000 --oem 850 --separator ';' \
        West/pt.txt >West/CID0016.cs
  
***************
*** 602,605 ****
--- 669,673 ----
  ${LOC2CUL} --region West --id 0x0018 --name ro \
        --iso2 ro --iso3 ron --windows ROM \
+       --ansi 1250 --ebcdic 20880 --mac 10029 --oem 852 --separator ';' \
        West/ro.txt >West/CID0018.cs
  
***************
*** 611,614 ****
--- 679,683 ----
  ${LOC2CUL} --region Other --id 0x0019 --name ru \
        --iso2 ru --iso3 rus --windows RUS \
+       --ansi 1251 --ebcdic 20880 --mac 10007 --oem 866 --separator ';' \
        Other/ru.txt >Other/CID0019.cs
  
***************
*** 620,623 ****
--- 689,693 ----
  ${LOC2CUL} --region West --id 0x001B --name sk \
        --iso2 sk --iso3 slk --windows SKY \
+       --ansi 1250 --ebcdic 20880 --mac 10029 --oem 852 --separator ';' \
        West/sk.txt >West/CID001b.cs
  
***************
*** 629,632 ****
--- 699,703 ----
  ${LOC2CUL} --region Other --id 0x0024 --name sl \
        --iso2 sl --iso3 slv --windows SLV \
+       --ansi 1250 --ebcdic 20880 --mac 10029 --oem 852 --separator ';' \
        Other/sl.txt >Other/CID0024.cs
  
***************
*** 638,641 ****
--- 709,713 ----
  ${LOC2CUL} --region Other --id 0x001C --name sq \
        --iso2 sq --iso3 sqi --windows SQI \
+       --ansi 1250 --ebcdic 20880 --mac 10029 --oem 852 --separator ';' \
        Other/sq.txt >Other/CID001c.cs
  
***************
*** 647,650 ****
--- 719,723 ----
  ${LOC2CUL} --region West --id 0x001D --name sv \
        --iso2 sv --iso3 swe --windows SVE \
+       --ansi 1252 --ebcdic 20278 --mac 10000 --oem 850 --separator ';' \
        West/sv.txt >West/CID001d.cs
  
***************
*** 660,663 ****
--- 733,737 ----
  ${LOC2CUL} --region Other --id 0x0041 --name sw \
        --iso2 sw --iso3 swa --windows SWK \
+       --ansi 1252 --ebcdic 500 --mac 10000 --oem 437 --separator ',' \
        Other/sw.txt >Other/CID0041.cs
  
***************
*** 669,672 ****
--- 743,747 ----
  ${LOC2CUL} --region Other --id 0x0049 --name ta \
        --iso2 ta --iso3 tam --windows TAM \
+       --ansi 0 --ebcdic 500 --mac 2 --oem 1 --separator ',' \
        Other/ta.txt >Other/CID0049.cs
  
***************
*** 678,681 ****
--- 753,757 ----
  ${LOC2CUL} --region Other --id 0x004A --name te \
        --iso2 te --iso3 tel --windows TEL \
+       --ansi 0 --ebcdic 500 --mac 2 --oem 1 --separator ',' \
        Other/te.txt >Other/CID004a.cs
  
***************
*** 687,690 ****
--- 763,767 ----
  ${LOC2CUL} --region Other --id 0x001E --name th \
        --iso2 th --iso3 tha --windows THA \
+       --ansi 874 --ebcdic 20838 --mac 10021 --oem 874 --separator ',' \
        Other/th.txt >Other/CID001e.cs
  
***************
*** 696,699 ****
--- 773,777 ----
  ${LOC2CUL} --region MidEast --id 0x001F --name tr \
        --iso2 tr --iso3 tur --windows TRK \
+       --ansi 1254 --ebcdic 20905 --mac 10081 --oem 857 --separator ';' \
        MidEast/tr.txt >MidEast/CID001f.cs
  
***************
*** 705,708 ****
--- 783,787 ----
  ${LOC2CUL} --region Other --id 0x0022 --name uk \
        --iso2 uk --iso3 ukr --windows UKR \
+       --ansi 1251 --ebcdic 500 --mac 10017 --oem 866 --separator ';' \
        Other/uk.txt >Other/CID0022.cs
  
***************
*** 714,717 ****
--- 793,797 ----
  ${LOC2CUL} --region Other --id 0x002A --name vi \
        --iso2 vi --iso3 vie --windows VIT \
+       --ansi 1258 --ebcdic 500 --mac 10000 --oem 1258 --separator ',' \
        Other/vi.txt >Other/CID002a.cs
  
***************
*** 723,745 ****
--- 803,831 ----
  ${LOC2CUL} --region CJK --id 0x0004 --name zh --alias zh-CHS \
        --iso2 zh --iso3 zho --windows CHS \
+       --ansi 936 --ebcdic 500 --mac 10008 --oem 936 --separator ',' \
        CJK/zh.txt >CJK/CID0004.cs
  
  ${LOC2CUL} --region CJK --id 0x0804 --name zh-CN \
+       --ansi 936 --ebcdic 500 --mac 10008 --oem 936 --separator ',' \
        CJK/zh_CN.txt >CJK/CID0804.cs
  
  ${LOC2CUL} --region CJK --id 0x0C04 --name zh-HK \
        --windows ZHH \
+       --ansi 950 --ebcdic 500 --mac 10002 --oem 950 --separator ',' \
        CJK/zh_HK.txt >CJK/CID0c04.cs
  
  ${LOC2CUL} --region CJK --id 0x1404 --name zh-MO \
        --windows ZHM \
+       --ansi 950 --ebcdic 500 --mac 10002 --oem 950 --separator ',' \
        CJK/zh_MO.txt >CJK/CID1404.cs
  
  ${LOC2CUL} --region CJK --id 0x1004 --name zh-SG \
        --windows ZHI \
+       --ansi 936 --ebcdic 500 --mac 10008 --oem 936 --separator ',' \
        CJK/zh_SG.txt >CJK/CID1004.cs
  
  ${LOC2CUL} --region CJK --id 0x0404 --name zh-TW --alias zh-CHT \
        --windows CHT \
+       --ansi 950 --ebcdic 500 --mac 10002 --oem 950 --separator ',' \
        CJK/zh_TW.txt >CJK/CID0404.cs
  

Index: loc2cul.c
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/I18N/tools/loc2cul.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** loc2cul.c   3 Jun 2003 03:29:05 -0000       1.5
--- loc2cul.c   29 Aug 2003 13:38:14 -0000      1.6
***************
*** 32,35 ****
--- 32,40 ----
        --iso3 str                              Three-letter ISO name
        --windows str                   Three-letter Windows name
+       --ansi num                              ANSI code page number
+       --ebcdic num                    EBCDIC code page number
+       --mac num                               Mac code page number
+       --oem num                               OEM code page number
+       --separator str                 List separator
  
  */
***************
*** 50,53 ****
--- 55,63 ----
  static char *windows = 0;
  static const char *filename = 0;
+ static int ansiCP = 1252;
+ static int ebcdicCP = 37;
+ static int macCP = 10000;
+ static int oemCP = 437;
+ static const char *separator = ",";
  
  /*
***************
*** 116,119 ****
--- 126,159 ----
                        isRoot = 1;
                }
+               else if(!strcmp(argv[1], "--ansi") && argc > 2)
+               {
+                       ansiCP = strtol(argv[2], NULL, 0);
+                       ++argv;
+                       --argc;
+               }
+               else if(!strcmp(argv[1], "--ebcdic") && argc > 2)
+               {
+                       ebcdicCP = strtol(argv[2], NULL, 0);
+                       ++argv;
+                       --argc;
+               }
+               else if(!strcmp(argv[1], "--mac") && argc > 2)
+               {
+                       macCP = strtol(argv[2], NULL, 0);
+                       ++argv;
+                       --argc;
+               }
+               else if(!strcmp(argv[1], "--oem") && argc > 2)
+               {
+                       oemCP = strtol(argv[2], NULL, 0);
+                       ++argv;
+                       --argc;
+               }
+               else if(!strcmp(argv[1], "--separator") && argc > 2)
+               {
+                       separator = argv[2];
+                       ++argv;
+                       --argc;
+               }
                ++argv;
                --argc;
***************
*** 1295,1298 ****
--- 1335,1416 ----
  
  /*
+  * Print the TextInfo object.
+  */
+ static void printTextInfo()
+ {
+       /* If none of the TextInfo property values are different, then bail out 
*/
+       if(ansiCP == 1252 && ebcdicCP == 37 && macCP == 10000 &&
+          oemCP == 437 && !strcmp(separator, ","))
+       {
+               return;
+       }
+ 
+       /* Output the definition of the private TextInfo class */
+       printf("\tprivate class PrivateTextInfo : _I18NTextInfo\n");
+       printf("\t{\n");
+       printf("\t\tpublic PrivateTextInfo(int culture) : base(culture) 
{}\n\n");
+       if(ansiCP != 1252)
+       {
+               printf("\t\tpublic override int ANSICodePage\n");
+               printf("\t\t{\n");
+               printf("\t\t\tget\n");
+               printf("\t\t\t{\n");
+               printf("\t\t\t\treturn %d;\n", ansiCP);
+               printf("\t\t\t}\n");
+               printf("\t\t}\n");
+       }
+       if(ebcdicCP != 37)
+       {
+               printf("\t\tpublic override int EBCDICCodePage\n");
+               printf("\t\t{\n");
+               printf("\t\t\tget\n");
+               printf("\t\t\t{\n");
+               printf("\t\t\t\treturn %d;\n", ebcdicCP);
+               printf("\t\t\t}\n");
+               printf("\t\t}\n");
+       }
+       if(macCP != 10000)
+       {
+               printf("\t\tpublic override int MacCodePage\n");
+               printf("\t\t{\n");
+               printf("\t\t\tget\n");
+               printf("\t\t\t{\n");
+               printf("\t\t\t\treturn %d;\n", macCP);
+               printf("\t\t\t}\n");
+               printf("\t\t}\n");
+       }
+       if(oemCP != 437)
+       {
+               printf("\t\tpublic override int OEMCodePage\n");
+               printf("\t\t{\n");
+               printf("\t\t\tget\n");
+               printf("\t\t\t{\n");
+               printf("\t\t\t\treturn %d;\n", oemCP);
+               printf("\t\t\t}\n");
+               printf("\t\t}\n");
+       }
+       if(strcmp(separator, ",") != 0)
+       {
+               printf("\t\tpublic override String ListSeparator\n");
+               printf("\t\t{\n");
+               printf("\t\t\tget\n");
+               printf("\t\t\t{\n");
+               printf("\t\t\t\treturn \"%s\";\n", separator);
+               printf("\t\t\t}\n");
+               printf("\t\t}\n");
+       }
+       printf("\n\t}; // class PrivateTextInfo\n\n");
+ 
+       /* Output the definition of the "TextInfo" property */
+       printf("\tpublic override TextInfo TextInfo\n");
+       printf("\t{\n");
+       printf("\t\tget\n");
+       printf("\t\t{\n");
+       printf("\t\t\treturn new PrivateTextInfo(LCID);\n");
+       printf("\t\t}\n");
+       printf("\t}\n\n");
+ }
+ 
+ /*
   * Print the definition of the culture, using the loaded locale rules.
   */
***************
*** 1302,1304 ****
--- 1420,1423 ----
        printNumberFormat();
        printLanguageResolvers();
+       printTextInfo();
  }





reply via email to

[Prev in Thread] Current Thread [Next in Thread]