comment_char % escape_char / % % Chinese language locale for Peoples Republic of China % Source: RAP and GB2312-1980 % The work is based on Keld Simonsen's locale definition % file for zh_CN revision 4.3 and ja_JP revision 2.2 % % Contact: ha_shao % Email: hashao@china.com % Language: zh % Territory: CN % Revision: 1.0 % Date: 1999-04-28 % Users: general % Repertoiremap: mnemonic,ds % Charset: GB_2312-80 % Distribution and use is free, also % for commercial purposes. LC_CTYPE % The following is the GB2312-1980 Locale LC_CTYPE. % "alpha" is by default "upper" and "lower" % "alnum" is by definiton "alpha" and "digit" % "print" is by default "alnum", "punct" and the character % "graph" is by default "alnum" and "punct" % % % upper class: % alphabets in portable character set, % Roman letters in GB2312-1980, % Greek letters in GB2312-1980, % Russian letters in GB2312-1980. upper ;;;;;;;;;;;;;/ ;;

;;;;;;;;;;;/ ....;/ ....;/ .... % % alpha class (default): % It includes, by default, all the characters defined to be in % upper or lower classes. % % % digit class % digit ;;;;;/ ;;;; % % space class: % Space characters defined in ISO DIS 9945-2 "POSIX" locale % Space in GB2312-1980 % space ;;;;/ ;;/ % % cntrl class: C0 and C1 control characters as per ISO 6429. % SS2 and SS3 may be excluded if an acompanying charmap uses them % as single shifts to invoke graphic characters (as in EUC). % Control characters in udc or vdc may be added. % cntrl ;;;;;/ ;;/ ;;;;;;;;/ ;;;;;;;;/ ;;;;;;;;/ ;;/ ;;;;;;;;;;/ ;;;;;;/ ;;;;;;;;/ ;;;;;;;; % % punct class: % Special characters in udc or vdc may be added as long as they % do not belong to classes cntrl, alpha, digit. % punct ;;;/ ;;;;/ ;;;/ ;;;;;/ ;;;;/ ;;;/ ;;;/ ;;;/ ;;;;/ ....;/ ....;/ ;;;; % % graph class: % upper, lower, alpha, digit, xdigit % GB2312-1980 printable characters % Printable characters in udc or vdc classes may be added. graph ;;;/ ;;;;/ ;;;/ ;;;;;/ ;;;;;/ ;;;;;/ ;;;;/ ;;/ ;/ ;;;;;;;;;;;;;/ ;;

;;;;;;;;;;;/ ;;;/ ;;/ ;/ ;;;;;;;;;;;;;/ ;;

;;;;;;;;;;;/ ;;;;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ .... % % print class: % , , % upper, lower, alpha, digit, xdigit % GB2312-1980 printable characters print ;/ ;;;/ ;;;;/ ;;;/ ;;;;;/ ;;;;;/ ;;;;;/ ;;;;/ ;;/ ;/ ;;;;;;;;;;;;;/ ;;

;;;;;;;;;;;/ ;;;/ ;;/ ;/ ;;;;;;;;;;;;;/ ;;

;;;;;;;;;;;/ ;;;;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ ....;/ .... % % xdigit class % xdigit ;;;;;/ ;;;;;/ ;;;;;;/ ;;;;; % % blank class % blank ; % % toupper and tolower: also handle Roman, Greek and Russian % characters in GB3212-1980 toupper (,);(,);(,);(,);(,);/ (,);(,);(,);(,);(,);/ (,);(,);(,);(,);(,);/ (

,

);(,);(,);(,);(,);/ (,);(,);(,);(,);(,);/ (,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,) tolower (,);(,);(,);(,);(,);/ (,);(,);(,);(,);(,);/ (,);(,);(,);(,);(,);/ (

,

);(,);(,);(,);(,);/ (,);(,);(,);(,);(,);/ (,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,);/ (,);(,);(,) END LC_CTYPE LC_COLLATE order_start forward

% % GB2312-1980 Code order here % pinyin first, radical second % bad sorting here. ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... UNDEFINED order_end END LC_COLLATE % The following is Keld Simonsen's work. % I guess no need to add anything. LC_MONETARY int_curr_symbol "" currency_symbol "" mon_decimal_point "<.>" mon_thousands_sep "<,>" mon_grouping 3;0 positive_sign "" negative_sign "<->" int_frac_digits 2 frac_digits 2 p_cs_precedes 1 p_sep_by_space 0 n_cs_precedes 1 n_sep_by_space 0 p_sign_posn 1 n_sign_posn 4 END LC_MONETARY LC_NUMERIC decimal_point "<.>" thousands_sep "<,>" grouping 3;0 END LC_NUMERIC LC_TIME abday "","";"";"";/ "";"";"" day "";/ "";/ "";/ "";/ "";/ "";/ "" abmon "<1>";/ "<2>";/ "<3>";/ "<4>";/ "<5>";/ "<6>";/ "<7>";/ "<8>";/ "<9>";/ "<1><0>";/ "<1><1>";/ "<1><2>" mon "";/ "";/ "";/ "";/ "";/ "";/ "";/ "";/ "";/ "";/ "";/ "" d_t_fmt "<%><%><%><%><%><%><%>" d_fmt "<%><-><%><-><%>" t_fmt "<%>" am_pm "";"" t_fmt_ampm "" END LC_TIME LC_MESSAGES yesexpr "<<(><1><)/>><.><*>" noexpr "<<(><0><)/>><.><*>" END LC_MESSAGES

;;;;;;;;;;;/ ....;/ ....;/ .... % % lower class: % Alphabets in portable character set, % Roman letters in GB2312-1980, % Greek letters in GB2312-1980, % Russian letters in GB2312-1980. lower ;;;;;;;;;;;;;/ ;;