dtcalc: change from obsoleted MAXFLOAT to FLT_MAX from std C
[oweals/cde.git] / cde / lib / DtHelp / SunOS.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 !!!!!!!!!!!!!! SunOS Locale-Related Translations !!!!!!!!!!!!!!
8 ! File:                 SunOS.lcx
9 ! Default location:     /usr/dt/config/svc/SunOS.lcx
10 ! Purpose:
11 !    Define the SunOS-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 SunOS 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: SunOS.lcx /main/5 1996/10/26 11:33:33 rws $
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 !!!!!!!!!!!!!!!! SunOS 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 SunOS.?.version.<.5120:  "5\\.12.*"
195 SunOS.?.version.<.5110:  "5\\.11.*"
196 SunOS.?.version.<.5100:  "5\\.10.*"
197 SunOS.?.version.<.590:   "5\\.9.*"
198 SunOS.?.version.<.580:   "5\\.8.*"
199 SunOS.?.version.<.570:   "5\\.7.*"
200 SunOS.?.version.<.560:   "5\\.6.*"
201 SunOS.?.version.<.550:   "5\\.5.*"
202 SunOS.?.version.<.540:   "5\\.4.*"
203 SunOS.?.version.<.530:   "5\\.3.*"
204 SunOS.?.version.<.500:   "5\\..*"
205
206
207 !!!!!!!!!!!!!!!! SunOS-specific setlocale translations !!!!!!!!!!!!!!!!!!!
208 ! These translations are for the string returned by the
209 ! getlocale() or setlocale(LC_xxx,NULL) operations, but not
210 ! setlocale(LC_ALL,NULL) operation.
211 !
212 ! It provides translations from Sun operation-specific
213 ! to CDE standard strings and back again.
214 !
215 ! Some language,territory combinations have the following comments:
216 !  (1) These ISO territory names may be subject to change
217 !      However, their CDE names will continue to be supported
218 !  (2) No ISO "territory" name exists for the Arabic-speaking regions of the
219 !      world as a whole.  Vendors have sometimes supplied their own.
220 !      Those names, when conformant to the ISO model, will be adopted for CDE.
221 !
222 !Platform Operation Lang_Terr           Op-Value                Language,Territory           Who has
223 !---     ---------   -----              --------                ------------------           -------
224 !   Version      Kind      Codeset
225 !   ----           -       ---------
226
227 ! setlocales Compliance
228 SunOS.520+.setlocale.=.C.ISO-8859-1:     C               ! setlocales compliance           ,IBM, HP, Sun       , USL
229 SunOS.520+.setlocale.~.POSIX.ISO-8859-1: POSIX           ! setlocales compliance           ,IBM, HP, Sun       , USL
230
231 ! W European/Americas, Latin 1 codeset
232 SunOS.520+.setlocale.>.da_DK.ISO-8859-1:        de              ! Danish, Denmark            XoJIG,IBM, HP,           , USL ("da")
233
234 SunOS.520+.setlocale.>.de_AT.ISO-8859-1:        de              ! German,Austria             XoJIG,   ,   ,           , USL        
235 SunOS.520+.setlocale.>.de_CH.ISO-8859-1:        de              ! German,Switzerland         XoJIG,IBM,   ,           , USL        
236 SunOS.520+.setlocale.~.de_DE.ISO-8859-1:        de              ! German, Germany            XoJIG,IBM, HP, Sun ("de"), USL ("de")
237 SunOS.520-539.setlocale.>.en_AU.ISO-8859-1:     en              ! English,Australia               ,   ,   ,           , USL
238 SunOS.540+.setlocale.>.en_AU.ISO-8859-1:        en_US           ! English,Australia               ,   ,   ,           , USL
239 SunOS.520-539.setlocale.>.en_CA.ISO-8859-1:     en              ! English,Canada             XoJIG,   ,   ,           , USL        
240 SunOS.540+.setlocale.>.en_CA.ISO-8859-1:        en_US           ! English,Canada             XoJIG,   ,   ,           , USL        
241 SunOS.520-539.setlocale.>.en_DK.ISO-8859-1:     en              ! English, Denmark           XoJIG,   ,   ,           , USL        
242 SunOS.540+.setlocale.>.en_DK.ISO-8859-1:        en_US           ! English, Denmark           XoJIG,   ,   ,           , USL        
243 SunOS.520-539.setlocale.>.en_GB.ISO-8859-1:     en              ! English, U.K.              XoJIG,IBM, HP,           , USL ("en")
244 SunOS.540+.setlocale.>.en_GB.ISO-8859-1:        en_US           ! English, U.K.              XoJIG,IBM, HP,           , USL ("en")
245 SunOS.520-539.setlocale.>.en_JP.ISO-8859-1:     en              ! English, Japan             XoJIG,IBM,   ,           , 
246 SunOS.540+.setlocale.>.en_JP.ISO-8859-1:        en_US           ! English, Japan             XoJIG,IBM,   ,           , 
247 SunOS.520-539.setlocale.>.en_IE.ISO-8859-1:     en              ! English, Ireland           XoJIG,   ,   ,           , USL        
248 SunOS.540+.setlocale.>.en_IE.ISO-8859-1:        en_US           ! English, Ireland           XoJIG,   ,   ,           , USL        
249 SunOS.520-539.setlocale.>.en_MY.ISO-8859-1:     en              ! English,Malaysia                ,   ,   ,           , USL        
250 SunOS.540+.setlocale.>.en_MY.ISO-8859-1:        en_US           ! English,Malaysia                ,   ,   ,           , USL        
251 SunOS.520-539.setlocale.>.en_NZ.ISO-8859-1:     en              ! English,New Zealand             ,   ,   ,           , USL
252 SunOS.540+.setlocale.>.en_NZ.ISO-8859-1:        en_US           ! English,New Zealand             ,   ,   ,           , USL
253 SunOS.520-539.setlocale.>.en_KR.ISO-8859-1:     en              ! English,Korea                   ,   ,   ,           , USL
254 SunOS.540+.setlocale.>.en_KR.ISO-8859-1:        en_US           ! English,Korea                   ,   ,   ,           , USL
255 SunOS.520-539.setlocale.>.en_TW.ISO-8859-1:     en              ! English,Taiwan                  ,   ,   ,           , USL
256 SunOS.540+.setlocale.>.en_TW.ISO-8859-1:        en_US           ! English,Taiwan                  ,   ,   ,           , USL
257 SunOS.520-539.setlocale.~.en_US.ISO-8859-1:     en              ! English, USA               XoJIG,IBM, HP,           , USL
258 SunOS.540+.setlocale.~.en_US.ISO-8859-1:        en_US           ! English, USA               XoJIG,IBM, HP,           , USL
259
260 SunOS.520-529.setlocale.>.es_AR.ISO-8859-1:     es              ! Spanish, Argentina              ,   ,   , Sun
261 SunOS.530+.setlocale.~.es_AR.ISO-8859-1:        es_AR           ! Spanish, Argentina              ,   ,   , Sun
262 SunOS.520-529.setlocale.>.es_BO.ISO-8859-1:     es              ! Spanish, Bolivia                ,   ,   , Sun
263 SunOS.530+.setlocale.~.es_BO.ISO-8859-1:        es_BO           ! Spanish, Bolivia                ,   ,   , Sun
264 SunOS.520-529.setlocale.>.es_CL.ISO-8859-1:     es              ! Spanish, Chile                  ,   ,   , Sun       , USL
265 SunOS.530+.setlocale.~.es_CL.ISO-8859-1:        es_CL           ! Spanish, Chile                  ,   ,   , Sun       , USL
266 SunOS.520-529.setlocale.>.es_CO.ISO-8859-1:     es              ! Spanish, Columbia               ,   ,   , Sun
267 SunOS.530+.setlocale.~.es_CO.ISO-8859-1:        es_CO           ! Spanish, Columbia               ,   ,   , Sun
268 SunOS.520-529.setlocale.>.es_CR.ISO-8859-1:     es              ! Spanish, Costa Rica             ,   ,   , Sun
269 SunOS.530+.setlocale.~.es_CR.ISO-8859-1:        es_CR           ! Spanish, Costa Rica             ,   ,   , Sun
270 SunOS.520-529.setlocale.>.es_EC.ISO-8859-1:     es              ! Spanish, Ecuador                ,   ,   , Sun
271 SunOS.530+.setlocale.~.es_EC.ISO-8859-1:        es_EC           ! Spanish, Ecuador                ,   ,   , Sun
272 SunOS.520+.setlocale.~.es_ES.ISO-8859-1:        es              ! Spanish, Spain             XoJIG,IBM, HP, Sun       , USL
273
274 SunOS.520-529.setlocale.>.es_GT.ISO-8859-1:     es              ! Spanish, Guatemala              ,   ,   , Sun
275 SunOS.530+.setlocale.~.es_GT.ISO-8859-1:        es_GT           ! Spanish, Guatemala              ,   ,   , Sun
276
277 SunOS.520-529.setlocale.>.es_MX.ISO-8859-1:     es              ! Spanish, Mexico                 ,   ,   , Sun       , USL
278 SunOS.530+.setlocale.~.es_MX.ISO-8859-1:        es_MX           ! Spanish, Mexico                 ,   ,   , Sun       , USL
279 SunOS.520-529.setlocale.>.es_PE.ISO-8859-1:     es              ! Spanish, Peru                   ,   ,   , Sun
280 SunOS.530+.setlocale.~.es_PE.ISO-8859-1:        es_PE           ! Spanish, Peru                   ,   ,   , Sun
281
282 SunOS.520-529.setlocale.>.es_UY.ISO-8859-1:     es              ! Spanish, Uruguay                ,   ,   , Sun
283 SunOS.530+.setlocale.~.es_UY.ISO-8859-1:        es_UY           ! Spanish, Uruguay                ,   ,   , Sun
284 SunOS.520-529.setlocale.>.es_VE.ISO-8859-1:     es              ! Spanish, Venezuela              ,   ,   , Sun       , USL
285 SunOS.530+.setlocale.~.es_VE.ISO-8859-1:        es_VE           ! Spanish, Venezuela              ,   ,   , Sun       , USL
286 ! SunOS.520+.setlocale.>.et_EE.ISO-8859-1:                      ! Estonian, Estonia          XoJIG, 
287 ! SunOS.520+.setlocale.>.fi_FI.ISO-8859-1:                      ! Finnish, Finland           XoJIG,IBM, HP,           , USL ("fi")
288 ! SunOS.520+.setlocale.>.fo_FO.ISO-8859-1:                      ! Faroese, Faeroe Island     XoJIG,
289 SunOS.520+.setlocale.>.fr_BE.ISO-8859-1:        fr              ! French,Belgium             XoJIG,   ,   ,           , USL        
290 SunOS.520+.setlocale.>.fr_CA.ISO-8859-1:        fr              ! French, Canada             XoJIG,IBM, HP,           , USL
291 SunOS.520+.setlocale.>.fr_CH.ISO-8859-1:        fr              ! French, Switzerland        XoJIG,IBM,   ,           , USL
292 SunOS.520+.setlocale.~.fr_FR.ISO-8859-1:        fr              ! French, France             XoJIG,IBM, HP, Sun ("fr"), USL ("fr")
293 !SunOS.520+.setlocale.>.is_IS.ISO-8859-1:                       ! Icelandic, Iceland         XoJIG,IBM, HP,           , USL ("is")
294 SunOS.520+.setlocale.>.it_CH.ISO-8859-1:        it              ! Italian,Switzerland             ,   ,   ,           , USL        
295 SunOS.520+.setlocale.~.it_IT.ISO-8859-1:        it              ! Italian, Italy             XoJIG,IBM, HP, Sun ("it"), USL ("it")
296 !SunOS.520+.setlocale.>.kl_GL.ISO-8859-1:                       ! Greenlandic, Greenland     XoJIG,
297 !SunOS.520+.setlocale.>.lt_LT.ISO-8859-1:                       ! Lithuanian, Lithuania      XoJIG,
298 !SunOS.520+.setlocale.>.lv_LV.ISO-8859-1:                       ! Latvian, Latvia            XoJIG,
299 SunOS.520+.setlocale.>.nl_BE.ISO-8859-1:        ge              ! Dutch, Belgium             XoJIG,IBM,   ,           , USL
300 !SunOS.520+.setlocale.>.nl_BE.ISO-8859-1:       nl_BE           ! Dutch, Belgium             XoJIG,IBM,   ,           , USL
301 SunOS.520+.setlocale.>.nl_NL.ISO-8859-1:        ge              ! Dutch, The Netherlands     XoJIG,IBM, HP,           , USL ("nl")
302 !SunOS.520+.setlocale.>.nl_NL.ISO-8859-1:       nl              ! Dutch, The Netherlands     XoJIG,IBM, HP,           , USL ("nl")
303 SunOS.520+.setlocale.>.no_NO.ISO-8859-1:        ge              ! Norwegian, Norway          XoJIG,IBM, HP,           , USL ("no")
304 !SunOS.520+.setlocale.>.no_NO.ISO-8859-1:       no              ! Norwegian, Norway          XoJIG,IBM, HP,           , USL ("no")
305
306 SunOS.520+.setlocale.>.pt_BR.ISO-8859-1:        es              ! Portuguese,Brazil               ,   ,   ,           , USL
307 !SunOS.520+.setlocale.>.pt_BR.ISO-8859-1:       pt              ! Portuguese,Brazil               ,   ,   ,           , USL
308
309 SunOS.520+.setlocale.>.pt_PT.ISO-8859-1:        pt              ! Portuguese, Portugal       XoJIG,IBM, HP,           , USL
310 SunOS.520+.setlocale.>.sv_FI.ISO-8859-1:        sv              ! Swedish, Finland           XoJIG,
311 SunOS.520+.setlocale.~.sv_SE.ISO-8859-1:        sv              ! Swedish, Sweden            XoJIG,IBM, HP, Sun ("sv"), USL ("sv") 
312
313
314 ! E European 
315 ! SunOS.520+.setlocale.>.cs_CS.ISO-8859-2:      cs                      ! Czech(1)                        ,IBM, HP
316 ! SunOS.520+.setlocale.>.hr_HR.ISO-8859-2:                              ! Croatian, Croatia               ,IBM
317 ! SunOS.520+.setlocale.>.hu_HU.ISO-8859-2:      hu                              ! Hungarian, Hungry          XoJIG,IBM, HP
318 ! SunOS.520+.setlocale.>.pl_PL.ISO-8859-2:      pl                              ! Polish, Poland             XoJIG,IBM, HP 
319 ! SunOS.520+.setlocale.>.ro_RO.ISO-8859-2:                              ! Rumanian, Romania          XoJIG,IBM, HP
320 ! SunOS.520+.setlocale.>.sh_YU.ISO-8859-2:                              ! Serbocroatian, Yugoslavia(1)    ,IBM, HP 
321 ! SunOS.520+.setlocale.>.sl_CS.ISO-8859-2:                              ! Slovenian                       ,   , HP
322 ! SunOS.520+.setlocale.>.si_SI.ISO-8859-2:                      ! Slovenian                       ,IBM, 
323 ! SunOS.520+.setlocale.>.sk_SK.ISO-8859-2:                      ! Slovak                          ,IBM
324
325 ! Cyrillic 
326 ! SunOS.520+.setlocale.>.bg_BG.ISO-8859-5:                              ! Bulgarian, Bulgaria             ,IBM, HP
327 ! SunOS.520+.setlocale.>.mk_MK.ISO-8859-5:                      ! Macedonian                      ,IBM
328 ! SunOS.520+.setlocale.>.ru_RU.ISO-8859-5:      ru                              ! Russian(1)                      ,IBM, 
329 ! SunOS.520+.setlocale.>.ru_SU.ISO-8859-5:                              ! Russian(1)                      ,   , HP
330 ! SunOS.520+.setlocale.>.sp_YU.ISO-8859-5:                      ! Serbian,Yugoslavia(1)           ,IBM
331
332 ! Arabic 
333 ! SunOS.520+.setlocale.>.ar_DZ.ISO-8859-6:                              ! Arabic(2)                       ,   , HP
334 ! SunOS.520+.setlocale.>.ar_SA.ISO-8859-6:                              ! Arabic(2)                       ,   , HP
335
336 ! Hebrew 
337 ! SunOS.520+.setlocale.>.iw_IL.ISO-8859-8:                              ! Hebrew, Israel                  ,IBM, HP
338
339 ! Greek 
340 ! SunOS.520+.setlocale.>.el_GR.ISO-8859-7:                              ! Greek, Greece                   ,IBM, HP
341
342 ! Turkish 
343 ! SunOS.520+.setlocale.>.tr_TR.ISO-8859-9:                              ! Turkish, Turkey                 ,IBM, HP
344
345 ! East Asia 
346 SunOS.520+.setlocale.~.ja_JP.EUC-JP:    ja                      ! Japanese, Japan                 ,IBM, HP, Sun ("ja"), USL
347 ! Commented out the above line because the following 2 are needed
348 ! so that ja and japanese refer to the same common Japanese locale name.
349 ! SunOS.520+.setlocale.=.ja_JP.EUC-JP:  ja                      ! Japanese, Japan                 ,IBM, HP, Sun ("ja"), USL
350 SunOS.520+.setlocale.=.ja_JP.EUC-JP:    japanese        ! Japanese, Japan                 ,IBM, HP, Sun ("ja"), USL
351 SunOS.520+.setlocale.~.ja_JP.SJIS:      ja_JP.SJIS              ! Japanese, Japan                 ,IBM, HP, Sun ("ja"), USL
352 SunOS.520+.setlocale.~.ko_KR.EUC-KR:    ko                      ! Korean, Korea                   ,IBM, HP, Sun ("ko"), USL
353 SunOS.520+.setlocale.~.zh_CN.EUC-CN:    zh                      ! Chinese, China                  ,IBM,   , Sun ("zh"), USL
354 SunOS.520.setlocale.~.zh_TW.EUC-TW:     zh_TW                   ! Chinese, Taiwan                 ,IBM, HP, Sun       , USL
355 SunOS.530+.setlocale.~.zh_TW.EUC-TW:    zh_TW                   ! Chinese, Taiwan                 ,IBM, HP, Sun       , USL
356 SunOS.520+.setlocale.>.zh_CN.HP-15CN:   zh                      ! Chinese, China                  ,   , HP
357 ! SunOS.520+.setlocale.0.zh_TW.HP-BIG5:                         ! Chinese, Taiwan                 ,   , HP,           , 
358 ! SunOS.520+.setlocale.>.zh_TW.HP-CCDC:                         ! Chinese, Taiwan                 ,   , HP,           , 
359 ! SunOS.520+.setlocale.>.ja_JP.HP-SJIS:                                 ! Japanese, Japan aka
360  japanese 15 ,   , HP,
361 ! SunOS.520+.setlocale.>.ja_JP.HP-KANA8:                                ! Japanese, Japan
362              ,   , HP,           ,
363
364
365 ! Thai 
366 ! SunOS.520+.setlocale.>.th_TH.TIS-620:                         ! Thai, Thailand                  ,IBM, HP
367
368 ! Sun mime names (for V3 compat)
369 ! MIME names should be in upper case.
370 SunOS.500+.mime.~.ISO-8859-1:   ISO-8859-1      ! ISO Latin 1
371 SunOS.500+.mime.~.?.ISO-8859-1:   ISO-8859-1      ! ISO Latin 1
372 ! The following should work but does not.
373 !SunOS.500+.mime.<.?.EUC-JP:   JA_JP.ISO2022-7      ! V3 ja charset
374 SunOS.500+.mime.~.?.ISO-2022-JP:   JA_JP.ISO2022-7      ! V3 ja charset
375 SunOS.500+.mime.~.?.EUC-JP:       ISO-2022-JP      !  ja charset
376 ! Added to support mail with no charset
377 ! Need DEFAULT-ja
378 ! The following should work but does not.
379 !SunOS.500+.mime.<.?.EUC-JP:       DEFAULT.EUC-JP      !  ja charset
380 SunOS.500+.mime.~.DEFAULT.EUC-JP:       DEFAULT.EUC-JP      !  ja charset
381 SunOS.500+.mime.~.DEFAULT.ISO-8859-1:   DEFAULT.ISO-8859-1  !  8859 charset
382 ! For Sending V3 compatibility
383 SunOS.500+.mime.~.2022-JP-V3:       ja_JP.iso2022-7  !  ja charset
384 SunOS.500+.mime.~.?.ja_JP.SJIS:       SJIS      !  ja charset
385
386 ! Only iconv names can be in lower case.
387 ! codesets supported for iconv(1); iconv(3) & nl_langinfo not supported
388 SunOS.520+.iconv1,iconv3.=.C.ISO-8859-1:
389 SunOS.520+.iconv1,iconv3.~.?.ISO-8859-1:        8859
390 SunOS.540+.iconv1,iconv3.~.?.EUC-JP:            eucJP
391 SunOS.540+.iconv1,iconv3.<.?.EUC-JP:            ja_JP.euc
392 SunOS.540+.iconv1,iconv3.~.ja_JP.EUC-JP:        eucJP
393 SunOS.540+.iconv1,iconv3.~.ja_JP.SJIS:          SJIS
394 SunOS.540+.iconv1,iconv3.~.ISO-2022-JP:         ISO-2022-JP
395 SunOS.540+.iconv1,iconv3.<.?.ISO-2022-JP:       JIS7
396 SunOS.540+.iconv1,iconv3.~.?.ISO-2022-7:        ISO-2022-JP
397 SunOS.540+.iconv1,iconv3.<.?.ISO-2022-7:        ja_JP.iso2022-7
398 SunOS.540+.iconv1,iconv3.~.?.HP-SJIS:           SJIS
399 SunOS.540+.iconv1,iconv3.~.?.IBM-932:           ibmj
400 SunOS.540+.iconv1,iconv3.~.?.ISO-2022-KR:       ko_KR.iso2022-7
401 SunOS.540+.iconv1,iconv3.~.?.ISO-2022-TW:       zh_TW.iso2022-7
402 SunOS.540+.iconv1,iconv3.~.?.HP-BIG5:           zh_TW.big5
403 SunOS.540+.iconv1,iconv3.~.?.ISO-2022-CN:       zh_CN.iso2022-7
404 SunOS.540+.iconv1,iconv3.~.?.EUC-KR:            ko_KR.euc
405 SunOS.540+.iconv1,iconv3.~.?.EUC-TW:            zh_TW.euc
406 SunOS.540+.iconv1,iconv3.~.?.EUC-CN:            zh_CN.euc
407 SunOS.540+.iconv1,iconv3.>.?.HP-15CN:           zh_CN.euc
408 SunOS.540+.iconv1,iconv3.~.?.UTF-8:             UTF2
409
410 ! codesets not supported by SunOS iconv(1)
411 ! SunOS.?.iconv1,iconv3.~.?.ISO-8859-2:
412 ! SunOS.?.iconv1,iconv3.~.?.ISO-8859-5:
413 ! SunOS.?.iconv1,iconv3.~.?.ISO-8859-6:
414 ! SunOS.?.iconv1,iconv3.~.?.ISO-8859-7:
415 ! SunOS.?.iconv1,iconv3.~.?.ISO-8859-8:
416 ! SunOS.?.iconv1,iconv3.~.?.ISO-8859-9:
417 ! SunOS.?.iconv1,iconv3.~.?.IBM-437:
418 ! SunOS.?.iconv1,iconv3.~.?.IBM-850:
419 ! SunOS.?.iconv1,iconv3.~.?.IBM-856:
420 ! SunOS.?.iconv1,iconv3.~.?.IBM-1046:
421 ! SunOS.?.iconv1,iconv3.~.?.HP-ARABIC8:
422 ! SunOS.?.iconv1,iconv3.~.?.HP-GREEK8:
423 ! SunOS.?.iconv1,iconv3.~.?.HP-HEBREW8
424 ! SunOS.?.iconv1,iconv3.~.?.HP-ROMAN8:
425 ! SunOS.?.iconv1,iconv3.~.?.HP-TURKISH8:
426 ! SunOS.?.iconv1,iconv3.~.?.TIS-620:
427 ! SunOS.?.iconv1,iconv3.~.?.HP-KANA8:
428 ! SunOS.?.iconv1,iconv3.~.?.HP-CCDC:
429 ! SunOS.?.iconv1,iconv3.~.?.UCS-2:
430
431 ! multibyte codesets 
432 ! This translation provides an alternative to a call to
433 ! using setlocale() and MB_CUR_MAX to determine this.
434 SunOS.520+.multibyte.=.?.EUC-KR:        2
435 SunOS.520+.multibyte.=.?.EUC-JP:        2
436 SunOS.520+.multibyte.=.?.EUC-TW:        4
437 SunOS.520+.multibyte.=.?.EUC-CN:        2
438 ! SunOS.?.multibyte.~.?.HP-SJIS:        2
439 ! SunOS.?.multibyte.~.?.IBM-932:        2
440 ! SunOS.?.multibyte.~.?.HP-CCDC:        2
441 ! SunOS.?.multibyte.~.?.HP-BIG5:        2
442 ! SunOS.?.multibyte.~.?.TIS-620:        2
443 ! SunOS.?.multibyte.~.?.HP-15CN:        2
444
445
446 ! Translations from predefined CCDF-locales to CDE Standard Locales
447 SunOS.?.ccdf.=.?.HP-ROMAN8:     hp-roman8
448 SunOS.?.ccdf.=.?.ISO-8859-1:    iso8859-1
449 SunOS.?.ccdf.=.ko_KR.EUC-KR:    hp-korean15
450 SunOS.?.ccdf.=.ja_JP.HP-SJIS:   hp-japanese15
451 SunOS.?.ccdf.=.?.DT-SYMBOL-1:   symbol        !!! standard Dt symbol font
452
453 ! These CDE standard locales may have CCDF-locales, but they are defined by localizers
454 ! SunOS.?.ccdf.=.ar_SA.HP-ARABIC8:      arabic8
455 ! SunOS.?.ccdf.=.el_GR.HP-GREEK8:       greek8
456 ! SunOS.?.ccdf.=.iw_IL.HP-HEBREW8:      hebrew8
457 ! SunOS.?.ccdf.=.tr_TR.HP-TURKISH8:     turkish8
458 ! SunOS.?.ccdf.<.ja_JP.HP-SJIS:         sjis
459 ! SunOS.?.ccdf.=.ja_JP.HP-KANA8:        kana8
460 ! SunOS.?.ccdf.<.ja_JP.EUC-JP:          ujis
461 ! SunOS.?.ccdf.=.zh_CN.HP-CCDC:         roc15           
462
463
464 ! Codesets that require multibyte parsing to avoid confusion with shell special chars
465 ! Sun doesn't have these codesets
466 !SunOS.?.dtkshSpecialParse.=.ja_JP.HP-SJIS:     True
467 !SunOS.?.dtkshSpecialParse.=.ja_JP.IBM-932:     True
468 !SunOS.?.dtkshSpecialParse.=.zh_TW.HP-BIG5:     True
469 !SunOS.?.dtkshSpecialParse.=.zh_TW.HP-CCDC:     True
470 SunOS.?.dtkshSpecialParse.=.zh_TW.EUC-TW:       True
471
472
473 !! When content is exchanged with other platforms, the interchange codeset
474 !! may be different that the codeset used locally.  In CDE1, these translations
475 !! are used by dtmail, but other clients may use the same translations
476 !! in the future.  For example, to improve interoperability of 8-bit mail,
477 !! the mail messages of users working in codesets such as HP-ROMAN8 or IBM-850 
478 !! are translated to the interchangeCodeset (in this case, ISO-8859-1) before 
479 !! they are sent.  Similarly, the mail of Japanese users is translated to ISO-2022-JP
480 !! before it is sent.
481 SunOS.500+.interchangeCodeset.~.?.ISO-8859-1:   ISO-8859-1      ! ISO Latin 1
482 !SunOS.?.interchangeCodeset.>.?.HP-ROMAN8:      ISO-8859-1      ! HP Roman8 
483 !SunOS.?.interchangeCodeset.>.?.IBM-437:        ISO-8859-1      ! PC (US)
484 !SunOS.?.interchangeCodeset.>.?.IBM-850:        ISO-8859-1      ! PC (Multi-lingual)
485 SunOS.?.interchangeCodeset.~.?.ISO-8859-2:      ISO-8859-2      ! ISO Latin 2
486 SunOS.?.interchangeCodeset.~.?.ISO-8859-5:      ISO-8859-5      ! ISO Latin/Cyrillic
487 SunOS.?.interchangeCodeset.~.?.ISO-8859-6:      ISO-8859-6      ! ISO Latin/Arabic
488 !SunOS.?.interchangeCodeset.>.?.HP-ARABIC8:     ISO-8859-6      ! HP Arabic8
489 !SunOS.?.interchangeCodeset.>.?.IBM-1046:       ISO-8859-6      ! PC Arabic Code Set
490 SunOS.?.interchangeCodeset.~.?.ISO-8859-8:      ISO-8859-8      ! ISO Latin/Hebrew
491 !SunOS.?.interchangeCodeset.>.?.HP-HEBREW8:     ISO-8859-8      ! HP Hebrew8
492 !SunOS.?.interchangeCodeset.>.?.IBM-856:        ISO-8859-7      ! PC Hebrew
493 SunOS.?.interchangeCodeset.~.?.ISO-8859-7:      ISO-8859-7      ! ISO Latin/Greek
494 !SunOS.?.interchangeCodeset.>.?.HP-GREEK8:      ISO-8859-7      ! HP Greek8
495 SunOS.?.interchangeCodeset.~.?.ISO-8859-9:      ISO-8859-9      ! ISO Latin 5
496 !SunOS.?.interchangeCodeset.>.?.HP-TURKISH8:    ISO-8859-9      ! HP Turkish8
497 SunOS.500+.interchangeCodeset.~.?.EUC-JP:       ISO-2022-JP     ! Japanese EUC
498 ! Add the following line -- hack to see if "japanese" works
499 SunOS.500+.interchangeCodeset.=.?.EUC-JP:       ISO-2022-JP     ! Japanese EUC
500 ! For Sending V3 compatibility
501 SunOS.500+.interchangeCodeset.~.?.EUC-JP.V3:    2022-JP-V3      ! Japanese EUC
502 SunOS.500+.interchangeCodeset.~.?.ja_JP.SJIS:   ja_JP.SJIS      ! Japanese EUC
503 SunOS.500+.interchangeCodeset.~.?.ISO-2022-JP:  ISO-2022-JP     ! Japanese EUC
504 !SunOS.?.interchangeCodeset.>.?.HP-SJIS:        ISO-2022-JP     ! HP Japanese Shift JIS
505 !SunOS.?.interchangeCodeset.>.?.IBM-932:        ISO-2022-JP     ! PC Japanese Shift JIS
506 !SunOS.?.interchangeCodeset.>.?.HP-KANA8:       ISO-2022-JP     ! HP Japanese Katakana8
507 SunOS.?.interchangeCodeset.~.?.EUC-KR:          ISO-2022-KR     ! Korean EUC
508 SunOS.?.interchangeCodeset.~.?.EUC-CN:          ISO-2022-CN     ! China Chinese EUC
509 SunOS.?.interchangeCodeset.~.?.EUC-TW:          ISO-2022-TW     ! Taiwan Chinese EUC
510 !SunOS.?.interchangeCodeset.>.?.HP-BIG5:        ISO-2022-TW     ! HP Big5 Chinese
511 !SunOS.?.interchangeCodeset.>.?.HP-CCDC:        ISO-2022-TW     ! HP CCDC Chinese 
512 !SunOS.?.interchangeCodeset.>.?.HP-15CN:        ISO-2022-CN     ! HP Chinese EUC
513 SunOS.?.interchangeCodeset.~.?.TIS-620:         TIS-620         ! Thai
514 SunOS.?.interchangeCodeset.>.?.UCS-2:           UTF-8           ! Unicode
515 SunOS.?.interchangeCodeset.~.?.UTF-8:           UTF-8           ! multibyte Unicode
516