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