freebsd-dev/share/mklocale/ja_JP.SJIS.src
Edwin Groothuis 1dc0e27d12 Fix printing of some wide-characters by iswprint() on ja_JP.eucJP
and ja_JP.SJIS locale

    The iswprint() function does not return non-zero if used for
    some wide-character that it code was 0x824f-0x8258 on ja_JP.SJIS
    and 0xa3b0-0xa3b9 on ja_JP.eucJP locale.  But those are right
    Japanese wide-character code.

PR:		conf/124511
Submitted by:	Michihiro NAKAJIMA <ggcueroad@gmail.com>
MFC after:	1 week
2009-06-12 23:15:36 +00:00

291 lines
10 KiB
Plaintext

/*
* ja_JP.SJIS locale table for BSD4.4/rune
* version 1.0
* (C) Sin'ichiro MIYATANI / Phase One, Inc
* May 12, 1995
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. All advertising materials mentioning features or use of this software
* must display the following acknowledgement:
* This product includes software developed by Phase One, Inc.
* 4. The name of Phase One, Inc. may be used to endorse or promote products
* derived from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
* ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
* OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $FreeBSD$
*/
ENCODING "MSKanji"
/*
* ASCII byte code
*/
ALPHA 'A'-'Z' 'a'-'z'
CONTROL 0x00-0x1f 0x7f
DIGIT '0'-'9'
GRAPH 0x21-0x7e
LOWER 'a'-'z'
PUNCT 0x21-0x2f 0x3a-0x40 0x5b-0x60 0x7b-0x7e
SPACE 0x09-0x0d 0x20
UPPER 'A'-'Z'
XDIGIT '0'-'9' 'a'-'f' 'A'-'F'
BLANK ' ' '\t'
PRINT 0x20-0x7e
SWIDTH1 0x20-0x7e
MAPLOWER <'A'-'Z':'a'><'a'-'z':'a'>
MAPUPPER <'A'-'Z':'A'><'a'-'z':'A'>
TODIGIT <'0'-'9':0>
TODIGIT <'A'-'F':10><'a'-'f':10>
/*
* JIS X201
*/
PUNCT 0xa1-0xa5
SPACE 0xa0
BLANK 0xa0
SPECIAL 0xa1-0xdf
PHONOGRAM 0xa6-0xdf
SWIDTH1 0xa0-0xdf
/*
* JIS X208/SJIS
*/
/* 100 */
PUNCT 0x8141-0x8151 0x8159-0x815a 0x815c-0x817e 0x8180-0x819e
SPACE 0x8140
BLANK 0x8140
PHONOGRAM 0x8152-0x8158 0x815b
/* 200 */
PUNCT 0x819f-0x81ac 0x81b8-0x81bf 0x81c8-0x81ce 0x81da-0x81e8
PUNCT 0x81f0-0x81f7 0x81fc
/* 300 */
PRINT 0x824f-0x8258 */
/* ?XDIGIT 0x8260-0x8265 0x8281-0x8286 */
ALPHA 0x8260-0x8279 0x8281-0x829a
UPPER 0x8260-0x8279
LOWER 0x8281-0x829a
MAPLOWER <0x8260-0x8279:0x8281>
MAPLOWER <0x8281-0x829a:0x8281>
MAPUPPER <0x8260-0x8279:0x8260>
MAPUPPER <0x8281-0x829a:0x8260>
TODIGIT <0x824f-0x8258:0>
TODIGIT <0x8260-0x8265:10>
TODIGIT <0x8281-0x8286:10>
/* 400 */
PHONOGRAM 0x829f-0x82f1
/* 500 */
PHONOGRAM 0x8340-0x837e
PHONOGRAM 0x8380-0x8396
/* 600 */
UPPER 0x839f-0x83b6
LOWER 0x83bf-0x83d6
MAPLOWER <0x839f-0x83b6:0x83bf>
MAPLOWER <0x83bf-0x83d6:0x83bf>
MAPUPPER <0x839f-0x83b6:0x839f>
MAPUPPER <0x83bf-0x83d6:0x839f>
/* 700 */
UPPER 0x8440-0x8460
LOWER 0x8470-0x847e 0x8480-0x8491
MAPLOWER <0x8440-0x844e:0x8470><0x844f-0x8460:0x8480>
MAPLOWER <0x8470-0x847e:0x8470><0x8480-0x8491:0x8480>
MAPUPPER <0x8440-0x8460:0x8440>
MAPUPPER <0x8470-0x847e:0x8440><0x8480-0x8491:0x844f>
/* 800 */
SPECIAL 0x849f-0x84be
SWIDTH2 0x8140-0x817e 0x8180-0x819e /* 100 */
SWIDTH2 0x819f-0x81ac 0x81b8-0x81bf /* 200 */
SWIDTH2 0x81c8-0x81ce 0x81da-0x81e8
SWIDTH2 0x81f0-0x81f7 0x81fc
SWIDTH2 0x824f-0x8258 0x8260-0x8279 /* 300 */
SWIDTH2 0x8281-0x829a
SWIDTH2 0x829f-0x82f1 /* 400 */
SWIDTH2 0x8340-0x837e /* 500 */
SWIDTH2 0x8380-0x8396
SWIDTH2 0x839f-0x83b6 /* 600 */
SWIDTH2 0x83bf-0x83d6
SWIDTH2 0x8440-0x8460 /* 700 */
SWIDTH2 0x8470-0x847e 0x8480-0x8491
SWIDTH2 0x849f-0x84be /* 800 */
/* 1600- */
IDEOGRAM 0x889f-0x88fc /* 1600 */
IDEOGRAM 0x8940-0x897e 0x8980-0x899e /* 1700 */
IDEOGRAM 0x899f-0x89fc /* 1800 */
IDEOGRAM 0x8a40-0x8a7e 0x8a80-0x8a9e /* 1900 */
IDEOGRAM 0x8a9f-0x8afc /* 2000 */
IDEOGRAM 0x8b40-0x8b7e 0x8b80-0x8b9e /* 2100 */
IDEOGRAM 0x8b9f-0x8bfc /* 2200 */
IDEOGRAM 0x8c40-0x8c7e 0x8c80-0x8c9e /* 2300 */
IDEOGRAM 0x8c9f-0x8cfc /* 2400 */
IDEOGRAM 0x8d40-0x8d7e 0x8d80-0x8d9e /* 2500 */
IDEOGRAM 0x8d9f-0x8dfc /* 2600 */
IDEOGRAM 0x8e40-0x8e7e 0x8e80-0x8e9e /* 2700 */
IDEOGRAM 0x8e9f-0x8efc /* 2800 */
IDEOGRAM 0x8f40-0x8f7e 0x8f80-0x8f9e /* 2900 */
IDEOGRAM 0x8f9f-0x8ffc /* 3000 */
IDEOGRAM 0x9040-0x907e 0x9080-0x909e /* 3100 */
IDEOGRAM 0x909f-0x90fc /* 3200 */
IDEOGRAM 0x9140-0x917e 0x9180-0x919e /* 3300 */
IDEOGRAM 0x919f-0x91fc /* 3400 */
IDEOGRAM 0x9240-0x927e 0x9280-0x929e /* 3500 */
IDEOGRAM 0x929f-0x92fc /* 3600 */
IDEOGRAM 0x9340-0x937e 0x9380-0x939e /* 3700 */
IDEOGRAM 0x939f-0x93fc /* 3800 */
IDEOGRAM 0x9440-0x947e 0x9480-0x949e /* 3900 */
IDEOGRAM 0x949f-0x94fc /* 4000 */
IDEOGRAM 0x9540-0x957e 0x9580-0x959e /* 4100 */
IDEOGRAM 0x959f-0x95fc /* 4200 */
IDEOGRAM 0x9640-0x967e 0x9680-0x969e /* 4300 */
IDEOGRAM 0x969f-0x96fc /* 4400 */
IDEOGRAM 0x9740-0x977e 0x9780-0x979e /* 4500 */
IDEOGRAM 0x979f-0x97fc /* 4600 */
IDEOGRAM 0x9840-0x987e 0x9880-0x989e /* 4700 */
IDEOGRAM 0x989f-0x98fc /* 4800 */
IDEOGRAM 0x9940-0x997e 0x9980-0x999e /* 4900 */
IDEOGRAM 0x999f-0x99fc /* 5000 */
IDEOGRAM 0x9a40-0x9a7e 0x9a80-0x9a9e /* 5100 */
IDEOGRAM 0x9a9f-0x9afc /* 5200 */
IDEOGRAM 0x9b40-0x9b7e 0x9b80-0x9b9e /* 5300 */
IDEOGRAM 0x9b9f-0x9bfc /* 5400 */
IDEOGRAM 0x9c40-0x9c7e 0x9c80-0x9c9e /* 5500 */
IDEOGRAM 0x9c9f-0x9cfc /* 5600 */
IDEOGRAM 0x9d40-0x9d7e 0x9d80-0x9d9e /* 5700 */
IDEOGRAM 0x9d9f-0x9dfc /* 5800 */
IDEOGRAM 0x9e40-0x9e7e 0x9e80-0x9e9e /* 5900 */
IDEOGRAM 0x9e9f-0x9efc /* 6000 */
IDEOGRAM 0x9f40-0x9f7e 0x9f80-0x9f9e /* 6100 */
IDEOGRAM 0x9f9f-0x9ffc /* 6200 */
IDEOGRAM 0xe040-0xe07e 0xe080-0xe09e /* 6300 */
IDEOGRAM 0xe09f-0xe0fc /* 6400 */
IDEOGRAM 0xe140-0xe17e 0xe180-0xe19e /* 6500 */
IDEOGRAM 0xe19f-0xe1fc /* 6600 */
IDEOGRAM 0xe240-0xe27e 0xe280-0xe29e /* 6700 */
IDEOGRAM 0xe29f-0xe2fc /* 6800 */
IDEOGRAM 0xe340-0xe37e 0xe380-0xe39e /* 6900 */
IDEOGRAM 0xe39f-0xe3fc /* 7000 */
IDEOGRAM 0xe440-0xe47e 0xe480-0xe49e /* 7100 */
IDEOGRAM 0xe49f-0xe4fc /* 7200 */
IDEOGRAM 0xe540-0xe57e 0xe580-0xe59e /* 7300 */
IDEOGRAM 0xe59f-0xe5fc /* 7400 */
IDEOGRAM 0xe640-0xe67e 0xe680-0xe69e /* 7500 */
IDEOGRAM 0xe69f-0xe6fc /* 7600 */
IDEOGRAM 0xe740-0xe77e 0xe780-0xe79e /* 7700 */
IDEOGRAM 0xe79f-0xe7fc /* 7800 */
IDEOGRAM 0xe840-0xe87e 0xe880-0xe89e /* 7900 */
IDEOGRAM 0xe89f-0xe8fc /* 8000 */
IDEOGRAM 0xe940-0xe97e 0xe980-0xe99e /* 8100 */
IDEOGRAM 0xe99f-0xe9fc /* 8200 */
IDEOGRAM 0xea40-0xea7e 0xea80-0xea9e /* 8300 */
IDEOGRAM 0xea9f-0xeaa4 /* 8400 */
IDEOGRAM 0xed40-0xed7e 0xed80-0xedfc
IDEOGRAM 0xee40-0xee7e 0xee80-0xeeeb
DIGIT 0xeeef-0xeef8
TODIGIT <0xeeef-0xeef8:1>
PUNCT 0xeef9-0xeefc
DIGIT 0xfa40-0xfa49
TODIGIT <0xfa40-0xfa49:1>
DIGIT 0xfa4a-0xfa53
TODIGIT <0xfa4a-0xfa53:1>
PUNCT 0xfa54-0xfafb
IDEOGRAM 0xfa5c-0xfa7e 0xfa80-0xfafc
IDEOGRAM 0xfb40-0xfb7e 0xfb80-0xfbfc
IDEOGRAM 0xfc40-0xfc4b
SWIDTH2 0x889f-0x88fc /* 1600 */
SWIDTH2 0x8940-0x897e 0x8980-0x899e /* 1700 */
SWIDTH2 0x899f-0x89fc /* 1800 */
SWIDTH2 0x8a40-0x8a7e 0x8a80-0x8a9e /* 1900 */
SWIDTH2 0x8a9f-0x8afc /* 2000 */
SWIDTH2 0x8b40-0x8b7e 0x8b80-0x8b9e /* 2100 */
SWIDTH2 0x8b9f-0x8bfc /* 2200 */
SWIDTH2 0x8c40-0x8c7e 0x8c80-0x8c9e /* 2300 */
SWIDTH2 0x8c9f-0x8cfc /* 2400 */
SWIDTH2 0x8d40-0x8d7e 0x8d80-0x8d9e /* 2500 */
SWIDTH2 0x8d9f-0x8dfc /* 2600 */
SWIDTH2 0x8e40-0x8e7e 0x8e80-0x8e9e /* 2700 */
SWIDTH2 0x8e9f-0x8efc /* 2800 */
SWIDTH2 0x8f40-0x8f7e 0x8f80-0x8f9e /* 2900 */
SWIDTH2 0x8f9f-0x8ffc /* 3000 */
SWIDTH2 0x9040-0x907e 0x9080-0x909e /* 3100 */
SWIDTH2 0x909f-0x90fc /* 3200 */
SWIDTH2 0x9140-0x917e 0x9180-0x919e /* 3300 */
SWIDTH2 0x919f-0x91fc /* 3400 */
SWIDTH2 0x9240-0x927e 0x9280-0x929e /* 3500 */
SWIDTH2 0x929f-0x92fc /* 3600 */
SWIDTH2 0x9340-0x937e 0x9380-0x939e /* 3700 */
SWIDTH2 0x939f-0x93fc /* 3800 */
SWIDTH2 0x9440-0x947e 0x9480-0x949e /* 3900 */
SWIDTH2 0x949f-0x94fc /* 4000 */
SWIDTH2 0x9540-0x957e 0x9580-0x959e /* 4100 */
SWIDTH2 0x959f-0x95fc /* 4200 */
SWIDTH2 0x9640-0x967e 0x9680-0x969e /* 4300 */
SWIDTH2 0x969f-0x96fc /* 4400 */
SWIDTH2 0x9740-0x977e 0x9780-0x979e /* 4500 */
SWIDTH2 0x979f-0x97fc /* 4600 */
SWIDTH2 0x9840-0x987e 0x9880-0x989e /* 4700 */
SWIDTH2 0x989f-0x98fc /* 4800 */
SWIDTH2 0x9940-0x997e 0x9980-0x999e /* 4900 */
SWIDTH2 0x999f-0x99fc /* 5000 */
SWIDTH2 0x9a40-0x9a7e 0x9a80-0x9a9e /* 5100 */
SWIDTH2 0x9a9f-0x9afc /* 5200 */
SWIDTH2 0x9b40-0x9b7e 0x9b80-0x9b9e /* 5300 */
SWIDTH2 0x9b9f-0x9bfc /* 5400 */
SWIDTH2 0x9c40-0x9c7e 0x9c80-0x9c9e /* 5500 */
SWIDTH2 0x9c9f-0x9cfc /* 5600 */
SWIDTH2 0x9d40-0x9d7e 0x9d80-0x9d9e /* 5700 */
SWIDTH2 0x9d9f-0x9dfc /* 5800 */
SWIDTH2 0x9e40-0x9e7e 0x9e80-0x9e9e /* 5900 */
SWIDTH2 0x9e9f-0x9efc /* 6000 */
SWIDTH2 0x9f40-0x9f7e 0x9f80-0x9f9e /* 6100 */
SWIDTH2 0x9f9f-0x9ffc /* 6200 */
SWIDTH2 0xe040-0xe07e 0xe080-0xe09e /* 6300 */
SWIDTH2 0xe09f-0xe0fc /* 6400 */
SWIDTH2 0xe140-0xe17e 0xe180-0xe19e /* 6500 */
SWIDTH2 0xe19f-0xe1fc /* 6600 */
SWIDTH2 0xe240-0xe27e 0xe280-0xe29e /* 6700 */
SWIDTH2 0xe29f-0xe2fc /* 6800 */
SWIDTH2 0xe340-0xe37e 0xe380-0xe39e /* 6900 */
SWIDTH2 0xe39f-0xe3fc /* 7000 */
SWIDTH2 0xe440-0xe47e 0xe480-0xe49e /* 7100 */
SWIDTH2 0xe49f-0xe4fc /* 7200 */
SWIDTH2 0xe540-0xe57e 0xe580-0xe59e /* 7300 */
SWIDTH2 0xe59f-0xe5fc /* 7400 */
SWIDTH2 0xe640-0xe67e 0xe680-0xe69e /* 7500 */
SWIDTH2 0xe69f-0xe6fc /* 7600 */
SWIDTH2 0xe740-0xe77e 0xe780-0xe79e /* 7700 */
SWIDTH2 0xe79f-0xe7fc /* 7800 */
SWIDTH2 0xe840-0xe87e 0xe880-0xe89e /* 7900 */
SWIDTH2 0xe89f-0xe8fc /* 8000 */
SWIDTH2 0xe940-0xe97e 0xe980-0xe99e /* 8100 */
SWIDTH2 0xe99f-0xe9fc /* 8200 */
SWIDTH2 0xea40-0xea7e 0xea80-0xea9e /* 8300 */
SWIDTH2 0xea9f-0xeaa4 /* 8400 */