From nakao@sysrap.cs.fujitsu.co.jp Fri Jun 14 11:06:23 1991 Received: from relay2.UU.NET by dkuug.dk via EUnet with SMTP (5.64+/8+bit/IDA-1.2.8) id AA24731; Fri, 14 Jun 91 11:06:23 +0200 Received: from uunet.uu.net (via LOCALHOST.UU.NET) by relay2.UU.NET with SMTP (5.61/UUNET-internet-primary) id AA24457; Fri, 14 Jun 91 05:06:18 -0400 Received: from fai.UUCP by uunet.uu.net with UUCP/RMAIL (queueing-rmail) id 050506.29401; Fri, 14 Jun 1991 05:05:06 EDT Received: by fai.fai.com; id AA05197; Fri, 14 Jun 91 01:00:05-1795 Received: from fgw.fujitsu.co.jp (fgw.ARPA) by a50.fujitsu.co.jp (4.12/6.4J.4 *** FUJITSU National Gateway ***) id AA01330; Fri, 14 Jun 91 16:43:32 JST Received: from [133.161.1.9] by fgw.fujitsu.co.jp (5.65/6.4J.6) id AA26532; Fri, 14 Jun 91 16:59:07 +0900 Received: by spad.sysrap.cs.fujitsu.co.jp (4.12/6.4J.6) id AA05149; Fri, 14 Jun 91 16:54:48 JST Received: by sigma200.sysrap.cs.fujitsu.co.jp (4.12/6.4J.6) id AA25860; Fri, 14 Jun 91 16:52:50 JST Date: Fri, 14 Jun 91 16:52:50 JST From: nakao@sysrap.cs.fujitsu.co.jp (Shigekatsu Nakao) Return-Path: Message-Id: <9106140752.AA25860@sigma200.sysrap.cs.fujitsu.co.jp> To: wg15rin@dkuug.dk Subject: Draft Japanese National Profile (troff) X-Charset: ASCII X-Char-Esc: 29 In responding to WG15RIN request, below is the troff version of Draft Japanese National Profile contributed by SSI/POSIX WG of IPSJ/ITSCJ in Japan. This is written in troff with mm macro and tbl. Shigekatsu Nakao voice: +81-44-754-3342 Fujitsu Limited fax: +81-44-754-3522 Japan email: nakao@sysrap.cs.fujitsu.co.jp #! /bin/sh # This is a shell archive file contains: # jnp_v11.mm # On: 06/14/91 16:18, By: nakao # --------------------------------------- echo x - jnp_v11.mm 1>&2 sed "s/.//" <<"//GO.SYSIN DD jnp_v11.mm" >jnp_v11.mm X.ND "June 1991" X.PH "" X.OF "" X.EF "" X.PF "" X.DS C X.B X.S 18 20 X.SP 5 XDraft X.br XJapanese National Profile for POSIX X.SP XVersion 1.1 X.br X.SP 10 X.S 10 12 XDeveloped by X.SP X.S 14 16 XIPSJ/ITSCJ SSI/POSIX WG X.SP XJune 1991 X.SP X.R X.S 10 12 XThis is a working draft and is subject to change. X.br XDo not use this document for any other purposes X.br Xthan pure study and/or review. X.DE X.PH "'Draft Japanese National Profile for POSIX''Version 1.1''" X.SK X'" Reset page number X.nr P 1 X.OF "'\\\\*(aT''\\\\nP'" X.EF "'\\\\nP''\\\\*(aS'" X.S 10 12 X.nr Cp 1 X.nr Cl 5 X.nr Ej 1 X.nr Hb 7 X.nr Hu 1 X.nr Hc 1 X.ds HF 3 3 3 3 3 3 3 X.ds HP +2 +2 +2 +2 +2 +2 +2 X.de HX X.if \\$1=1 .sp 5 X.. X'" To include the first level section header in the even page footer X.ds aS X'" To include up to the second level section header in the odd page footer X.ds aT X.de HZ X.if \\$1=1 .sp 2 X.if \\$1=1 .ds aS \\$3 X.if \\$1=1 .ds aT \\$3 X.if \\$1=2 .ds aT \\*(}0\\$3 X.. X'" Number the lines for review purpose X.nm 1 X.HU Foreword X.I X.S -2 X(This Foreword is not a normative part of this document, but is Xincluded for information only.) X.S +2 X.R X.P XDraft Japanese National Profile for POSIX (this document), Xis an attempt to define Japanese environments where ISO 9945 XPOSIX Standard is employed. X.P XThis document was developed by SSI/POSIX Working Group of XInformation Technology Standards Commission of Japan (ITSCJ), XInformation Processing Society of Japan (IPSJ). X.P XThe base of this document was the one titled Japanese National XProfiles for POSIX, Preliminary Draft, ITSCJ SSI/POSIX, September X1990, and was registered as JTC1/SC22/WG15 N122 in November 1990. X.P XIt must be noted that Xthere are still quite a few number of issues to be solved to Xdefine Japanese National Profile for POSIX. XOne of them is the definition of POSIX National Profile itself and Xinterrelationship among various POSIX National Profiles. XIt must be mentioned here that Xto cover such issues, SSI/POSIX Working Group is working on another Xdocument titled Guidelines for POSIX National Profiles. XOther unresolved issues will be discussed in the appropriate sections Xin this document. X.P XAt this point of time, this document has nothing to do with Xformal national body conformance. It is however the intention Xof SSI/POSIX Working Group that when Japanese national body Xstarts discussion in the future on such standard of POSIX profile Xfor Japanese environments, this document should be used as the Xdraft at its beginning. X.P XSuggenstions and comments for improvement of this document are Xwelcome. They should be sent to: X.DS X Prof. Nobuo Saito X Chair of SSI/POSIX Working Group X Informaton Techonology Standards Commission of Japan X Kikai-Shinko Kaikan Bldg. X 3-5-8 Shiba-Koen, Minato-ku, X Tokyo 105, JAPAN X X Tel: +81-3-3431-2808 X Fax: +81-3-3431-6493 X X email: posix@u-tokyo.ac.jp X.DE X.SK XThe following persons participated in the development of this document Xin SSI/POSIX Working Group: X.DS X Yuichi Chujo, NTT X Kazuyoshi Fukumura, NEC X Nobuyuki Hikichi, SRA X Shiro Hikita, Sony X Yukiharu Imafuku, NTT Data X Akihisa Iwakawa, IBM Japan X Akio Kido, IBM Japan X Takao Komatsu, Mitsubishi X Akihiko Kudoh, NTT X Yutaka Matsumoto, Nihon Sun X Yasushi Nakahara, Toshiba X Shigekatsu Nakao, Fujitsu X Toshinori Numata, Fujitsu X Shinji Ohta, Fuji Xerox X Toshiharu Ono, Nihon UNISYS X Erik van der Poel, SRA X Nobuo Saito, Keio University X Masahiko Sekiguchi, Fujitsu X Hiroyuki Shiota, Fuji Xerox X Shin-ichi Yamada, NTT Data X Mamoru Yanagihara, DEC Japan X.DE X.HU Introduction X.I X.S -2 X(This Introduction is not a normative part of this document, but is Xincluded for information only.) X.S +2 X.R X.P XThe purpose of this document is to define a minimal and appropriate Xset of POSIX.1, POSIX.2 and C Standards for Japanese environments Xwhere ISO 9945 POSIX Standard is employed. X.P XFollowing the definition of profile in TR10000-1, this document Xdefines only parameters and options. X.P XSection 1 is for general matters such as scope, references, objectives Xand conformance. The section also includes some description on Xspecial remarks in Japanese National Profile, mainly about Japanese Xcharacters. X.P XSection 2 defines system parameters of POSIX.1, POSIX.2 and C language. X.P XSection 3 defines various Japanese locale. X.P XAnnex A, an informative section, is for rationale and notes where Xavailable. X.P X.mc 1 XThe changes from Version 1.0 to 1.1 are marked with "1" which are all Xeditorial. X.mc X'" Reset first level header number X.nr H1 0 X'" Modify first level heading mark X.de HX X.if \\$1=1 .sp 5 X.if \\$1=1 .ds }0 Section\ \\n(H1\:\ \ X.. X.H 1 "General" X.H 2 "Scope" XJapanese National Profile for POSIX is defined for Japanese environments Xwhere ISO 9945 POSIX Standard is employed. XAccording to Guidelines for POSIX National Profiles, Xit gives the specifications of the parameters and the selections of optional Xitems of POSIX Standard which are strongly related to the functionalities Xto support processing and the operation of the culture and language Xdependent matters of Japan and Japanese. X.H 2 "References" XThe following standards contain provisions which constitute provisions of Xthis document. X.BL X.LI XISO 9945-1:1990, System Application Program Interface (C language) (POSIX.1) X.LI XIEEE P1003.2/D11, Shell and Utilities (POSIX.2) X.LI XISO 646 X.LI XISO 2022 X.LI XISO 8859 X.LI XISO DIS 10646 X.LI XISO/IEC Directive Part 3 X.LI XISO 9899, Programming Languages - C X.LI XISO 9899 PDAM Part 3, Multibyte Support Extensions X.LI XTSG-1 Final Report (Draft) X.LI XIEEE P1003.0/D10 X.LI XJapanese version of ISO 646 X.LI XJIS X\|0201 X.LI XJIS X\|0208 X.LI XJIS X\|0212 X.LI XTR10000-1 X.LI XGuidelines for POSIX National Profiles X.LE X.H 2 "Objectives" XThe objectives of this document are: X.BL X.LI XDefine a minimal and appropriate set of specifications Xto satisfy the needs for Japanese environment, Xas well as to promote: X.DL X.LI XPOSIX conforming system implementation; X.LI XPortable application development; X.LI XConformance test of them. X.LE X.LI XFurther define the following specifications in POSIX.1 and POSIX.2: X.DL X.LI XParameters X.LI XOptions X.LE X.LE X.H 2 "Japanese POSIX Conformance" X.H 3 "System Requirements" XA Japanese POSIX conforming system implementation is required to have Xfollowing facilities and characteristics: X.BL X.LI XThe system shall support all required parameters and options defined Xin this document. X.LI XThe system may support additional parameters and options not required Xby this document. Such parameters and options should be identified as Xsuch in the system documentation. X.LE X.H 3 "Application Conformance" XIn Japan, there are several encoding schemes for XJapanese characters (e.g. JIS X\|0202, EUC, XShifted JIS, etc.). Therefore, this profile Xdoes not care about encoding scheme. It means Xthat a Japanese POSIX conforming application shall Xbe character encoding independent. X.H 3 "C language" XA Japanese POSIX conforming system shall Xsupport ISO 9899 (full functions). XAnd also, 'Multibyte Support Extension' specified Xin ISO 9899 PDAM Part 3 shall be supported, Xwhen it has been adopted as an addendum of the XInternational Standard. X.H 3 "Relationship with POSIX Conformance" XSince Japanese National Profile for POSIX is not necessarily included in the XPOSIX Profile, those systems which pass the Japanese National Profile Xfor POSIX may not pass the POSIX Conformance. X.H 2 "Special Remarks in Defining Japanese National Profile for POSIX" X.H 3 "Character Naming" XIn the character map table for Japanese environments, it is necessary Xto assign a name for each of the Kanji characters, the number of which is Xfar more than several thousands. Because the number is so large, Xit is very difficult to assign a unique and meaningful name for each Kanji. X.P XIt might be possible to refer ISO DIS 10646 because ISO DIS 10646 contains Xall the characters in JIS X\|0208, including Kanji, with their character Xnames. XIn ISO DIS 10646, each of the Kanji character names consists of associating Xcode of its position in JIS X\|0208. XAlthough the naming method is fine in terms of the uniqueness, Xthe given name does not imply any glyph nor meaning of the corresponding XKanji character itself, i.e., the readers cannot guess the character at all Xwithout looking at the JIS X\|0208 code table. X.P XAlthough ISO DIS 10646 might be a good reference for Kanji character set, Xthere is still another issue with it which is associated with the character Xwidth. Many existing systems is Japan distinguish what are called single Xwidth alphabet and Katakana characters from double width ones. the former Xis almost always referred to with JIS X\|0201, and the latter with JIS X\|0208. XISO DIS 10646, on the other hand, does not distinguish them each other. X.H 3 "Glyph Usage in Character Map Table Definition" XIn the character map table of National Profile for POSIX, all the characters Xused are defined with a portable character set of POSIX. Based on this Xrule, it is not allowed to use a Kanji character glyph in this Xcharacter map table. However, it is desirable if the format of the Xcharacter map table allows comment columns to have Kanji character Xand other glyphs which will be of a great help for the readers to recognize Xthe Kanji characters. X.H 3 "Character Coding" XIn Japan, A Kanji character set is defined as JIS X\|0208, Xand October, 1990, a supplementary Kanji character set was defined as JIS X\|0212. XThey are defined as Information Interchange Code Sets, and they are Xencoded by using two octet 7-bit code. XUsing ISO 2022 procedure, these are used for transmission, and for Xprocessing in some cases. X.P XIn order to make the code processing more effective, several encoding Xschemes like Shift-JIS or UJIS (JIS based on EUC) are defined in XJapan. Since there are many commercial products which are based on Xthese modified encoding scheme, it is necessary to include some description Xabout these non-standard encoding scheme in the Japanese National XProfile for POSIX. X.H 1 "Parameters and Options" X.H 2 "Charmap (POSIX.2)" X.H 3 "Character Codes and Glyphs in the National Standard" XJapanese national body conforming POSIX systems are required to have Xfollowing facilities and characteristics: X.VL 2i X.LI "Character repertoire:" XIn addition to Japanese version of ISO 646, XJapan has three coded character set standards, namely JIS X\|0201, JIS XX\|0208 and JIS X\|0212. In addition, many vendors support user defined Xand/or vendor defined characters called "Gaiji" that are not part of Xthe national standard character sets. X.P XHowever, Japanese national body conformance requires the support of Xthe full repertoire of Japanese version of ISO 646 and XJIS X\|0208 only. At least one charmap that Xincludes all of the Japanese version of ISO 646 and XJIS X\|0208 characters shall be provided. X.P XSupport for JIS X\|0201 and JIS X\|0212 is recommended, though not Xrequired. X.P X.LI "Encoding scheme:" XIn Japan, there are several encoding schemes for XJapanese characters (e.g. JIS X\|0202, EUC, XShifted JIS, etc.). Therefore, this profile Xdoes not care about encoding scheme. It means Xthat Japanese POSIX conforming application shall Xbe character encoding independent. X.LE X.H 3 "Implementation Issues" XA large number of characters and existence of character codes that use Xstate-depend encodings, among other reasons, make it hard to write a charmap Xfor the Japanese language. To complicate the matter, most implementations Xtreat the overlapping characters in JIS X\|0201 and JIS X\|0208 as having Xdifferent encodings. X.P XThe problems we have encountered so far are: X.BL X.LI XSome codesets employ stateful encoding scheme, where the Xinterpretation of an binary encoded sequence may change according Xto the designation/invocation at that time. X.LI XThere are several encoding. Some systems and hardware use Xproprietary ones. X.LI XThe agreement has never been reached on how to handle the overlapping Xcharacters in JIS X\|0201 and JIS X\|0208 in charmap. X.LI XIt is impractical to list all the characters in the national standard, Xsince there are about 10,000 printable characters. X.LE X.H 2 "CHAR_BIT and Character Handling in C Language (ISO 9899)" XJapanese national body conforming POSIX systems are required that Xthe CHAR_BIT value shall be 8. X.P XThis means that the JIS X\|0208 character set is defined as a Xnon-single-byte extended character set in terms of ISO 9899, Xand the MB_CUR_MAX value is equal to or greater than 2. X.H 2 "Delete Character (POSIX.1)" XIt is important to notice that delete character operation should work Xnormally even for multi-octet characters. That is, if there is a Kanji Xcharacter, delete character input shall delete one Kanji character, Xas defined in POSIX.1. X.H 2 "File Name Length and its Handling (POSIX.1)" XJapanese national body conforming POSIX systems are required that Xthe POSIX_NO_TRUNC variable shall be set to true so that when Xthe file name length exceeds the NAME_MAX in the midst of a multi-octet Xcharacter, the ENAMETOOLONG error is reported without truncating a given Xfile name string. X.P XIt is difficult and inefficient for the kernel to check the character Xboundary in stead of reporting the ENAMETOOLONG error because there might Xbe escape characters intermingled in the string. X.P XThe NAME_MAX value, the maximum file name length, should be defined by Xconsidering the encoding scheme for multi-octet character sets. X.H 2 "Character Encoding for Path Name Delimiters (POSIX.1)" XIt is necessary for the kernel to detect the character and X in a path name, Xand these characters may be encoded as both ISO 646 characters (1 octet) Xand JIS Kanji characters (multi-octet). In order to avoid the confusion, Xit is recommended to use only 1 octet encoding for these two characters. X.H 2 "Archive Format Extensions (POSIX.1)" X.I X(To be provided.) X.R X.H 1 "Japanese Locale (ISO 9899 and POSIX.2)" XThe character set defined and used in this section consists of: X.BL X.LI XJapanese version of ISO 646; X.LI XAll of the characters in JIS X\|0208. X.LE X.P XImplementations shall suppport all of the above mentioned characters, Xand may contain more characters to support Japanese environments. XThe right-hand part of JIS X\|0201, Katakana syllabary, is highly Xrecommended to be supported by implementations although the support Xis not mandatory for the conformance. In this section, a recommended Xexample for the support of the right-hand part of JIS X\|0201 is Xgiven as comment lines where available. X.P XNote that the character set includes undefined code points of JIS X\|0208. X.P XKanji are given names based on their ward-point number (in decimal) Xpreceded by the letter j. For LC_COLLATE definition, another naming method Xis used for readabilily. Neither of these naming methods themselves is Xa part of requirement for the conformance. X.H 2 "LC_CTYPE" XJapanese national body conforming POSIX systems are required to have Xfollowing facilities and characteristics: Xthe LC_CTYPE category of the Japanese locale shall Xinclude the full JIS X\|0208 repertoire. X.P XThe characters in JIS X\|0208 shall be given classes as shown in the Xtable below. Undefined character code points are not given any classes Xbecause they are not printable nor control characters: X.P X.I X(This table is not completed yet.) X.R X.SP X.TB "Character classes of JIS X\|0208 characters" X.TS Xl || cw(0.5i) cw(0.5i) cw(0.5i) cw(0.5i) cw(0.5i) cw(0.5i) cw(0.5i). XIn JIS X\|0208 print graph alnum alpha digit xdigit ... X_ XRoman x x x x XHiragana x x XKatakana x x XKanji x x XRussian x x x x XGreek x x x x XNumber x x x XSpace x X.TE X.SP X.nf X.ft CW X XLC_CTYPE X X# X# Upper class: X# alphabets in portable character set, X# Roman letters in JIS X0208, X# Greek letters in JIS X0208 and X# Russian letters in JIS X0208. X Xupper ;;;;;;;;;;;;;\e X ;;

;;;;;;;;;;;\e X ;...;;\e X ;...;;\e X ;...; X X# X# Alpha class (default): X# Upper class X# Lower class X X# X# Digit class - same as defined in POSIX.2 X# X Xdigit ;;;;;\e X ;;;; X X# X# Xdigit class - same as defined in POSIX.2 X# X Xxdigit ;;;;;\e X ;;;;;\e X ;;;;;;\e X ;;;;; X X# X# Blank class - same as defined in POSIX.2 X# X Xblank ; X X# X# Space class: X# Space characters defined in POSIX.2 X# Space in JIS X0208 X# X Xspace ;;;;\e X ;;\e X X X# X# Cntrl class - same as defined in POSIX.2 X# X Xcntrl ;;;;;\e X ;;\e X ;;;;;;;;\e X ;;;;;;;;\e X ;;;;;;;;\e X ; X X# X# Punct class - symbols in portable character set only X# X Xpunct ;;;\e X ;;;;\e X ;;;\e X ;;;;;\e X ;;;;\e X ;;\e X ;\e X ;;;;\e X ;;\e X ;\e X ;;;; X X# X# Graph X# X# upper, lower, alpha, digit, xdigit X# JIS X0201 printable characters X# JIS X0208 printable characters X Xgraph ;;;\e X ;;;;\e X ;;;\e X ;;;;;\e X ;;;;;\e X ;;;;;\e X ;;;;\e X ;;\e X ;\e X ;;;;;;;;;;;;;\e X ;;

;;;;;;;;;;;\e X ;;;;\e X ;;\e X ;\e X ;;;;;;;;;;;;;\e X ;;

;;;;;;;;;;;\e X ;;;;\e X# X# The following six comment lines are recommendations for the support of X# the right-hand part of JIS X0208, Katakana syllabary: X# X# ;;;\e X# ;;\e X# ;...;;\e X# ;\e X# ;...;;\e X# ;;\e X# X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;\e X ;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;\e X ;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;\e X ;...;;\e X ;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;\e X ;\e X ;\e X ;\e X X X# X# Print: X# X# space X# upper, lower, alpha, digit, xdigit X# JIS X0201 printable characters X# JIS X0208 printable characters X Xprint ;\e X ;;;\e X ;;;;\e X ;;;\e X ;;;;;\e X ;;;;;\e X ;;;;;\e X ;;;;\e X ;;\e X ;\e X ;;;;;;;;;;;;;\e X ;;

;;;;;;;;;;;\e X ;;;;\e X ;;\e X ;\e X ;;;;;;;;;;;;;\e X ;;

;;;;;;;;;;;\e X ;;;;\e X# X# The following six comment lines are recommendations for the support of X# the right-hand part of JIS X0208, Katakana syllabary: X# X# ;;;\e X# ;;\e X# ;...;;\e X# ;\e X# ;...;;\e X# ;;\e X# X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;\e X ;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;\e X ;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;\e X ;...;;\e X ;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;\e X ;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;...;;\e X ;\e X ;...;;\e X ;...;;\e X ;...;;\e X ;\e X ;\e X ;\e X ;\e X ;\e X X X# X# Toupper and tolower - also handle Roman, Greek and Russian X# characters in JIS X0208 X# X Xtoupper (,);(,);(,);(,);(,);\e X (,);(,);(,);(,);(,);\e X (,);(,);(,);(,);(,);\e X (

,

);(,);(,);(,);(,);\e X (,);(,);(,);(,);(,);\e X (,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,) X Xtolower (,);(,);(,);(,);(,);\e X (,);(,);(,);(,);(,);\e X (,);(,);(,);(,);(,);\e X (

,

);(,);(,);(,);(,);\e X (,);(,);(,);(,);(,);\e X (,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,);\e X (,);(,);(,) X XEND LC_CTYPE X.ft R X.fi X.H 2 "LC_COLLATE" XThe definition in this section deals with Hiragana and Katakana, Xin a restricted way. X.nf X.ft CW X XLC_COLLATE X X# This collation tabel is an attempt to satisfy Japanese X# requirements based on and within the scope of the current POSIX.2 X# Draft (D11), and is not regarded as a common practice in Japan. X# X# This collation table is for sorting Japanese by pronunciation. Only X# Hiragana and Katakana (collectively called Kana) are sorted. X# Kanji are sorted according to their encoding. It is expected that X# applications will make use of this by storing Yomi (or pronuciation) X# with each Kanji word or name, and that the Yomi will be used for X# sorting. For example, a telephone number database application might X# store the names of people in Kanji together with the Yomi. X# X# Portable characters are sorted according to their encoding, and upper X# case and lower case are sorted together. X# X# Collation rules were derived from a dictionary. The rules are given X# below, together with examples. In the examples, upper case is used to X# denote Katakana, and lower case to denote Hiragana. X# X# Rule Example X# X# Katakana before Hiragana GARON vs garon X# Small before Normal kyaku vs kiyaku X# Normal before Voiced before Semi-voiced han vs ban, BANKU vs PANKU X# ka before GA before ga kan vs GAN vs gan X# X# For ease of understanding, the symbolic character names used in this X# definition are the ones provided by Keld Simonsen in his 10646 charmap. X# X# The following iteration marks and voiced sound marks are not X# supported. X# X# <*5> HIRAGANA ITERATION MARK X# <+5> HIRAGANA VOICED ITERATION MARK X# <*6> KATAKANA ITERATION MARK X# <+6> KATAKANA VOICED ITERATION MARK X# <"5> HIRAGANA-KATAKANA VOICED SOUND MARK X# <05> HIRAGANA-KATAKANA SEMI-VOICED SOUND MARK X X X#------------------------------------------------------------------------------ X X X# The following definitions are for prolonged sounds (for Katakana X# only). X X Xcollating-element <*-a6-6> from <-6> Xcollating-element <*-a6A6> from Xcollating-element <*-A6-6> from <-6> Xcollating-element <*-A6A6> from Xcollating-element <*-Ka-6> from <-6> Xcollating-element <*-KaA6> from Xcollating-element <*-Ga-6> from <-6> Xcollating-element <*-GaA6> from Xcollating-element <*-Sa-6> from <-6> Xcollating-element <*-SaA6> from Xcollating-element <*-Za-6> from <-6> Xcollating-element <*-ZaA6> from Xcollating-element <*-Ta-6> from <-6> Xcollating-element <*-TaA6> from Xcollating-element <*-Da-6> from <-6> Xcollating-element <*-DaA6> from Xcollating-element <*-Na-6> from <-6> Xcollating-element <*-NaA6> from Xcollating-element <*-Ha-6> from <-6> Xcollating-element <*-HaA6> from Xcollating-element <*-Ba-6> from <-6> Xcollating-element <*-BaA6> from Xcollating-element <*-Pa-6> from <-6> Xcollating-element <*-PaA6> from Xcollating-element <*-Ma-6> from <-6> Xcollating-element <*-MaA6> from Xcollating-element <*-YA-6> from <-6> Xcollating-element <*-YAA6> from Xcollating-element <*-Ya-6> from <-6> Xcollating-element <*-YaA6> from Xcollating-element <*-Ra-6> from <-6> Xcollating-element <*-RaA6> from Xcollating-element <*-WA-6> from <-6> Xcollating-element <*-WAA6> from Xcollating-element <*-Wa-6> from <-6> Xcollating-element <*-WaA6> from Xcollating-element <*-i6-6> from <-6> Xcollating-element <*-i6I6> from Xcollating-element <*-I6-6> from <-6> Xcollating-element <*-I6I6> from Xcollating-element <*-Ki-6> from <-6> Xcollating-element <*-KiI6> from Xcollating-element <*-Gi-6> from <-6> Xcollating-element <*-GiI6> from Xcollating-element <*-Si-6> from <-6> Xcollating-element <*-SiI6> from Xcollating-element <*-Zi-6> from <-6> Xcollating-element <*-ZiI6> from Xcollating-element <*-Ti-6> from <-6> Xcollating-element <*-TiI6> from Xcollating-element <*-Di-6> from <-6> Xcollating-element <*-DiI6> from Xcollating-element <*-Ni-6> from <-6> Xcollating-element <*-NiI6> from Xcollating-element <*-Hi-6> from <-6> Xcollating-element <*-HiI6> from Xcollating-element <*-Pi-6> from <-6> Xcollating-element <*-PiI6> from Xcollating-element <*-Bi-6> from <-6> Xcollating-element <*-BiI6> from Xcollating-element <*-Mi-6> from <-6> Xcollating-element <*-MiI6> from Xcollating-element <*-Ri-6> from <-6> Xcollating-element <*-RiI6> from Xcollating-element <*-Wi-6> from <-6> Xcollating-element <*-WiI6> from Xcollating-element <*-u6-6> from <-6> Xcollating-element <*-u6U6> from Xcollating-element <*-U6-6> from <-6> Xcollating-element <*-U6U6> from Xcollating-element <*-Ku-6> from <-6> Xcollating-element <*-KuU6> from Xcollating-element <*-Gu-6> from <-6> Xcollating-element <*-GuU6> from Xcollating-element <*-Su-6> from <-6> Xcollating-element <*-SuU6> from Xcollating-element <*-Zu-6> from <-6> Xcollating-element <*-ZuU6> from Xcollating-element <*-Tu-6> from <-6> Xcollating-element <*-TuU6> from Xcollating-element <*-Du-6> from <-6> Xcollating-element <*-DuU6> from Xcollating-element <*-Nu-6> from <-6> Xcollating-element <*-NuU6> from Xcollating-element <*-Hu-6> from <-6> Xcollating-element <*-HuU6> from Xcollating-element <*-Bu-6> from <-6> Xcollating-element <*-BuU6> from Xcollating-element <*-Pu-6> from <-6> Xcollating-element <*-PuU6> from Xcollating-element <*-Mu-6> from <-6> Xcollating-element <*-MuU6> from Xcollating-element <*-YU-6> from <-6> Xcollating-element <*-YUU6> from Xcollating-element <*-Yu-6> from <-6> Xcollating-element <*-YuU6> from Xcollating-element <*-Ru-6> from <-6> Xcollating-element <*-RuU6> from Xcollating-element <*-Vu-6> from <-6> Xcollating-element <*-VuU6> from Xcollating-element <*-e6-6> from <-6> Xcollating-element <*-e6E6> from Xcollating-element <*-E6-6> from <-6> Xcollating-element <*-E6E6> from Xcollating-element <*-Ke-6> from <-6> Xcollating-element <*-KeE6> from Xcollating-element <*-Ge-6> from <-6> Xcollating-element <*-GeE6> from Xcollating-element <*-Se-6> from <-6> Xcollating-element <*-SeE6> from Xcollating-element <*-Ze-6> from <-6> Xcollating-element <*-ZeE6> from Xcollating-element <*-Te-6> from <-6> Xcollating-element <*-TeE6> from Xcollating-element <*-De-6> from <-6> Xcollating-element <*-DeE6> from Xcollating-element <*-Ne-6> from <-6> Xcollating-element <*-NeE6> from Xcollating-element <*-He-6> from <-6> Xcollating-element <*-HeE6> from Xcollating-element <*-Be-6> from <-6> Xcollating-element <*-BeE6> from Xcollating-element <*-Pe-6> from <-6> Xcollating-element <*-PeE6> from Xcollating-element <*-Me-6> from <-6> Xcollating-element <*-MeE6> from Xcollating-element <*-Re-6> from <-6> Xcollating-element <*-ReE6> from Xcollating-element <*-We-6> from <-6> Xcollating-element <*-WeE6> from Xcollating-element <*-o6-6> from <-6> Xcollating-element <*-o6O6> from Xcollating-element <*-O6-6> from <-6> Xcollating-element <*-O6O6> from Xcollating-element <*-Ko-6> from <-6> Xcollating-element <*-KoO6> from Xcollating-element <*-Go-6> from <-6> Xcollating-element <*-GoO6> from Xcollating-element <*-So-6> from <-6> Xcollating-element <*-SoO6> from Xcollating-element <*-Zo-6> from <-6> Xcollating-element <*-ZoO6> from Xcollating-element <*-To-6> from <-6> Xcollating-element <*-ToO6> from Xcollating-element <*-Do-6> from <-6> Xcollating-element <*-DoO6> from Xcollating-element <*-No-6> from <-6> Xcollating-element <*-NoO6> from Xcollating-element <*-Ho-6> from <-6> Xcollating-element <*-HoO6> from Xcollating-element <*-Bo-6> from <-6> Xcollating-element <*-BoO6> from Xcollating-element <*-Po-6> from <-6> Xcollating-element <*-PoO6> from Xcollating-element <*-Mo-6> from <-6> Xcollating-element <*-MoO6> from Xcollating-element <*-YO-6> from <-6> Xcollating-element <*-YOO6> from Xcollating-element <*-Yo-6> from <-6> Xcollating-element <*-YoO6> from Xcollating-element <*-Ro-6> from <-6> Xcollating-element <*-RoO6> from Xcollating-element <*-Wo-6> from <-6> Xcollating-element <*-WoO6> from X X X# ----------------------------------------------------------------------------- X X Xorder_start forward;forward X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X

;

X

;

X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X ; X X X X X X X X X X X X ; X<*-a6-6> ;<-6> X<*-a6A6> ; X ; X ; X<*-A6-6> ;<-6> X<*-A6A6> ; X ; X ; X<*-i6-6> ;<-6> X<*-i6I6> ; X ; X ; X<*-I6-6> ;<-6> X<*-I6I6> ; X ; X ; X<*-u6-6> ;<-6> X<*-u6U6> ; X ; X ; X<*-U6-6> ;<-6> X<*-U6U6> ; X ; X ; X<*-Vu-6> ;<-6> X<*-VuU6> ; X ; X<*-e6-6> ;<-6> X<*-e6E6> ; X ; X ; X<*-E6-6> ;<-6> X<*-E6E6> ; X ; X ; X<*-o6-6> ;<-6> X<*-o6O6> ; X ; X ; X<*-O6-6> ;<-6> X<*-O6O6> ; X ; X ; X ; X<*-Ka-6> ;<-6> X<*-KaA6> ; X ; X ; X<*-Ga-6> ;<-6> X<*-GaA6> ; X ; X ; X<*-Ki-6> ;<-6> X<*-KiI6> ; X ; X ; X<*-Gi-6> ;<-6> X<*-GiI6> ; X ; X ; X<*-Ku-6> ;<-6> X<*-KuU6> ; X ; X ; X<*-Gu-6> ;<-6> X<*-GuU6> ; X ; X ; X ; X<*-Ke-6> ;<-6> X<*-KeE6> ; X ; X ; X<*-Ge-6> ;<-6> X<*-GeE6> ; X ; X ; X<*-Ko-6> ;<-6> X<*-KoO6> ; X ; X ; X<*-Go-6> ;<-6> X<*-GoO6> ; X ; X ; X<*-Sa-6> ;<-6> X<*-SaA6> ; X ; X ; X<*-Za-6> ;<-6> X<*-ZaA6> ; X ; X ; X<*-Si-6> ;<-6> X<*-SiI6> ; X ; X ; X<*-Zi-6> ;<-6> X<*-ZiI6> ; X ; X ; X<*-Su-6> ;<-6> X<*-SuU6> ; X ; X ; X<*-Zu-6> ;<-6> X<*-ZuU6> ; X ; X ; X<*-Se-6> ;<-6> X<*-SeE6> ; X ; X ; X<*-Ze-6> ;<-6> X<*-ZeE6> ; X ; X ; X<*-So-6> ;<-6> X<*-SoO6> ; X ; X ; X<*-Zo-6> ;<-6> X<*-ZoO6> ; X ; X ; X<*-Ta-6> ;<-6> X<*-TaA6> ; X ; X ; X<*-Da-6> ;<-6> X<*-DaA6> ; X ; X ; X<*-Ti-6> ;<-6> X<*-TiI6> ; X ; X ; X<*-Di-6> ;<-6> X<*-DiI6> ; X ; X ; X ; X ; X<*-Tu-6> ;<-6> X<*-TuU6> ; X ; X ; X<*-Du-6> ;<-6> X<*-DuU6> ; X ; X ; X<*-Te-6> ;<-6> X<*-TeE6> ; X ; X ; X<*-De-6> ;<-6> X<*-DeE6> ; X ; X ; X<*-To-6> ;<-6> X<*-ToO6> ; X ; X ; X<*-Do-6> ;<-6> X<*-DoO6> ; X ; X ; X<*-Na-6> ;<-6> X<*-NaA6> ; X ; X ; X<*-Ni-6> ;<-6> X<*-NiI6> ; X ; X ; X<*-Nu-6> ;<-6> X<*-NuU6> ; X ; X ; X<*-Ne-6> ;<-6> X<*-NeE6> ; X ; X ; X<*-No-6> ;<-6> X<*-NoO6> ; X ; X ; X<*-Ha-6> ;<-6> X<*-HaA6> ; X ; X ; X<*-Ba-6> ;<-6> X<*-BaA6> ; X ; X ; X<*-Pa-6> ;<-6> X<*-PaA6> ; X ; X ; X<*-Hi-6> ;<-6> X<*-HiI6> ; X ; X ; X<*-Bi-6> ;<-6> X<*-BiI6> ; X ; X ; X<*-Pi-6> ;<-6> X<*-PiI6> ; X ; X ; X<*-Hu-6> ;<-6> X<*-HuU6> ; X ; X ; X<*-Bu-6> ;<-6> X<*-BuU6> ; X ; X ; X<*-Pu-6> ;<-6> X<*-PuU6> ; X ; X ; X<*-He-6> ;<-6> X<*-HeE6> ; X ; X ; X<*-Be-6> ;<-6> X<*-BeE6> ; X ; X ; X<*-Pe-6> ;<-6> X<*-PeE6> ; X ; X ; X<*-Ho-6> ;<-6> X<*-HoO6> ; X ; X ; X<*-Bo-6> ;<-6> X<*-BoO6> ; X ; X ; X<*-Po-6> ;<-6> X<*-PoO6> ; X ; X ; X<*-Ma-6> ;<-6> X<*-MaA6> ; X ; X ; X<*-Mi-6> ;<-6> X<*-MiI6> ; X ; X ; X<*-Mu-6> ;<-6> X<*-MuU6> ; X ; X ; X<*-Me-6> ;<-6> X<*-MeE6> ; X ; X ; X<*-Mo-6> ;<-6> X<*-MoO6> ; X ; X ; X<*-YA-6> ;<-6> X<*-YAA6> ; X ; X ; X<*-Ya-6> ;<-6> X<*-YaA6> ; X ; X ; X<*-YU-6> ;<-6> X<*-YUU6> ; X ; X ; X<*-Yu-6> ;<-6> X<*-YuU6> ; X ; X ; X<*-YO-6> ;<-6> X<*-YOO6> ; X ; X ; X<*-Yo-6> ;<-6> X<*-YoO6> ; X ; X ; X<*-Ra-6> ;<-6> X<*-RaA6> ; X ; X ; X<*-Ri-6> ;<-6> X<*-RiI6> ; X ; X ; X<*-Ru-6> ;<-6> X<*-RuU6> ; X ; X ; X<*-Re-6> ;<-6> X<*-ReE6> ; X ; X ; X<*-Ro-6> ;<-6> X<*-RoO6> ; X ; X ; X<*-WA-6> ;<-6> X<*-WAA6> ; X ; X ; X<*-Wa-6> ;<-6> X<*-WaA6> ; X ; X ; X<*-Wi-6> ;<-6> X<*-WiI6> ; X ; X ; X<*-We-6> ;<-6> X<*-WeE6> ; X ; X ; X<*-Wo-6> ;<-6> X<*-WoO6> ; X ; X ; X ; XUNDEFINED Xorder_end X X XEND LC_COLLATE X.ft R X.fi X.H 2 "LC_MESSAGES" X.nf X.ft CW X XLC_MESSAGES X X# Any string starting with any form of Latin Y is X# recognized as affirmative answer. X# Any string starting with any form of Latin N is X# recognized as negative answer. X# Installations may add other definitions such as for X# Hiragana and Katakana strings. X X# yesexpr "^[]" X Xyesexpr "\e X " X X# noexpr "^[]" X Xnoexpr "\e X " X XEND LC_MESSAGES X.ft R X.H 2 "LC_MONETARY" X.nf X.ft CW X XLC_MONETARY X X# X# The character used as currency_symbol may X# either be double-assigned to (whose code X# in ISO 646 is for YEN sign in JIS X0201) or . X# X Xint_curr_symbol "

" Xcurrency_symbol "" Xmon_decimal_point "" Xmon_thousand_sep "" Xmon_grouping "3;0" Xpositive_sign "" Xnegative_sign "" Xint_frac_digits "0" Xfrac_digits "0" Xp_cs_precedes "1" Xp_sep_by_space "0" Xn_cs_precedes "1" Xn_sep_by_space "0" Xp_sign_posn "1" Xn_sign_posn "4" X XEND LC_MONETARY X.ft R X.fi X.H 2 "LC_NUMERIC" X.nf X.ft CW X XLC_NUMERIC X X# X# Japanese numeric representation currently widely used X# is the one imported from the U.S. in late 19th century. X# X Xdecimal_point "" Xthousands_sep "" Xgrouping "3;0" X XEND LC_NUMERIC X.ft R X.fi X.H 2 "LC_TIME" X.nf X.ft CW X XLC_TIME X X# X# The definition uses Kanji where it is appropriate. X# We have same definition for abmon and mon, because Japanese X# full representation for a month is enough short. Ancient X# month names (MUTUKI, KISARAGI, YAYOI, etc.) are not supported. X# X X# X# NICHI, GETSU, KA, SUI, MOKU, KIN and DO in Kanji X# for Sunday through Saturday respectively. X# X Xabday "";"";"";"";\e X.mc 1 X "";"";"" X.mc X X# X# NICHI-YOBI, GETSU-YOBI, KA-YOBI, SUI-YOBI, X# MOKU-YOBI, KIN-YOBI and DO-YOBI in Kanji X# for Sunday through Saturday respectively. X# X Xday "";"";\e X "";"";\e X "";"";\e X.mc 1 X "" X.mc X X# Abmon and mon: X# X# Abmon and mon are identical. X# The numeric character part in abmon and mon may X# either the digits in portable characters X# or the numbers in JIS X0208. The conforming X# installations shall choose one of these two X# different definitions: X# X# (1) 1-gatsu, 2-gatsu, and so on with portable X# characters for January through December. X# X# abmon "";"";"";\e X# "";"";"";\e X# "";"";"";\e X# "";"";\e X# "" X# X# mon "";"";"";\e X# "";"";"";\e X# "";"";"";\e X# "";"";\e X# "" X# X# (2) 1-gatsu, 2-gatsu, and so on with numbers in JIS X0208 X# for January through December. X# X# abmon "";"";"";\e X# "";"";"";\e X# "";"";"";\e X# "";"";\e X# "" X# X# mon "";"";"";\e X# "";"";"";\e X# "";"";"";\e X# "";"";\e X# "" X# X X# Era year X# HEISEI, SHOWA, TAISHO and MEIJI eras are supported which X# are in anti-chronological order. X# Years before MEIJI are printed as SEIREKI (A.D.) or KIGENZEN (B.C.). X# X# era "+:2:1990/01/01:+*::%N%o";\e X# "+:1:1989/01/08:1989/12/31::%N";\e X# "+:2:1927/01/01:1989/01/07::%N%o";\e X# "+:1:1926/12/25:1926/12/31::%N";\e X# "+:2:1913/01/01:1926/12/24::%N%o";\e X# "+:1:1912/07/30:1912/12/31::%N";\e X# "+:2:1869/01/01:1912/07/29::%N%o";\e X# "+:1:1868/09/08:1868/12/31::%N";\e X# "+:1:1/1/1:1868/09/07::%N%o";\e X# "-:1:-1/12/31:-*::%N%o" X Xera "\e X\e X\e X\e X\e X";\e X "\e X\e X\e X\e X\e X";\e X "\e X\e X\e X\e X\e X";\e X "\e X\e X5\e X\e X\e X";\e X "\e X\e X\e X4\e X\e X";\e X "\e X\e X\e X\e X\e X";\e X "\e X\e X\e X\e X\e X";\e X "\e X\e X\e X\e X\e X";\e X "\e X\e X\e X\e X\e X";\e X "\e X\e X\e X\e X\e X" X X# Expected output date format: X# X# HEISEI 2 NEN 8 GATSU 20 NICHI ( GETSU ) 9 JI 30 FUN 0 BYOU X# in Kanji X# X# d_t_fmt "%E%m%d%a%H%M%S" X# X Xd_t_fmt "\e X\e X" X X# X# %y/%m/%d (91/02/28) X# X# d_fmt "%y%m%d" X# X Xd_fmt "" X X# X# %H:%M:%S (9:45:00) X# X# t_fmt "%H%M%S" X# X Xt_fmt "" X X# X# GOZEN and GOGO in Kanji for a.m and p.m. respectively X# X X.mc 1 Xam_pm "";"" X.mc X XEND LC_TIME X.ft R X.fi X.H 2 "LANG" XIt is recommended that LANG should be defined using a scheme which is Xproposed by X/Open for X/Open Portability Guide Edition 4(XPG4). X'" Reset first level header number X.nr H1 0 X'" Modify first level heading mark to uppercase alphabet X.HM A X.de HX X.if \\$1=1 .sp 5 X.if \\$1=1 .ds }0 Annex\ \\n(H1\:\ \ X.. X.H 1 "(informative) Rationale and Notes" X.H 2 "General" X.H 2 "Parameters and Options" X.H 3 "Charmap (POSIX.2)" X.H 4 "Character Codes and Glyphs in the National Standard" XIn addition to Japanese verison of ISO 646, XJapanese Industrial Standards Commission has defined Xthree character sets: JIS X\|0201, JIS X\|0208 and JIS X\|0212. XSome implementations map these three character sets into Xa multi-octet code space with the most significant bit in each octet ignored, Xwhile other implementations utilize all the bits in each octet. XBoth stateful and stateless encoding schemes are widely used. X.P XWe have several popular mapping Ximplementations usually referred to as JIS7, JIS8, UJIS (JIS based on EUC) Xand Shifted JIS (or MS Kanji code). There are EBCDIC-based Ximplementations, collectively known as EBCDIC Kanji, which are vendor specific. XThere are also other vendor specific mapping implementations. X.P XJapanese version of ISO 646 consists of the same character set Xas ISO 646IRV except: X.BL X.LI Xsubstitutes \o'Y=' (yen currency symbol) for \e (backslash); X.LI Xsubstitutes \(rn (overbar sign) for ~ (tilde). X.LE X.P XJIS X\|0201 consists of: X.BL X.LI Xthe left-hand part which contains the same character set as Japanese Xversion of ISO 646; X.LI Xthe right-hand part which contains Katakana syllabary. X.LE X.P XJIS X\|0208 consists of: X.BL X.LI XAlphanumeric characters and other symbols (overlaps with XJapanese version of ISO 646); X.LI XHiragana syllabary; X.LI XKatakana syllabary(overlaps with JIS X\|0201); X.LI XRussian and Greek characters; X.LI XSpecial symbols; X.LI XKanji. X.LE X.P XJIS X\|0212 consists of other Kanji characters. XThe number of characters defined in JIS X\|0208 and JIS X\|0212 in total is Xmore than 10,000. X.H 4 "Implementation Issues" X.H 3 "CHAR_BIT and Character Handling in C Language (ISO 9899)" XISO 9899 requests that the value of CHAR_BIT is equal to or greater than 8. XWe came to the conclusion that the CHAR_BIT value in Japanese National XProfile shall be 8 because of the two major reasons: almost all existing XUNIX systems in Japan as well as in the western world are practically Xbased on the CHAR_BIT value of 8; if we define any other value than X8 as the CHAR_BIT value in Japanese National Profile, the interoperability Xbetween existing systems and the conforming systems will become a big issue. X.P XIn the discussion about CHAR_BIT, there were many opinions presented. one Xof them is shown below: X.P XIt was suggested to define the CHAR_BIT to be large enough to handle multi- Xoctet character set such as Kanji character. There are still several questions Xaround this problem. In the definition of system function interface, the concept Xof character is still vague, especially for multi-octet characters. In ISO 9899 XC language standard, the concept of wchar_t is suggested, and it is quite Xdifferent from the ordinal character type which is suitable for handling Xa single octet character set such as ASCII and most European characters. XTherefore, even if the CHAR_BIT is supposed to be defined as 16, the entire Xproblem is not solved. X.P XFor example, it is still vague how to switch a single octet character set Xenvironment to multi-octet character set environment through the use of Xsetlocale function. In an ideal internationalized system, the multilingual Xsystem is desirable. That is, there are several national characters existing Xsimultaneously in one system environment. In that case, the concept of Xcharacter should be general enough to handle both single octet and Xmulti-octet characters. The current solution in C language standard to handle Xmulti-octet characters by using wchar_t does not fit to this goal. In that Xstatus, for the national profile for each country or cultural environment, Xthe definition should be carefully carried out so that several national Xprofiles can be handled simultaneously in the one system environment. X.P XIt is still vague whether a national profile defines the subset of the system Xenvironment from the generally defined environment (internationalized Xenvironment). For this purpose, it still needs to handle several character Xsets in the consistent manner. In the current C language standard, Xthe character type and wchar_t type is not necessarily consistent. XTherefore, we need to investigate an ideal method to handle several character Xsets consistently. X.H 3 "Delete Character (POSIX.1)" XThe operation of delete character in POSIX.1 is defined not for Xbyte (octet), but for character in POSIX term. Because it tends to Xbe misunderstood when multi-octet characters are used, Xthe description in this section was added. X.H 3 "File Name Length and its Handling (POSIX.1)" X.H 3 "Character Encoding for Path Name Delimiters (POSIX.1)" X.H 3 "Archive Format Extensions (POSIX.1)" XSSI/POSIX Working Group strongly feels the needs of multi-octet character Xusage in the archive format. But this means that there should be an Xagreement on the encoding scheme for multi-octet characters. XThe group will continue to study on this issue. X.H 2 "Japanese Locale (ISO 9899 and POSIX.2)" XAlthough the members in SSI/POSIX Working Group fells that the entire XJIS X\|0201 characters should be supported, there are a few vendors Xwhose existing systems do not support the right-hand part of JIS XX\|0201 (Katakana). The group therefore decided to remove such characters Xfrom mandatory character sets. X.H 3 "LC_CTYPE" X.H 3 "LC_COLLATE" X(Japanese characters) - XThe Japanese characters defined in JIS x\|0201, X\|0208 and X\|0212 Xconsist of the following: X.BL 1i X.LI XHiragana syllabary X.LI XKatakana syllabary X.LI XKanji X.LE X.P XRomanization (Romaji) is also used. X.P X(Japanese culture about the character order) - XIn many cases in Japan, the character order is mainly based on Xthe pronunciation of characters. XIn other cases, the order is based on the radicals and Xstroke numbers of Kanji, or combination of all or some of these. X.P X(Hiragana and Katakana) - XIn these characters, the letter and its pronunciation are usually Xmatched one by one with some exceptions listed below as issues. XSo it is relatively possible to define the collating sequence of XHiragana and Katakana independently. But in the case of mixture of XHiragana and Katakana, the collation is an issue. X.P XThe issues are the order of: X.BL 1i X.LI XHiragana and Katakana; X.LI XNormal and small characters for both Hiragana and Katakana (ex. kiya and kya); X.LI XNormal, Voiced and Semi-voiced characters for both Hiragana and XKatakana (ex. ha, ba and pa in Romanization); X.LI XIteration mark for both Hiragana and Katakana; X.LI XProlonged mark for Katakana. X.LE X(Kanji) - XKanji has several attributes - pronunciation, Xstroke number, radical, etc., and these attributes Xcould be the key to order them. X.P XA Kanji character may have multiple way of pronunciation. XFor example, the character (in JIS X\|0208) is Xpronounced in nine different ways depending on its usage in various Xwords which contains the character. In Romanization, these are Xshown as: X.DS X bi X hi X ni X pi X ka X jitsu X nichi X nitsu X tachi X.DE X.P XThe pronunciation of Kanji therefore can be determined Xonly when the word in which the Kanji is used is known. XSo it is not adequate for Kanji to be collated according to only one Xof the multiple pronunciations. X.P X(Romaji - Romanization of Hiragana and Katakana characters) - XIn Romaji, one character is represented with one, two or three XRoman alphabet. Each set of Roman alphabet therefore should be Xkept in the collation process, which is an issue. X.P X(An example of sorting rules use in Japan) - XA common telephone directory uses multiple sorting rules combined - Xpronunciation, stroke counts of XKanji character, first sound of initial character, sound counts of Xcharacter (one sounded character prior to two sounded character), etc.. X.H 3 "LC_MESSAGES" X.H 3 "LC_MONETARY" X.H 3 "LC_NUMERIC" X.H 3 "LC_TIME" X.H 3 "LANG" X'" Stop numbering the lines X.nm X'" Table of Contents X.TC 1 1 7 //GO.SYSIN DD jnp_v11.mm

;;;;;;;;;;;\e X ;...;;\e X ;...;;\e X ;...; X X# X# Lower class: X# Alphabets in portable character set, X# Roman letters in JIS X0208, X# Greek letters in JIS X0208 and X# Russian letters in JIS X0208. X Xlower ;;;;;;;;;;;;;\e X ;;