home *** CD-ROM | disk | FTP | other *** search
/ Chip 2007 January, February, March & April / Chip-Cover-CD-2007-02.iso / boot / i386 / root / usr / share / X11 / locale / zh_CN.gbk / XLC_LOCALE < prev   
Text File  |  2006-11-29  |  1KB  |  72 lines

  1. #  X11R6 L10N for Chinese GBK Encoding.
  2. #     modified from xc/nls/XLC_LOCALE/zh_TW.Big5
  3. #     by Sean Chen <seanc@turbolinux.com>
  4. # $XFree86$
  5.  
  6. #     XLC_FONTSET category
  7. XLC_FONTSET
  8. #        fs0 class (7 bit ASCII)
  9. fs0     {
  10.         charset {
  11.                 name    ISO8859-1:GL
  12.         }
  13.         font    {
  14.                 primary         ISO8859-1:GL
  15.                 vertical_rotate all
  16.         }
  17. }
  18. #        fs1 class
  19. fs1     {
  20.         charset {
  21.                 name    GBK-0:GLGR
  22.         }
  23.         font    {
  24.                 primary GBK-0:GLGR
  25.                 substitute GB13000.1993-1:GLGR
  26.         }
  27. }
  28. END XLC_FONTSET
  29.  
  30. #     XLC_XLOCALE category
  31. XLC_XLOCALE
  32.  
  33. encoding_name        zh_CN.GBK
  34. mb_cur_max        2
  35. state_depend_encoding    False
  36.  
  37. wc_encoding_mask    \x00008000
  38. wc_shift_bits        8
  39.  
  40. use_stdc_env        True
  41. force_convert_to_mb    True
  42.  
  43. #     cs0 class
  44. cs0    {
  45.     side        GL:Default
  46.     length        1
  47.     wc_encoding    \x00000000
  48.     ct_encoding    ISO8859-1:GL
  49. }
  50.  
  51. #     cs1 class
  52. cs1    {
  53.     side        none
  54.     length        2
  55.     byte1        \x81,\xfe
  56.     byte2        \x40,\x7e;\x80,\xfe
  57.  
  58.     wc_encoding    \x00008000
  59.     ct_encoding    GBK-0:GLGR:\x1b\x25\x2f\x32
  60.  
  61.     mb_conversion    [\x8140,\xfefe]->\x0140
  62.     ct_conversion    [\x0140,\x7efe]->\x8140
  63. }
  64.  
  65. END XLC_XLOCALE
  66.