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