Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sjis(5) [osf1 man page]

shiftjis(5)							File Formats Manual						       shiftjis(5)

NAME
shiftjis, SJIS - A character encoding system (codeset) for Japanese DESCRIPTION
The Shift JIS (SJIS) codeset consists of the following character sets: JIS X0201 JIS X0208 User-Defined Characters (UDC) Shift JIS Encoding Shift JIS character codes use a combination of single-byte data and 2-byte data to represent characters defined in the JIS X0201 and JIS X0208 standards and in the UDC area. All JIS X0201 characters are represented in the form of single-byte data. The Roman letters in JIS X0201 are encoded by setting the most significant bit (MSB) of each byte to off, while the Katakana characters are encoded by setting the most significant bit (MSB) of each byte to on. For more information on JIS X0201 characters, refer to deckanji(5). In the Super DEC Kanji codeset, the code ranges for JIS X0201 characters are as follows: For Roman letters, 00 to 7F For Katakana characters, A1 to DF JIS X0208 characters are encoded in 2-byte values. The values for the first bytes are encoded so that they fall outside the range of byte values for JIS X0201 characters (in other words, the JIS X0208 first byte ranges are from 81 to 9F and from E0 to FC). In this manner, characters from the two different standards can be supported by the same codeset. The range for the second byte of a JIS X0208 character is 40 to FC (except for 7F). For more information on JIS X0208 characters, refer to deckanji(5). The Shift JIS codeset provides for 2444 UDC characters. These are encoded as 2-byte values whose code range is F040 to FCFC. Font Support for Super DEC Kanji For display devices, the operating system supports Super DEC Kanji encoding by conversion to DEC Kanji encoding and then using fonts avail- able for DEC Kanji. Refer to the iconv_intro(5) reference page for information on codeset conversion. For printers, the operating system supports only printer-resident fonts; therefore, Super DEC Kanji fonts cannot be dynamically loaded to a printer. For general information on printing non-English text, refer to i18n_printing(5). SEE ALSO
Commands: locale(1) Others: ascii(5), deckanji(5), eucJP(5), i18n_intro(5), i18n_printing(5), iconv_intro(5), iso2022jp(5), Japanese(5), jiskanji(5), l10n_intro(5), sdeckanji(5) shiftjis(5)

Check Out this Related Man Page

eucJP(5)							File Formats Manual							  eucJP(5)

NAME
eucJP - A character encoding system (codeset) for Japanese DESCRIPTION
The Japanese EUC (Extended UNIX Code), or eucJP, codeset consists of the following character sets: CS0 (ASCII or JIS Roman) CS1 (JIS X0208) CS2 (JIS Katakana) CS3 (JIS X0212) CS0 is a primary character set. CS1, CS2, and CS3 are supplementary character sets. The MSB (Most Significant Bit) of the byte that repre- sents a character in CS0 is set off, whereas the MSB of the bytes that represent characters in CS1, CS2, and CS3 is set on. Japanese EUC Encoding The representation of ASCII/JIS Roman and JIS X0208 characters in the Japanese EUC codeset is similar to how those characters are repre- sented in the DEC Kanji codeset (refer to deckanji(5)). The two additional character sets, JIS Katakana and JIS X0212, are encoded in the Japanese EUC codeset by making use of the SS2 (Single Shift 2) and SS3 (Single Shift 3) control characters. The Japanese EUC codeset provides the following two areas for representation of user-defined characters (UDC): ----------------------------------------------------------- Area Usage Row Range Number of Char- Code Range acters ----------------------------------------------------------- JIS X0208 85-94 940 F5A1-FEFE JIS X0212 78-94 1598 SS3 [EEA1-FEFE] ----------------------------------------------------------- The representation of UDCs on these two code planes is identical to that for standard characters that occupy the same planes. Code ranges distinguish between UDCs and standard JIS X0208 and JIS X0212 characters that occupy the same plane. Currently, the operating system does not support JIS X0212 (JIS Supplementary) characters. Codeset Conversion The following codeset converter pairs are available for converting Japanese characters between eucJP and other encoding formats. Refer to iconv_intro(5) for an introduction to codeset conversion. For more information about the other codeset for which eucJP is the input or out- put, see the reference page specified in the list item. deckanji_eucJP, eucJP_deckanji Converting from and to the DEC Kanji codeset: deckanji(5). ISO-2022-JP_eucJP, eucJP_ISO-2022-JP Converting from and to the ISO 2022 Japanese codeset: iso2022jp(5). ISO-2022-JPext_eucJP, eucJP_ISO-2022-JPext Converting from and to the ISO 2022 Japanese Extended codeset: iso2022jp(5). JIS7_eucJP, eucJP_JIS7 Converting from and to the JIS7 codeset: jiskanji(5). SJIS_eucJP, eucJP_SJIS Converting from and to the Shift JIS codeset: SJIS(5). Shift JIS encoding is identical to the encoding used in the Microsoft PC code page for Japanese. You can therefore use these con- verters to convert Japanese text from and to Japanese code-page format. See code_page(5) for more information about how the operat- ing system supports PC code pages. sdeckanji_eucJP, eucJP_sdeckanji Converting from and to the Super DEC Kanji codeset: sdeckanji(5). UCS-2_eucJP, eucJP_UCS-2 Converting from and to UCS-2 format: Unicode(5). UCS-4_eucJP, eucJP_UCS-4 Converting from and to UCS-4 format: Unicode(5). UTF-8_eucJP, eucJP_UTF-8 Converting from and to UTF--8 format: Unicode(5). Japanese EUC Fonts For display devices, the operating system supports Japanese EUC characters by converting Japanese EUC code to DEC Kanji code and then using the fonts for DEC Kanji. Because the CS3 character set is not supported by the DEC Kanji codeset, CS3 characters cannot be displayed. The operating system does not provide PostScript fonts for Japanese EUC. Some printers support Japanese with printer-resident fonts and print filters perform codeset conversion, if required, for the encoding used in the file input to the print job. For some other printers, you can set up a print filter to convert Japanese bitmap fonts to PostScript. Refer to i18n_printing(5) for introductory information about your printing options. SEE ALSO
Commands: locale(1) Others: ascii(5), code_page(5), i18n_intro(5), i18n_printing(5), iconv_intro(5), deckanji(5), iso2022jp(5), Japanese(5), jiskanji(5), l10n_intro(5), sdeckanji(5), shiftjis(5), Unicode(5) eucJP(5)
Man Page