OSF1.lcx 33 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563
  1. !
  2. ! *****************************************************************
  3. ! * *
  4. ! * Copyright (c) Digital Equipment Corporation, 1991, 1995 *
  5. ! * *
  6. ! * All Rights Reserved. Unpublished rights reserved under *
  7. ! * the copyright laws of the United States. *
  8. ! * *
  9. ! * The software contained on this media is proprietary to *
  10. ! * and embodies the confidential technology of Digital *
  11. ! * Equipment Corporation. Possession, use, duplication or *
  12. ! * dissemination of the software and media is authorized only *
  13. ! * pursuant to a valid written license from Digital Equipment *
  14. ! * Corporation. *
  15. ! * *
  16. ! * *
  17. ! * THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS *
  18. ! * OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE *
  19. ! * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A *
  20. ! * PARTICULAR PURPOSE. *
  21. ! * *
  22. ! * *
  23. ! * RESTRICTED RIGHTS LEGEND Use, duplication, or disclosure *
  24. ! * by the U.S. Government is subject to restrictions as set *
  25. ! * forth in Subparagraph (c)(1)(ii) of DFARS 252.227-7013, *
  26. ! * or in FAR 52.227-19, as applicable. *
  27. ! * *
  28. ! *****************************************************************
  29. !
  30. !
  31. ! HISTORY
  32. !
  33. ! @(#)$XConsortium: OSF1.lcx /main/4 1996/10/28 13:57:14 drk $
  34. !
  35. !!!!!!!!!!!!!! OSF1 Locale-Related Translations !!!!!!!!!!!!!!
  36. ! File: OSF1.lcx
  37. ! Default location: /usr/dt/config/svc/OSF1.lcx
  38. ! Purpose:
  39. ! Define the OSF1-specific set of locale-related translations.
  40. ! Description:
  41. ! This file contains the set of all locale-related translations
  42. ! that can occur during _DtLcxXlateOpToStd() and _DtLcxStdToOp()
  43. ! calls on OSF1 platforms. Note that platform-specific tables may
  44. ! include more than one translation to and from CDE standard
  45. ! strings if they can be distinguished by version, operation, or
  46. ! pattern matching.
  47. !
  48. ! It is important that additional CDE standard strings only
  49. ! be created by the CDE owner of the _DtLcx translation service
  50. ! and NOT be created by an individual vendor or user. This be because
  51. ! the purpose of adopting a set of CDE standard strings is to
  52. ! support interoperability across platforms. If individual vendors
  53. ! add their own "standard" strings and these strings are not
  54. ! known on other platforms, then the goal of interoperability
  55. ! will be defeated.
  56. !
  57. ! If you feel that a new CDE standard string is needed,
  58. ! contact your CDE representative/vendor with a specific
  59. ! proposal and justification and have them forward it to
  60. ! the owner of the CDE _DtLcx service.
  61. !
  62. ! Note that it is allowed for vendors and users to add new
  63. ! operations for which translations are specified and which
  64. ! utilize the standard strings. If the operations are of
  65. ! general utility, please bring them to the attention of
  66. ! your CDE representative/vendor for forwarding to the
  67. ! _DtLcx owner.
  68. ! Invoked by:
  69. ! This table is used by the _DtLcx translation service
  70. ! Product: @(#)Cde1
  71. ! Revision: $XConsortium: OSF1.lcx /main/4 1996/10/28 13:57:14 drk $
  72. ! Defects:
  73. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  74. !!!!!!!!!!!!!!!! translation specification syntax !!!!!!!!!!!!!!!!!!!
  75. ! Introductory fields:
  76. ! ====================
  77. ! The _DtLcx translation specifications have a fixed number of
  78. ! introductory fields followed by a several standard value
  79. ! fields and the operation-specific value.
  80. ! The introductory fields are:
  81. ! <platform>.<version range>.<operation(s)>.<kind>
  82. !
  83. ! Platform generally is the same string as uname(1) -s.
  84. ! Version range utilizes normalized version numbers that
  85. ! are acquired using the 'version' translations.
  86. ! Operations are one or more comma-separated strings that
  87. ! uniquely identify the operation associated with the
  88. ! operation-specific value. This string is specified
  89. ! as part of the request for a translation.
  90. !
  91. ! Kinds of translations allow the mechanism to support several modes
  92. ! of operation, each useful for different purposes. When
  93. ! reading or writing a specification, pay particular attention
  94. ! to the kind of specification, as this guides the usage of it.
  95. !
  96. ! Specification kinds:
  97. ! .=. means a valid bi-directional translation requiring the op-value
  98. ! in the translation specification to exactly match the op-value of
  99. ! the call to _DtLcxXlateOpToStd(), e.g. foo matches only foo
  100. ! .~. means a valid bi-directional translation requiring the op-value
  101. ! in the translation specification to match the beginning of the
  102. ! op-value of the call to _DtLcxXlateOpToStd(), e.g. foo matches
  103. ! foo@bar. This is often useful, e.g. for operation-specific
  104. ! locale strings that may also contain modifier suffixes.
  105. ! .>. means only from standard to op-specific (generally a
  106. ! compatibility translation, meaning on op-specific value
  107. ! that will work for the standard, although that is not
  108. ! the straight mapping)
  109. ! .<. means only from op-specific to standard (generally a
  110. ! regex in the op-value which is used to map a class of
  111. ! op values to a standard value)
  112. ! .0. means that translation is not supported and if a translation
  113. ! request matches the specification, the request will fail.
  114. !
  115. ! Standard values:
  116. ! ================
  117. ! _DtLcx defines the order of the standard values in the
  118. ! translations it utilizes. All translation specifications
  119. ! must adhere to this order.
  120. ! <std lang_terr>.<std codeset>.<std modifier>
  121. ! In CDE 1.0, no modifiers are standard and that
  122. ! portion of the table is unspecified. This means
  123. ! that no CDE standard modifiers are available across
  124. ! platforms. Operations that use only the <std codeset>
  125. ! should specify the wildcard character ("?") for the
  126. ! <std lang_terr> value.
  127. !
  128. ! Operation-specific value:
  129. ! =========================
  130. ! The operation-specific value is a string that is used
  131. ! according to the kind of translation. The syntax is
  132. ! : <op-string>
  133. ! or : "<op-string>", if it contains white space
  134. !
  135. ! Filling in the table of translations:
  136. ! =====================================
  137. ! The person preparing the translation table should know
  138. ! the minimum version of the target platform that is
  139. ! be supported. For example, assume that we must
  140. ! complete the table for all versions 9.00 and higher.
  141. !
  142. ! The objective is then to provide two sets of translations:
  143. ! a full set of translations from CDE standard locales to
  144. ! valid platform locales, and a full set of translations
  145. ! from valid platform locales to some or all CDE standard
  146. ! locales.
  147. !
  148. ! Translations from CDE standard locales to valid platform
  149. ! locales must use the .~. .=. or .>. mappings. When there
  150. ! is a 1:1 mapping between a CDE locale and a platform locale,
  151. ! use the .~. or .=. mapping. See the comment below to
  152. ! decide which to use. When there is no 1:1 mapping between
  153. ! CDE locale and platform locale, use the .>. mapping. This
  154. ! provides a valid translation from the CDE locale to the
  155. ! best-suitable platform locale, but never translates from
  156. ! that platform locale to the CDE locale.
  157. !
  158. ! Translations from every platform locale to the appropriate
  159. ! CDE locale must use the .~. .=. or .<. mappings.
  160. ! When there is a 1:1 mapping between a platform locale and
  161. ! a CDE standard locale, use the .~. or .=. mapping. See the
  162. ! comment below to decide which to use. If there is a 1:1
  163. ! mapping, but the platform locale pattern uses a regular
  164. ! expression, or if more than one platform locale can
  165. ! be translated to one CDE standard locale, the .<. mapping must
  166. ! be used.
  167. !
  168. ! If no appropriate CDE standard locale can be found, you have
  169. ! identified the need for a new CDE standard locale. Refer to
  170. ! the instructions at the head of this file for how to go about
  171. ! registering a new CDE standard locale. You should not create
  172. ! a new "standard" locale (the left hand side of the translation
  173. ! specification) without registering it with CDE, because this
  174. ! will hinder the free exchange of information across locales
  175. ! and platforms.
  176. !
  177. ! The .=. and .~. mappings are similar. The difference is
  178. ! that the .=. mapping requires an exact string match between
  179. ! the platform locale and the string provided to the
  180. ! translation routine. Generally speaking, this mapping
  181. ! is risky unless exact matchings can be guaranteed in
  182. ! all DtLcx clients for the particular operation in question.
  183. ! The .~. mapping is to be preferred, but the .=. translation
  184. ! is useful in limited situations, where similar strings may
  185. ! occur.
  186. !
  187. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  188. ! define this resource to dump debug/test info
  189. !*debugDtXlate: True
  190. !!!!!!!!!!!!!!!! OSF1 Version Identificaton !!!!!!!!!!!!!!!!!
  191. ! These translations are used by the _DtXlateGetXlateEnv()
  192. ! call to determine the version number to use.
  193. !
  194. ! To understand the translation, realize that the
  195. ! operation-specific regexp(5) pattern on the right
  196. ! hand side is matched against the strings returned
  197. ! by uname(2). The best match determines the "normalized"
  198. ! version number of the platform, which should range from
  199. ! 001 and up. By convention, major release numbers
  200. ! map to centuries and minor release numbers to within
  201. ! the century.
  202. !
  203. ! To determine the string that the regular expression on the
  204. ! right hand side is matching against, use uname(1) and run
  205. ! 'uname -r' and 'uname -v' and note the strings. During execution,
  206. ! the strings returned by this command are retrieved and
  207. ! concatenated "rv"--in that order, no extra spaces.
  208. ! This is the string that the pattern must match.
  209. !
  210. ! Sometimes this string may not be intuitive. For example,
  211. ! note that AIX 3.2 returns 2 for 'uname -r' and 3 for 'uname -v'.
  212. ! So the pattern string must be 23, not 32. Do not go by
  213. ! the order of 'uname -rv' or 'uname -vr', as that is not used.
  214. !!!
  215. ! Define string for OSF/1 Platinum
  216. OSF1.?.version.<.400: "[A-Z]4\\..*"
  217. ! Define string for OSF/1 Gold minor
  218. OSF1.?.version.<.320: "[A-Z]3\\.2.*" !! any OSF/1 GM version
  219. ! Define string for OSF/1 Gold
  220. OSF1.?.version.<.300: "[A-Z]3\\..*"
  221. !!!!!!!!!!!!!!!! OSF1-specific setlocale translations !!!!!!!!!!!!!!!!!!!
  222. ! These translations are for the string returned by the
  223. ! getlocale() or setlocale(LC_xxx,NULL) operations, but not
  224. ! setlocale(LC_ALL,NULL) operation.
  225. !
  226. ! It provides translations from OSF1 operation-specific
  227. ! to CDE standard strings and back again.
  228. !
  229. ! Some language,territory combinations have the following comments:
  230. ! (1) These ISO territory names may be subject to change
  231. ! However, their CDE names will continue to be supported
  232. ! (2) No ISO "territory" name exists for the Arabic-speaking regions of the
  233. ! world as a whole. Vendors have sometimes supplied their own.
  234. ! Those names, when conformant to the ISO model, will be adopted for CDE.
  235. !
  236. !Platform Operation Lang_Terr Op-Value Language,Territory Who has
  237. !--- --------- ----- -------- ------------------ -------
  238. ! Version Kind Codeset
  239. ! ---- - ---------
  240. ! setlocales Compliance
  241. OSF1.400+.setlocale.~.C.ISO-8859-1: C ! setlocales compliance ,IBM, HP, Sun , USL
  242. OSF1.400+.setlocale.~.POSIX.ISO-8859-1: POSIX ! setlocales compliance ,IBM, HP, Sun , USL
  243. ! W European/Americas, Latin 1 codeset
  244. OSF1.400+.setlocale.~.da_DK.ISO-8859-1: da_DK.ISO8859-1 ! Danish, Denmark XoJIG,IBM, HP, , USL ("da")
  245. OSF1.400+.setlocale.>.de_AT.ISO-8859-1: de_DE.ISO8859-1 ! German,Austria XoJIG, , , , USL
  246. OSF1.400+.setlocale.~.de_CH.ISO-8859-1: de_CH.ISO8859-1 ! German,Switzerland XoJIG,IBM, , , USL
  247. OSF1.400+.setlocale.~.de_DE.ISO-8859-1: de_DE.ISO8859-1 ! German, Germany XoJIG,IBM, HP, Sun ("de"), USL ("de")
  248. OSF1.400+.setlocale.>.en_AU.ISO-8859-1: en_GB.ISO8859-1 ! English,Australia , , , , USL
  249. OSF1.400+.setlocale.>.en_CA.ISO-8859-1: en_US.ISO8859-1 ! English,Canada XoJIG, , , , USL
  250. OSF1.400+.setlocale.>.en_DK.ISO-8859-1: en_GB.ISO8859-1 ! English, Denmark XoJIG, , , , USL
  251. OSF1.400+.setlocale.~.en_GB.ISO-8859-1: en_GB.ISO8859-1 ! English, U.K. XoJIG,IBM, HP, , USL ("en")
  252. OSF1.400+.setlocale.>.en_JP.ISO-8859-1: en_US.ISO8859-1 ! English, Japan XoJIG,IBM, , ,
  253. OSF1.400+.setlocale.>.en_IE.ISO-8859-1: en_GB.ISO8859-1 ! English, Ireland XoJIG, , , , USL
  254. OSF1.400+.setlocale.>.en_MY.ISO-8859-1: en_US.ISO8859-1 ! English,Malaysia , , , , USL
  255. OSF1.400+.setlocale.>.en_NZ.ISO-8859-1: en_GB.ISO8859-1 ! English,New Zealand , , , , USL
  256. OSF1.400+.setlocale.>.en_KR.ISO-8859-1: en_US.ISO8859-1 ! English,Korea , , , , USL
  257. OSF1.400+.setlocale.>.en_TW.ISO-8859-1: en_US.ISO8859-1 ! English,Taiwan , , , , USL
  258. OSF1.400+.setlocale.~.en_US.ISO-8859-1: en_US.ISO8859-1 ! English, USA XoJIG,IBM, HP, Sun , USL
  259. OSF1.400+.setlocale.>.es_AR.ISO-8859-1: es_ES.ISO8859-1 ! Spanish, Argentina , , , Sun , USL
  260. OSF1.400+.setlocale.>.es_BO.ISO-8859-1: es_ES.ISO8859-1 ! Spanish, Bolivia , , , Sun
  261. OSF1.400+.setlocale.>.es_CL.ISO-8859-1: es_ES.ISO8859-1 ! Spanish, Chile , , , Sun , USL
  262. OSF1.400+.setlocale.>.es_CO.ISO-8859-1: es_ES.ISO8859-1 ! Spanish, Columbia , , , Sun
  263. OSF1.400+.setlocale.>.es_CR.ISO-8859-1: es_ES.ISO8859-1 ! Spanish, Costa Rica , , , Sun
  264. OSF1.400+.setlocale.>.es_EC.ISO-8859-1: es_ES.ISO8859-1 ! Spanish, Ecuador , , , Sun
  265. OSF1.400+.setlocale.~.es_ES.ISO-8859-1: es_ES.ISO8859-1 ! Spanish, Spain XoJIG,IBM, HP, Sun , USL
  266. OSF1.400+.setlocale.~.ca_ES.ISO-8859-1: ca_ES.ISO8859-1 ! Catalan, Spain XoJIG,IBM, HP, Sun , USL, DEC
  267. OSF1.400+.setlocale.>.es_GT.ISO-8859-1: es_ES.ISO8859-1 ! Spanish, Guatemala , , , Sun
  268. OSF1.400+.setlocale.>.es_MX.ISO-8859-1: es_ES.ISO8859-1 ! Spanish, Mexico , , , Sun , USL
  269. OSF1.400+.setlocale.>.es_PE.ISO-8859-1: es_ES.ISO8859-1 ! Spanish, Peru , , , Sun
  270. OSF1.400+.setlocale.>.es_UY.ISO-8859-1: es_ES.ISO8859-1 ! Spanish, Uruguay , , , Sun
  271. OSF1.400+.setlocale.>.es_VE.ISO-8859-1: es_ES.ISO8859-1 ! Spanish, Venezuela , , , Sun , USL
  272. ! OSF1.400+.setlocale.>.et_EE.ISO-8859-1: ! Estonian, Estonia XoJIG,
  273. OSF1.400+.setlocale.~.fi_FI.ISO-8859-1: fi_FI.ISO8859-1 ! Finnish, Finland XoJIG,IBM, HP, , USL ("fi")
  274. ! OSF1.400+.setlocale.>.fo_FO.ISO-8859-1: ! Faroese, Faeroe Island XoJIG,
  275. OSF1.400+.setlocale.~.fr_BE.ISO-8859-1: fr_BE.ISO8859-1 ! French,Belgium XoJIG, , , , USL
  276. OSF1.400+.setlocale.~.fr_CA.ISO-8859-1: fr_CA.ISO8859-1 ! French, Canada XoJIG,IBM, HP, , USL
  277. OSF1.400+.setlocale.~.fr_CH.ISO-8859-1: fr_CH.ISO8859-1 ! French, Switzerland XoJIG,IBM, , , USL
  278. OSF1.400+.setlocale.~.fr_FR.ISO-8859-1: fr_FR.ISO8859-1 ! French, France XoJIG,IBM, HP, Sun ("fr"), USL ("fr")
  279. OSF1.400+.setlocale.~.is_IS.ISO-8859-1: is_IS.ISO8859-1 ! Icelandic, Iceland XoJIG,IBM, HP, , USL ("is")
  280. OSF1.400+.setlocale.>.it_CH.ISO-8859-1: it_IT.ISO8859-1 ! Italian,Switzerland , , , , USL
  281. OSF1.400+.setlocale.~.it_IT.ISO-8859-1: it_IT.ISO8859-1 ! Italian, Italy XoJIG,IBM, HP, Sun ("it"), USL ("it")
  282. ! OSF1.400+.setlocale.>.kl_GL.ISO-8859-1: ! Greenlandic, Greenland XoJIG,
  283. ! OSF1.400+.setlocale.>.lt_LT.ISO-8859-1: ! Lithuanian, Lithuania XoJIG,
  284. ! OSF1.400+.setlocale.>.lv_LV.ISO-8859-1: ! Latvian, Latvia XoJIG,
  285. OSF1.400+.setlocale.~.nl_BE.ISO-8859-1: nl_BE.ISO8859-1 ! Dutch, Belgium XoJIG,IBM, , , USL
  286. OSF1.400+.setlocale.~.nl_NL.ISO-8859-1: nl_NL.ISO8859-1 ! Dutch, The Netherlands XoJIG,IBM, HP, , USL ("nl")
  287. OSF1.400+.setlocale.~.no_NO.ISO-8859-1: no_NO.ISO8859-1 ! Norwegian, Norway XoJIG,IBM, HP, , USL ("no")
  288. OSF1.400+.setlocale.>.pt_BR.ISO-8859-1: pt_PT.ISO8859-1 ! Portuguese,Brazil , , , , USL
  289. OSF1.400+.setlocale.~.pt_PT.ISO-8859-1: pt_PT.ISO8859-1 ! Portuguese, Portugal XoJIG,IBM, HP, , USL
  290. OSF1.400+.setlocale.>.sv_FI.ISO-8859-1: sv_SE.ISO8859-1 ! Swedish, Finland XoJIG,
  291. OSF1.400+.setlocale.~.sv_SE.ISO-8859-1: sv_SE.ISO8859-1 ! Swedish, Sweden XoJIG,IBM, HP, Sun ("sv"), USL ("sv")
  292. ! E European
  293. OSF1.400+.setlocale.~.cs_CS.ISO-8859-2: cs_CZ.ISO8859-2 ! Czech(1) ,IBM, HP
  294. ! OSF1.400+.setlocale.>.hr_HR.ISO-8859-2: ! Croatian, Croatia ,IBM
  295. OSF1.400+.setlocale.~.hu_HU.ISO-8859-2: hu_HU.ISO8859-2 ! Hungarian, Hungry XoJIG,IBM, HP
  296. OSF1.400+.setlocale.~.pl_PL.ISO-8859-2: pl_PL.ISO8859-2 ! Polish, Poland XoJIG,IBM, HP
  297. ! OSF1.400+.setlocale.>.ro_RO.ISO-8859-2: ! Rumanian, Romania XoJIG,IBM, HP
  298. ! OSF1.400+.setlocale.>.sh_YU.ISO-8859-2: ! Serbocroatian, Yugoslavia(1) ,IBM, HP
  299. OSF1.400+.setlocale.>.sl_CS.ISO-8859-2: sl_SI.ISO8859-2 ! Slovenian , , HP, , , DEC
  300. OSF1.400+.setlocale.~.si_SI.ISO-8859-2: sl_SI.ISO8859-2 ! Slovenian ,IBM, , , , DEC
  301. OSF1.400+.setlocale.~.sk_SK.ISO-8859-2: sk_SK.ISO8859-2 ! Slovak ,IBM
  302. ! N European
  303. OSF1.400+.setlocale.~.lt_LT.ISO-8859-4: lt_LT.ISO8859-4 ! Lithuanian, Lithuania , , , , , DEC
  304. ! Cyrillic
  305. ! OSF1.400+.setlocale.>.bg_BG.ISO-8859-5: ! Bulgarian, Bulgaria ,IBM, HP
  306. ! OSF1.400+.setlocale.>.mk_MK.ISO-8859-5: ! Macedonian ,IBM
  307. OSF1.400+.setlocale.~.ru_RU.ISO-8859-5: ru_RU.ISO8859-5 ! Russian(1) ,IBM,
  308. OSF1.400+.setlocale.>.ru_SU.ISO-8859-5: ru_RU.ISO8859-5 ! Russian(1) , , HP
  309. ! OSF1.400+.setlocale.>.sp_YU.ISO-8859-5: ! Serbian,Yugoslavia(1) ,IBM
  310. ! Arabic
  311. ! OSF1.400+.setlocale.>.ar_DZ.ISO-8859-6: ! Arabic(2) , , HP
  312. ! OSF1.400+.setlocale.>.ar_SA.ISO-8859-6: ! Arabic(2) ,IBM, HP
  313. ! Hebrew
  314. OSF1.400+.setlocale.~.iw_IL.ISO-8859-8: iw_IL.ISO8859-8 ! Hebrew, Israel ,IBM, HP
  315. ! Greek
  316. OSF1.400+.setlocale.~.el_GR.ISO-8859-7: el_GR.ISO8859-7 ! Greek, Greece ,IBM, HP
  317. ! Turkish
  318. OSF1.400+.setlocale.~.tr_TR.ISO-8859-9: tr_TR.ISO8859-9 ! Turkish, Turkey ,IBM, HP
  319. ! East Asia
  320. OSF1.400+.setlocale.~.ja_JP.EUC-JP: ja_JP ! Japanese, Japan ,IBM, HP, Sun ("ja"), USL
  321. OSF1.400+.setlocale.~.ja_JP.IBM-932: ja_JP.SJIS ! Japanese, Japan ,IBM
  322. OSF1.400+.setlocale.>.ja_JP.HP-SJIS: ja_JP.SJIS ! Japanese, Japan aka japanese 15 , , HP,
  323. OSF1.400+.setlocale.~.ja_JP.DEC-KANJI: ja_JP.deckanji ! Japanese, Japan , , , , , DEC
  324. OSF1.400+.setlocale.~.ja_JP.DEC-SKANJI: ja_JP.sdeckanji ! Japanese, Japan , , , , , DEC
  325. OSF1.400+.setlocale.~.ko_KR.EUC-KR: ko_KR ! Korean, Korea , , , , , DEC
  326. OSF1.400+.setlocale.~.zh_CN.EUC-CN: zh_CN ! Chinese, China ,IBM, , Sun ("zh"), USL
  327. OSF1.400+.setlocale.>.zh_CN.HP-15CN: zh_CN ! Chinese, China , , HP
  328. OSF1.400+.setlocale.~.zh_TW.DEC-HANYU: zh_TW ! Chinese, Taiwan , , , , , DEC
  329. OSF1.400+.setlocale.~.zh_TW.DEC-BIG5: zh_TW.big5 ! Chinese, Taiwan , , , , , DEC
  330. OSF1.400+.setlocale.~.zh_TW.EUC-TW: zh_TW.eucTW ! Chinese, Taiwan ,IBM, HP, Sun , USL
  331. OSF1.400+.setlocale.~.zh_HK.EUC-CN: zh_HK.dechanzi ! Chinese, Hong Kong , , , , , DEC
  332. OSF1.400+.setlocale.~.zh_HK.DEC-HANYU: zh_HK.dechanyu ! Chinese, Hong Kong , , , , , DEC
  333. OSF1.400+.setlocale.~.zh_HK.DEC-BIG5: zh_HK.big5 ! Chinese, Hong Kong , , , , , DEC
  334. OSF1.400+.setlocale.~.zh_HK.EUC-TW: zh_HK.eucTW ! Chinese, Hong Kong , , , , , DEC
  335. ! OSF1.400+.setlocale.>.zh_TW.HP-BIG5: ! Chinese, Taiwan , , HP, ,
  336. ! OSF1.400+.setlocale.>.zh_TW.HP-CCDC: ! Chinese, Taiwan , , HP, ,
  337. ! OSF1.400+.setlocale.>.ja_JP.HP-KANA8: ! Japanese, Japan , , HP, ,
  338. ! Thai
  339. OSF1.400+.setlocale.~.th_TH.TIS-620: th_TH ! Thai, Thailand ,IBM, HP
  340. ! codesets supported for iconv(1,3) & nl_langinfo and above
  341. OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.ISO-8859-1: ISO8859-1
  342. OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.ISO-8859-2: ISO8859-2
  343. OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.ISO-8859-4: ISO8859-4
  344. OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.ISO-8859-5: ISO8859-5
  345. OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.ISO-8859-6: ISO8859-6
  346. OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.ISO-8859-7: ISO8859-7
  347. OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.ISO-8859-8: ISO8859-8
  348. OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.ISO-8859-9: ISO8859-9
  349. OSF1.400+.iconv1,iconv3.=.?.EUC-KR: eucKR
  350. OSF1.400+.nl_langinfo(CODESET).=.?.EUC-KR: KSC5601
  351. OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.EUC-JP: eucJP
  352. OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.DEC-KANJI: deckanji
  353. OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.DEC-SKANJI: sdeckanji
  354. OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.EUC-TW: eucTW
  355. OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.DEC-HANYU: dechanyu
  356. OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.DEC-BIG5: big5
  357. OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.EUC-CN: dechanzi
  358. OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).>.?.HP-15CN: dechanzi
  359. OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.IBM-932: SJIS
  360. OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).>.?.HP-SJIS: SJIS
  361. OSF1.400+.iconv1,iconv3,nl_langinfo(CODESET).=.?.TIS-620: TACTIS
  362. ! codesets supported for iconv(1,3) only
  363. OSF1.400+.iconv1,iconv3.=.?.ISO-2022-JP: ISO-2022-JP
  364. OSF1.400+.iconv1,iconv3.=.?.ISO-2022-KR: ISO-2022-KR
  365. ! codesets not supported for either iconv(1,3) or nl_langinfo
  366. ! OSF1.?.iconv1,iconv3.~.?.UCS-2:
  367. ! OSF1.?.iconv1,iconv3.~.?.UTF-8:
  368. ! OSF1.?.iconv1,iconv3.~.?.HP-ARABIC8:
  369. ! OSF1.?.iconv1,iconv3.~.?.HP-GREEK8:
  370. ! OSF1.?.iconv1,iconv3.~.?.HP-HEBREW8
  371. ! OSF1.?.iconv1,iconv3.~.?.HP-ROMAN8:
  372. ! OSF1.?.iconv1,iconv3.~.?.HP-TURKISH8:
  373. ! OSF1.?.iconv1,iconv3.~.?.HP-KANA8:
  374. ! OSF1.?.iconv1,iconv3.~.?.ISO-2022-TW:
  375. ! OSF1.?.iconv1,iconv3.~.?.HP-CCDC:
  376. ! OSF1.?.iconv1,iconv3.~.?.HP-BIG5:
  377. ! OSF1.?.iconv1,iconv3.~.?.ISO-2022-CN:
  378. ! OSF1.?.iconv1,iconv3.~.?.IBM-437:
  379. ! OSF1.?.iconv1,iconv3.~.?.IBM-850:
  380. ! OSF1.?.iconv1,iconv3.~.?.IBM-856:
  381. ! OSF1.?.iconv1,iconv3.~.?.IBM-1046:
  382. ! multibyte codesets
  383. ! This translation provides an alternative to a call to
  384. ! using setlocale() and MB_CUR_MAX to determine this.
  385. OSF1.?.multibyte.=.?.EUC-KR: 3
  386. OSF1.?.multibyte.=.?.HP-SJIS: 2
  387. OSF1.?.multibyte.=.?.IBM-932: 2
  388. OSF1.?.multibyte.=.?.EUC-JP: 3
  389. OSF1.?.multibyte.=.?.DEC-KANJI: 2
  390. OSF1.?.multibyte.=.?.DEC-SKANJI: 3
  391. ! OSF1.?.multibyte.~.?.HP-CCDC: 2
  392. ! OSF1.?.multibyte.~.?.HP-BIG5: 2
  393. OSF1.?.multibyte.=.?.EUC-TW: 4
  394. OSF1.?.multibyte.=.?.DEC-HANYU: 4
  395. OSF1.?.multibyte.=.?.DEC-BIG5: 2
  396. OSF1.?.multibyte.=.?.EUC-CN: 2
  397. OSF1.?.multibyte.=.?.HP-15CN: 2
  398. ! Translations from predefined CCDF-locales to CDE Standard Locales
  399. OSF1.?.ccdf.=.?.HP-ROMAN8: hp-roman8
  400. OSF1.?.ccdf.=.?.ISO-8859-1: ISO8859-1
  401. OSF1.?.ccdf.=.ko_KR.EUC-KR: hp-korean15
  402. OSF1.?.ccdf.=.ko_KR.EUC-KR: eucKR
  403. OSF1.?.ccdf.=.ja_JP.HP-SJIS: hp-japanese15
  404. OSF1.?.ccdf.=.ja_JP.EUC-JP: eucJP
  405. OSF1.?.ccdf.=.?.DT-SYMBOL-1: symbol !!! standard Dt symbol font
  406. ! These CDE standard locales may have CCDF-locales, but they are defined by localizers
  407. ! OSF1.?.ccdf.=.ar_SA.HP-ARABIC8: arabic8
  408. ! OSF1.?.ccdf.=.el_GR.HP-GREEK8: greek8
  409. ! OSF1.?.ccdf.=.iw_IL.HP-HEBREW8: hebrew8
  410. ! OSF1.?.ccdf.=.tr_TR.HP-TURKISH8: turkish8
  411. ! OSF1.?.ccdf.<.ja_JP.HP-SJIS: sjis
  412. ! OSF1.?.ccdf.=.ja_JP.HP-KANA8: kana8
  413. ! OSF1.?.ccdf.<.ja_JP.EUC-JP: ujis
  414. ! OSF1.?.ccdf.=.zh_CN.HP-CCDC: roc15
  415. ! Codesets that require multibyte parsing to avoid confusion with shell special chars
  416. OSF1.?.dtkshSpecialParse.=.ja_JP.HP-JIS: True
  417. OSF1.?.dtkshSpecialParse.=.ja_JP.HP-SJIS: True
  418. OSF1.?.dtkshSpecialParse.=.ja_JP.IBM-932: True
  419. OSF1.?.dtkshSpecialParse.=.zh_TW.HP-BIG5: True
  420. OSF1.?.dtkshSpecialParse.=.zh_TW.HP-CCDC: True
  421. OSF1.?.dtkshSpecialParse.=.zh_TW.EUC-TW: True
  422. OSF1.?.dtkshSpecialParse.=.?.DEC-KANJI: True
  423. OSF1.?.dtkshSpecialParse.=.?.DEC-SKANJI: True
  424. OSF1.?.dtkshSpecialParse.=.?.DEC-HANYU: True
  425. OSF1.?.dtkshSpecialParse.=.?.DEC-BIG5: True
  426. !! When content is exchanged with other platforms, the interchange codeset
  427. !! may be different that the codeset used locally. In CDE1, these translations
  428. !! are used by dtmail, but other clients may use the same translations
  429. !! in the future. For example, to improve interoperability of 8-bit mail,
  430. !! the mail messages of users working in codesets such as HP-ROMAN8 or IBM-850
  431. !! are translated to the interchangeCodeset (in this case, ISO-8859-1) before
  432. !! they are sent. Similarly, the mail of Japanese users is translated to JIS
  433. !! before it is sent.
  434. OSF1.?.interchangeCodeset.~.?.ISO-8859-1: ISO-8859-1 ! ISO Latin 1
  435. ! OSF1.?.interchangeCodeset.>.?.HP-ROMAN8: ISO-8859-1 ! HP Roman8
  436. ! OSF1.?.interchangeCodeset.>.?.IBM-437: ISO-8859-1 ! PC (US)
  437. ! OSF1.?.interchangeCodeset.>.?.IBM-850: ISO-8859-1 ! PC (Multi-lingual)
  438. OSF1.?.interchangeCodeset.~.?.ISO-8859-2: ISO-8859-2 ! ISO Latin 2
  439. OSF1.?.interchangeCodeset.~.?.ISO-8859-4: ISO-8859-4 ! ISO Latin 4
  440. OSF1.?.interchangeCodeset.~.?.ISO-8859-5: ISO-8859-5 ! ISO Latin/Cyrillic
  441. OSF1.?.interchangeCodeset.~.?.ISO-8859-6: ISO-8859-6 ! ISO Latin/Arabic
  442. ! OSF1.?.interchangeCodeset.>.?.HP-ARABIC8: ISO-8859-6 ! HP Arabic8
  443. ! OSF1.?.interchangeCodeset.>.?.IBM-1046: ISO-8859-6 ! PC Arabic Code Set
  444. OSF1.?.interchangeCodeset.~.?.ISO-8859-8: ISO-8859-8 ! ISO Latin/Hebrew
  445. ! OSF1.?.interchangeCodeset.>.?.HP-HEBREW8: ISO-8859-8 ! HP Hebrew8
  446. ! OSF1.?.interchangeCodeset.>.?.IBM-856: ISO-8859-8 ! PC Hebrew
  447. OSF1.?.interchangeCodeset.~.?.ISO-8859-7: ISO-8859-7 ! ISO Latin/Greek
  448. ! OSF1.?.interchangeCodeset.>.?.HP-GREEK8: ISO-8859-7 ! HP Greek8
  449. OSF1.?.interchangeCodeset.~.?.ISO-8859-9: ISO-8859-9 ! ISO Latin 5
  450. ! OSF1.?.interchangeCodeset.>.?.HP-TURKISH8: ISO-8859-9 ! HP Turkish8
  451. OSF1.?.interchangeCodeset.~.?.EUC-JP: ISO-2022-JP ! Japanese EUC
  452. ! OSF1.?.interchangeCodeset.>.?.HP-SJIS: ISO-2022-JP ! HP Japanese Shift JIS
  453. OSF1.?.interchangeCodeset.>.?.IBM-932: ISO-2022-JP ! PC Japanese Shift JIS
  454. ! OSF1.?.interchangeCodeset.>.?.HP-KANA8: ISO-2022-JP ! HP Japanese Katakana8
  455. OSF1.?.interchangeCodeset.~.?.DEC-KANJI: ISO-2022-JP ! Japanese DEC Kanji
  456. OSF1.?.interchangeCodeset.~.?.DEC-SKANJI: ISO-2022-JP ! Japanese Super DEC Kanji
  457. OSF1.?.interchangeCodeset.~.?.EUC-KR: ISO-2022-KR ! Korean EUC
  458. ! comment when ISO-2022-CN is supported by iconv
  459. OSF1.?.interchangeCodeset.~.?.EUC-CN: EUC-CN ! China Chinese EUC
  460. ! OSF1.?.interchangeCodeset.>.?.HP-15CN: EUC-CN ! HP Chinese EUC
  461. ! uncomment when ISO-2022-CN is supported by iconv
  462. ! OSF1.?.interchangeCodeset.~.?.EUC-CN: ISO-2022-CN ! China Chinese EUC
  463. ! ! OSF1.?.interchangeCodeset.>.?.HP-15CN: ISO-2022-CN ! HP Chinese EUC
  464. ! comment when ISO-2022-TW is supported by iconv
  465. OSF1.?.interchangeCodeset.~.?.EUC-TW: EUC-TW ! Taiwan Chinese EUC
  466. OSF1.?.interchangeCodeset.~.?.DEC-HANYU: DEC-HANYU ! Taiwan Chinese DEC Hanyu
  467. OSF1.?.interchangeCodeset.~.?.DEC-BIG5: DEC-BIG5 ! Taiwan Chinese DEC Big5
  468. ! OSF1.?.interchangeCodeset.>.?.HP-BIG5: EUC-TW ! HP Big5 Chinese
  469. ! OSF1.?.interchangeCodeset.>.?.HP-CCDC: EUC-TW ! HP CCDC Chinese
  470. ! uncomment when ISO-2022-TW is supported by iconv
  471. ! OSF1.?.interchangeCodeset.~.?.EUC-TW: ISO-2022-TW ! Taiwan Chinese EUC
  472. ! ! OSF1.?.interchangeCodeset.>.?.HP-BIG5: ISO-2022-TW ! HP Big5 Chinese
  473. ! ! OSF1.?.interchangeCodeset.>.?.HP-CCDC: ISO-2022-TW ! HP CCDC Chinese
  474. OSF1.?.interchangeCodeset.~.?.TIS-620: TIS-620 ! Thai
  475. OSF1.?.interchangeCodeset.>.?.UCS-2: UTF-8 ! Unicode
  476. OSF1.?.interchangeCodeset.~.?.UTF-8: UTF-8 ! multibyte Unicode
  477. !! Codeset identifiers for use with MIME messages. The .~. translations
  478. !! are used by dtmail and adhere to the MIME standard, RFC 1521.
  479. !! Note that the MIME standard states that codeset identifiers are
  480. !! case-insensitive. The operation-specific values on the right-hand-side
  481. !! of the translations below, however, ARE case sensitive. Before
  482. !! doing a OpToStd translation, first convert the MIME codeset identifier
  483. !! to uppercase. Alternatively, one could provide lower-case versions
  484. !! of the translations (right-hand-side only should be in lower-case).
  485. OSF1.?.mime.~.?.ISO-8859-1: ISO-8859-1 ! ISO Latin 1
  486. OSF1.?.mime.~.?.HP-ROMAN8: X-HP-ROMAN8 ! HP Roman8
  487. OSF1.?.mime.~.?.IBM-437: X-IBM-437 ! PC (US)
  488. OSF1.?.mime.~.?.IBM-850: X-IBM-850 ! PC (Multi-lingual)
  489. OSF1.?.mime.~.?.ISO-8859-2: ISO-8859-2 ! ISO Latin 2
  490. OSF1.?.mime.~.?.ISO-8859-4: ISO-8859-4 ! ISO Latin 4
  491. OSF1.?.mime.~.?.ISO-8859-5: ISO-8859-5 ! ISO Latin/Cyrillic
  492. OSF1.?.mime.~.?.ISO-8859-6: ISO-8859-6 ! ISO Latin/Arabic
  493. OSF1.?.mime.~.?.HP-ARABIC8: X-HP-ARABIC8 ! HP Arabic8
  494. OSF1.?.mime.~.?.IBM-1046: X-IBM-1046 ! PC Arabic Code Set
  495. OSF1.?.mime.~.?.ISO-8859-8: ISO-8859-8 ! ISO Latin/Hebrew
  496. OSF1.?.mime.~.?.HP-HEBREW8: X-HP-HEBREW8 ! HP Hebrew8
  497. OSF1.?.mime.~.?.IBM-856: X-IBM-856 ! PC Hebrew
  498. OSF1.?.mime.~.?.ISO-8859-7: ISO-8859-7 ! ISO Latin/Greek
  499. OSF1.?.mime.~.?.HP-GREEK8: X-HP-GREEK8 ! HP Greek8
  500. OSF1.?.mime.~.?.ISO-8859-9: ISO-8859-9 ! ISO Latin 5
  501. OSF1.?.mime.~.?.HP-TURKISH8: X-HP-TURKISH8 ! HP Turkish8
  502. OSF1.?.mime.~.?.EUC-JP: X-EUC-JP ! Japanese EUC
  503. OSF1.?.mime.~.?.ISO-2022-JP: ISO-2022-JP ! Japanese JIS with 7-bit encoding per ISO-2022-JP
  504. OSF1.?.mime.~.?.HP-SJIS: X-HP-SJIS ! HP Japanese Shift JIS
  505. OSF1.?.mime.~.?.IBM-932: X-IBM-932 ! PC Japanese Shift JIS
  506. OSF1.?.mime.~.?.HP-KANA8: X-HP-KANA8 ! HP Japanese Katakana8
  507. OSF1.?.mime.~.?.EUC-KR: X-EUC-KR ! Korean EUC
  508. OSF1.?.mime.~.?.ISO-2022-KR: ISO-2022-KR ! Korean with 7-bit encoding per ISO-2022-KR
  509. OSF1.?.mime.~.?.EUC-CN: X-EUC-CN ! China Chinese EUC
  510. OSF1.?.mime.~.?.ISO-2022-CN: ISO-2022-CN ! China Chinese with 7-bit encoding per ISO-2022-CN
  511. OSF1.?.mime.~.?.HP-15CN: X-HP-15CN ! HP China Chinese EUC
  512. OSF1.?.mime.~.?.EUC-TW: X-EUC-TW ! Taiwan Chinese EUC
  513. OSF1.?.mime.~.?.ISO-2022-TW: ISO-2022-TW ! Taiwan Chinese with 7-bit encoding per ISO-2022-TW
  514. OSF1.?.mime.~.?.DEC-HANYU: X-DEC-HANYU ! Taiwan Chinese DEC Hanyu
  515. OSF1.?.mime.~.?.DEC-BIG5: X-DEC-BIG5 ! Taiwan Chinese DEC Big5
  516. OSF1.?.mime.~.?.HP-BIG5: X-HP-BIG5 ! HP Big5 Taiwan Chinese
  517. OSF1.?.mime.~.?.HP-CCDC: X-HP-CCDC ! HP CCDC Taiwan Chinese
  518. OSF1.?.mime.~.?.TIS-620: X-TIS-620 ! Thai
  519. OSF1.?.mime.~.?.UCS-2: X-UCS-2 ! Unicode; group 0, plane 0 of ISO-10646
  520. OSF1.?.mime.~.?.UCS-4: X-UCS-4 ! ISO-10646
  521. OSF1.?.mime.~.?.UTF-7: X-UTF-7 ! multibyte encoding of Unicode
  522. OSF1.?.mime.~.?.UTF-8: X-UTF-8 ! multibyte encoding of Unicode
  523. OSF1.?.mime.~.?.UTF-16: X-UTF-16 ! multibyte encoding of Unicode
  524. !! If other mailers are using other codeset identifiers in their MIME
  525. !! messages, dtmail will not be able to process them correctly.
  526. !! To correct this, additional .<. translations for these identifiers
  527. !! can be added to a <platform>.lcx file in the /etc/dt/config/svc
  528. !! or $HOME/.dt/config/svc directories. Such translations should read:
  529. !! <platform>.?.mime.<.?.<CDE std codeset>: <mailer identifier for the codeset>
  530. !!
  531. !! ***NEVER*** use a .~. translation, such as we use above, as this could
  532. !! cause dtmail to send unexpected identifier strings by overriding the
  533. !! above definition. Further, never use .=. or .>. translations.
  534. !!
  535. !! These two identifiers are in common usage, as they derive from RFC1521.
  536. OSF1.?.mime.<.?.ISO-8859-1: us-ascii ! ISO Latin 1
  537. OSF1.?.mime.<.?.ISO-8859-1: US-ASCII ! ISO Latin 1