home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / locale / zh_cn / ibm-936.loc < prev   
Encoding:
Text File  |  1996-02-20  |  12.4 KB  |  480 lines

  1. #***********************************************************************
  2. #*                                                                     *
  3. #*  VisualAge for C++ for Windows, Version 3.5                         *
  4. #*    Licensed Material - Property of IBM                              *
  5. #*                                                                     *
  6. #*  5801-ARR and Other Materials                                       *
  7. #*                                                                     *
  8. #*  (c) Copyright IBM Corp 1991, 1996. All rights reserved.            *
  9. #*                                                                     *
  10. #***********************************************************************
  11.  
  12.  
  13. # Design notes and assumptions:
  14. #
  15. # ``Chinese character set'' is considered to consist of:
  16. #       128 characters in ASCII (both graphic and control),
  17. #      7745 characters in GB2312.1980-0
  18. #       658 User Defined characters
  19. #
  20. # Names for Chinese specific characters are assigned as
  21. # follows:
  22. #       ASCII characters have their standard names defined
  23. #       in the POSIX.2.
  24. #       GB characters have names based on their code value written
  25. #       in hexadecimal.
  26. #
  27. # This definition implicitly assume that underlying encoding
  28. # is zh_CN.IBM-936
  29.  
  30. # Notes on LC_CTYPE:
  31. #
  32. #       Undefined code points are not included in any classes,
  33. #       because they are not printable characters nor control
  34. #       characters, though they *are* valid characters.
  35.  
  36. LC_CTYPE
  37.  
  38. # Upper and lower consist of:
  39. #       Alphabets in ASCII,
  40. #       Latin alphabets in GB2312.1980-0
  41. #       Greek alphabets in GB2312.1980-0
  42. #       Russian alphabets in GB2312.1980-0
  43. #
  44.  
  45. upper  <A>;<B>;<C>;<D>;<E>;<F>;<G>;<H>;<I>;<J>;<K>;<L>;<M>;\
  46.        <N>;<O>;<P>;<Q>;<R>;<S>;<T>;<U>;<V>;<W>;<X>;<Y>;<Z>
  47.  
  48. lower  <a>;<b>;<c>;<d>;<e>;<f>;<g>;<h>;<i>;<j>;<k>;<l>;<m>;\
  49.        <n>;<o>;<p>;<q>;<r>;<s>;<t>;<u>;<v>;<w>;<x>;<y>;<z>
  50.  
  51. #
  52. # Alpha Class
  53. # Default to upper and lower
  54. #
  55.  
  56. # Digital and xdigit contains ASCII character only, as required
  57. # in the standard.
  58.  
  59. digit    <zero>;<one>;<two>;<three>;<four>;<five>;\
  60.          <six>;<seven>;<eight>;<nine>
  61.  
  62. xdigit   <zero>;<one>;<two>;<three>;<four>;<five>;\
  63.          <six>;<seven>;<eight>;<nine>;\
  64.          <A>;<B>;<C>;<D>;<E>;<F>;\
  65.          <a>;<b>;<c>;<d>;<e>;<f>
  66.  
  67. # blank class
  68. #
  69.  
  70. blank    <space>;<tab>
  71.  
  72. # space class
  73. #       Space characters in C locale
  74. #       Chinese Space form GB2312.1980-0
  75. #
  76.  
  77. space   <tab>;<newline>;<vertical-tab>;<form-feed>;<carriage-return>;<space>
  78.  
  79. # Control defined here are exactly the same as one defined in
  80. # POSIX.2 D10.
  81. # No locale specific characters are added.
  82.  
  83. cntrl   <alert>;<backspace>;<tab>;<newline>;<vertical-tab>;<form-feed>;\
  84.         <carriage-return>;\
  85.         <NUL>;<SOH>;<STX>;<ETX>;<EOT>;<ENQ>;<ACK>;<SO>;\
  86.         <SI>;<DLE>;<DC1>;<DC2>;<DC3>;<DC4>;<NAK>;<SYN>;\
  87.         <ETB>;<CAN>;<EM>;<SUB>;<ESC>;<IS4>;<IS3>;<IS2>;\
  88.         <IS1>;<DEL>
  89.  
  90. # graph
  91. #
  92. #      including upper, lower, alpha, digit, xdigit
  93. #      GB2312 printable characters
  94. #      user defined characters
  95. #
  96.  
  97. graph   <exclamation-mark>;<quotation-mark>;<number-sign>;\
  98.         <dollar-sign>;<percent-sign>;<ampersand>;<apostrophe>;\
  99.         <left-parenthesis>;<right-parenthesis>;<asterisk>;\
  100.         <plus-sign>;<comma>;<hyphen>;<period>;<slash>;\
  101.         <colon>;<semicolon>;<less-than-sign>;<equals-sign>;\
  102.         <greater-than-sign>;<question-mark>;<commercial-at>;\
  103.         <left-square-bracket>;<backslash>;<right-square-bracket>;\
  104.         <circumflex>;<underscore>;<grave-accent>;\
  105.         <left-brace>;<vertical-line>;<right-brace>;<tilde>;\
  106.         <not>;<yen>;<overline>;<broken-bar>;\
  107.         <A>;<B>;<C>;<D>;<E>;<F>;<G>;<H>;<I>;<J>;<K>;<L>;<M>;\
  108.         <N>;<O>;<P>;<Q>;<R>;<S>;<T>;<U>;<V>;<W>;<X>;<Y>;<Z>;\
  109.         <a>;<b>;<c>;<d>;<e>;<f>;<g>;<h>;<i>;<j>;<k>;<l>;<m>;\
  110.         <n>;<o>;<p>;<q>;<r>;<s>;<t>;<u>;<v>;<w>;<x>;<y>;<z>;\
  111.         <zero>;<one>;<two>;<three>;<four>;\
  112.         <five>;<six>;<seven>;<eight>;<nine>;\
  113.         <gb0201>;...;<gb0216>
  114.  
  115.  
  116. # print
  117. #       upper, lower, alpha, digit, xdigit
  118. #       GB2312-80 printalble characters
  119. #       Including space characters
  120.  
  121. print   <space>;\
  122.         <exclamation-mark>;<quotation-mark>;<number-sign>;\
  123.         <dollar-sign>;<percent-sign>;<ampersand>;<apostrophe>;\
  124.         <left-parenthesis>;<right-parenthesis>;<asterisk>;\
  125.         <plus-sign>;<comma>;<hyphen>;<period>;<slash>;\
  126.         <colon>;<semicolon>;<less-than-sign>;<equals-sign>;\
  127.         <greater-than-sign>;<question-mark>;<commercial-at>;\
  128.         <left-square-bracket>;<backslash>;<right-square-bracket>;\
  129.         <circumflex>;<underscore>;<grave-accent>;\
  130.         <left-brace>;<vertical-line>;<right-brace>;<tilde>;\
  131.         <not>;<yen>;<overline>;<broken-bar>;\
  132.         <A>;<B>;<C>;<D>;<E>;<F>;<G>;<H>;<I>;<J>;<K>;<L>;<M>;\
  133.         <N>;<O>;<P>;<Q>;<R>;<S>;<T>;<U>;<V>;<W>;<X>;<Y>;<Z>;\
  134.         <a>;<b>;<c>;<d>;<e>;<f>;<g>;<h>;<i>;<j>;<k>;<l>;<m>;\
  135.         <n>;<o>;<p>;<q>;<r>;<s>;<t>;<u>;<v>;<w>;<x>;<y>;<z>;\
  136.         <zero>;<one>;<two>;<three>;<four>;\
  137.         <five>;<six>;<seven>;<eight>;<nine>;\
  138.         <gb0201>;...;<gb0216>
  139.  
  140. #
  141. # Punct contains all characters to be specified as punctuation characters
  142. #       symbols in ASCII
  143. #       special characters in GB2312.1980-0
  144. #
  145.  
  146. punct   <exclamation-mark>;<quotation-mark>;<number-sign>;\
  147.         <dollar-sign>;<percent-sign>;<ampersand>;<apostrophe>;\
  148.         <left-parenthesis>;<right-parenthesis>;<asterisk>;\
  149.         <plus-sign>;<comma>;<hyphen>;<period>;<slash>;\
  150.         <colon>;<semicolon>;<less-than-sign>;<equals-sign>;\
  151.         <greater-than-sign>;<question-mark>;<commercial-at>;\
  152.         <left-square-bracket>;<backslash>;<right-square-bracket>;\
  153.         <circumflex>;<underscore>;<grave-accent>;\
  154.         <left-brace>;<vertical-line>;<right-brace>;<tilde>;\
  155.         <not>;<yen>;<overline>;<broken-bar>;\
  156.         <gb0102>;...;<gb0194>;\
  157.         <gb0217>;...;<gb0266>;<gb0269>;...;<gb0278>;<gb0281>;...;<gb0292>;\
  158.         <gb0301>;...;<gb0315>;<gb0326>;...;<gb0332>;\
  159.         <gb0359>;...;<gb0364>;<gb0391>;...;<gb0394>;\
  160.         <gb0904>;...;<gb0979>;<gb9464>;...;<gb9494>
  161.  
  162.  
  163. toupper  (<a>,<A>);(<b>,<B>);(<c>,<C>);(<d>,<D>);(<e>,<E>);\
  164.          (<f>,<F>);(<g>,<G>);(<h>,<H>);(<i>,<I>);(<j>,<J>);\
  165.          (<k>,<K>);(<l>,<L>);(<m>,<M>);(<n>,<N>);(<o>,<O>);\
  166.          (<p>,<P>);(<q>,<Q>);(<r>,<R>);(<s>,<S>);(<t>,<T>);\
  167.          (<u>,<U>);(<v>,<V>);(<w>,<W>);(<x>,<X>);(<y>,<Y>);\
  168.          (<z>,<Z>)
  169.  
  170.  
  171. tolower  (<A>,<a>);(<B>,<b>);(<C>,<c>);(<D>,<d>);(<E>,<e>);\
  172.          (<F>,<f>);(<G>,<g>);(<H>,<h>);(<I>,<i>);(<J>,<j>);\
  173.          (<K>,<k>);(<L>,<l>);(<M>,<m>);(<N>,<n>);(<O>,<o>);\
  174.          (<P>,<p>);(<Q>,<q>);(<R>,<r>);(<S>,<s>);(<T>,<t>);\
  175.          (<U>,<u>);(<V>,<v>);(<W>,<w>);(<X>,<x>);(<Y>,<y>);\
  176.          (<Z>,<z>)
  177.  
  178. END LC_CTYPE
  179.  
  180.  
  181. # Notes on LC_COLLATE
  182. #       The following definition provide the straight forward collation
  183. #       for all characters in Chinese locale.
  184. #       The ordering is based on byte-by-byte comparison of codes
  185. #
  186.  
  187. LC_COLLATE
  188.  
  189. order_start                forward
  190. <NUL>
  191. <SOH>
  192. <STX>
  193. <ETX>
  194. <EOT>
  195. <ENQ>
  196. <ACK>
  197. <alert>
  198. <backspace>
  199. <tab>
  200. <newline>
  201. <vertical-tab>
  202. <form-feed>
  203. <carriage-return>
  204. <SO>
  205. <SI>
  206. <DLE>
  207. <DC1>
  208. <DC2>
  209. <DC3>
  210. <DC4>
  211. <NAK>
  212. <SYN>
  213. <ETB>
  214. <CAN>
  215. <EM>
  216. <SUB>
  217. <ESC>
  218. <IS4>
  219. <IS3>
  220. <IS2>
  221. <IS1>
  222. <space>
  223. <exclamation-mark>
  224. <quotation-mark>
  225. <number-sign>
  226. <dollar-sign>
  227. <percent-sign>
  228. <ampersand>
  229. <apostrophe>
  230. <left-parenthesis>
  231. <right-parenthesis>
  232. <asterisk>
  233. <plus-sign>
  234. <comma>
  235. <hyphen>
  236. <period>
  237. <slash>
  238. <zero>
  239. <one>
  240. <two>
  241. <three>
  242. <four>
  243. <five>
  244. <six>
  245. <seven>
  246. <eight>
  247. <nine>
  248. <colon>
  249. <semicolon>
  250. <less-than-sign>
  251. <equals-sign>
  252. <greater-than-sign>
  253. <question-mark>
  254. <commercial-at>
  255. <A>
  256. <B>
  257. <C>
  258. <D>
  259. <E>
  260. <F>
  261. <G>
  262. <H>
  263. <I>
  264. <J>
  265. <K>
  266. <L>
  267. <M>
  268. <N>
  269. <O>
  270. <P>
  271. <Q>
  272. <R>
  273. <S>
  274. <T>
  275. <U>
  276. <V>
  277. <W>
  278. <X>
  279. <Y>
  280. <Z>
  281. <left-square-bracket>
  282. <backslash>
  283. <right-square-bracket>
  284. <circumflex>
  285. <underscore>
  286. <grave-accent>
  287. <a>
  288. <b>
  289. <c>
  290. <d>
  291. <e>
  292. <f>
  293. <g>
  294. <h>
  295. <i>
  296. <j>
  297. <k>
  298. <l>
  299. <m>
  300. <n>
  301. <o>
  302. <p>
  303. <q>
  304. <r>
  305. <s>
  306. <t>
  307. <u>
  308. <v>
  309. <w>
  310. <x>
  311. <y>
  312. <z>
  313. <left-brace>
  314. <vertical-line>
  315. <right-brace>
  316. <tilde>
  317. <not>
  318. <yen>
  319. <overline>
  320. <broken-bar>
  321. <DEL>
  322. <gb0201>
  323. <gb0202>
  324. <gb0203>
  325. <gb0204>
  326. <gb0205>
  327. <gb0206>
  328. <gb0207>
  329. <gb0208>
  330. <gb0209>
  331. <gb0210>
  332. <gb0211>
  333. <gb0212>
  334. <gb0213>
  335. <gb0214>
  336. <gb0215>
  337. <gb0216>
  338.  
  339. order_end
  340.  
  341. END LC_COLLATE
  342.  
  343.  
  344. # LC_MESSAGES as in POSIX.2 D10
  345. #       yesexpr: "^[yY<gb4239>]"
  346. #       noexpr:  "^[yY<gb2381>]"
  347. #
  348.  
  349. LC_MESSAGES
  350.  
  351. yesexpr "<circumflex><left-square-bracket><y><Y><gb4239><right-square-bracket>"
  352. noexpr  "<circumflex><left-square-bracket><n><N><gb2381><right-square-bracket>"
  353.  
  354. END LC_MESSAGES
  355.  
  356.  
  357. LC_MONETARY
  358.  
  359. int_curr_symbol               "<C><N><Y><space>"
  360. currency_symbol               "<gb0304>"
  361. mon_decimal_point             "<period>"
  362. mon_thousands_sep             "<comma>"
  363. mon_grouping                  "3;0"
  364. positive_sign                 ""
  365. negative_sign                 "<hyphen>"
  366. int_frac_digits               2
  367. frac_digits                   2
  368. p_cs_precedes                 1
  369. p_sep_by_space                0
  370. n_cs_precedes                 1
  371. n_sep_by_space                0
  372. p_sign_posn                   1
  373. n_sign_posn                   1
  374.  
  375. END LC_MONETARY
  376.  
  377.  
  378. LC_NUMERIC
  379.  
  380. decimal_point                 "<period>"
  381. thousands_sep                 "<comma>"
  382. grouping                      "3;0"
  383.  
  384. END LC_NUMERIC
  385.  
  386.  
  387. LC_TIME
  388.  
  389. # Sunday Monday, and so on in Chinese Ideogram
  390.  
  391. abday    "<gb4053>";"<gb5027>";"<gb2294>";"<gb4093>";\
  392.          "<gb4336>";"<gb4669>";"<gb3389>"
  393.  
  394. # Full weekday names
  395.  
  396. day      "<gb4839><gb3858><gb4053>";\
  397.          "<gb4839><gb3858><gb5027>";\
  398.          "<gb4839><gb3858><gb2294>";\
  399.          "<gb4839><gb3858><gb4093>";\
  400.          "<gb4839><gb3858><gb4336>";\
  401.          "<gb4839><gb3858><gb4669>";\
  402.          "<gb4839><gb3858><gb3389>"
  403.  
  404. # Twelve months in one year in Chinese Locale
  405.  
  406. abmon    "<space><one><gb5234>";"<space><two><gb5234>";\
  407.          "<space><three><gb5234>";"<space><four><gb5234>";\
  408.          "<space><five><gb5234>";"<space><six><gb5234>";\
  409.          "<space><seven><gb5234>";"<space><eight><gb5234>";\
  410.          "<space><nine><gb5234>";"<one><zero><gb5234>";\
  411.          "<one><one><gb5234>";"<one><two><gb5234>"
  412.  
  413. mon      "<gb5027><gb5234>";"<gb2294><gb5234>";\
  414.          "<gb4093><gb5234>";"<gb4336><gb5234>";\
  415.          "<gb4669><gb5234>";"<gb3389><gb5234>";\
  416.          "<gb3863><gb5234>";"<gb1643><gb5234>";\
  417.          "<gb3037><gb5234>";"<gb4214><gb5234>";\
  418.          "<gb4214><gb5027><gb5234>";"<gb4214><gb2294><gb5234>"
  419.  
  420. # Equivalent of AM/PM
  421. #
  422.  
  423. am_pm    "<gb4147><gb4671>";"<gb4734><gb4671>"
  424.  
  425. # Era representation:
  426. #  -:1:-0001/12/31:-*:<gb2511><gb5210><gb3916>:%N%o<gb3674>
  427. #  +:1:0000/01/01:0000/12/31:<gb2511><gb5210>:%N<gb5210><gb3674>
  428. #  +:1:0001/01/01:+*:<gb2511><gb5210>:%N%o<gb3674>
  429.  
  430. era      "<plus-sign><colon><one><colon><zero><zero><zero><one><slash>\
  431. <zero><one><slash><zero><one><colon><plus-sign><asterisk>\
  432. <colon><gb2511><gb5210><colon><percent-sign><E><C><percent-sign><E><y>\
  433. <gb3674>;\
  434. <plus-sign><colon><one><colon><zero><zero><zero><zero><slash>\
  435. <zero><one><slash><zero><one><colon><zero><zero><zero>\
  436. <zero><slash><one><two><slash><three><one><colon>\
  437. <gb2511><gb5210><colon><percent-sign><E><C><gb5210>\
  438. <gb3674>;\
  439. <hyphen><colon><one><colon><hyphen><zero><zero><zero><one>\
  440. <slash><one><two><slash><three><one><colon>\
  441. <hyphen><asterisk><colon><gb2511><gb5210>\
  442. <gb3916><colon><percent-sign><E><C><percent-sign><E><y>\
  443. <gb3674>"
  444.  
  445. # Appropriate date and time representation
  446. #     Expected output:
  447. #        93 YEAR 7 MONTH 10 DAY Thursday 12 HOUR 30 MINUTE 12 SECOND
  448. #     POSIX representation:
  449. #        95/11/25m<gb5234>%d<gb4053>@(#) 89 1.1@(#)H<gb4217>%M<gb2354>%S<gb3575>
  450. #
  451.  
  452. d_t_fmt  "<percent-sign><E><Y><percent-sign><m><gb5234><percent-sign>\
  453. <d><gb4053>  <percent-sign><A>  <percent-sign><H><gb4217>\
  454. <percent-sign><M><gb2354><percent-sign><S><gb3575>"
  455.  
  456.  
  457. # Appropriate time representation
  458. #       %H<gb4217>%M<gb2354>%S<gb3575>
  459. #
  460.  
  461. t_fmt    "<percent-sign><H><colon><percent-sign><M><colon><percent-sign><S>"
  462.  
  463. # Approriate date representation
  464. #       %y<gb3674>%m<gb5234>%d<gb4053>
  465. #
  466.  
  467. d_fmt    "<percent-sign><y><gb3674><percent-sign><m><gb5234>\
  468. <percent-sign><d><gb4053>"
  469.  
  470. # Alternate symbols for digits
  471. #
  472.  
  473. #alt_digits "<gb3367>";"<gb5027>";"<gb2294>";"<gb4093>";"<gb4336>";\
  474. #           "<gb4669>";"<gb3389>";"<gb3863>";"<gb1643>";"<gb3037>"
  475.  
  476. END LC_TIME
  477.  
  478.  
  479.  
  480.