MSKANJI(5) BSD File Formats Manual MSKANJI(5)NAME
mskanji -- Shift-JIS (MS Kanji) encoding for Japanese text
SYNOPSIS
ENCODING "MSKanji"
DESCRIPTION
Shift-JIS, also known as MS Kanji or SJIS, is an encoding system for Japanese characters, developed by Microsoft Corporation. It encodes the
characters from the JIS X 0201 (ASCII/JIS-Roman) and JIS X 0208 (Japanese) character sets as sequences of either one or two bytes.
Characters from the ASCII/JIS-Roman character set are encoded as single bytes between 0x00 and 0x7F (ASCII) or 0xA1 and 0xDF (Half-width
katakana).
Characters from the JIS X 0208 character set are encoded as two bytes. The first ranges from 0x81 - 0x9F, 0xE0 - 0xEA, 0xED - 0xEE (not JIS:
NEC-selected IBM extended characters), 0xF0 - 0xF9 (not JIS: user defined), or 0xFA - 0xFC (not JIS: IBM extended characters). The second
byte ranges from 0x40 - 0xFC, excluding 0x7F (delete).
SEE ALSO euc(5), utf8(5)BSD August 7, 2003 BSD
Check Out this Related 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)
Manufacturer Links
General Information
Home Page: IBM United States
Documentation/Information: IBM System p - UNIX servers: Support and services
pSeries and AIX Information Center
Developerworks AIX Wiki: AIX Wiki
AIX for System Administrators
In-depth information from IBM:
IBM... (0 Replies)
Not sure if anyone is interested but I am just getting into UNIX like shell scripting...
I have great interest in pseudo-animations in text mode and accessing HW like /dev/dsp for example...
...
Have fun, I do... ;o)
# !/bin/sh
#
# Bargraph_Generator.sh
#
# A DEMO 6 bit coloured... (0 Replies)
For a starter I know the braces are NOT in the code...
Consider these code snippets:-
#!/bin/bash --posix
x=0
somefunction()
if
then
echo "I am here."
fi
# somefunction
#!/bin/bash --posix
x=0
somefunction()
if (2 Replies)
For those interested in installing dash shell on OSX Lion to help test POSIX compliancy of shell scripts, it is quite easy. I did it like this:
If you don't have gcc on your system:
0. Download and install the Command Line Tools for Xcode package from Sign In - Apple *
1. Download the dash... (2 Replies)
Hearing Aid...
Hi folks yet another bizarre piece of code that is Apple OSX 10.12.x to at least 10.14.1 specific.
It requires only a default OSX install, and the internal microphone along with an external headphone assembly.
Pre-amble, 14-02-2019:
For over 3 weeks now I have been suffering a... (3 Replies)
What is the point of this? Whenever I close my shell it appends to the history file without adding this. I have never seen it overwrite my history file.
# When the shell exits, append to the history file instead of overwriting it
shopt -s histappend (3 Replies)
Greetings,
I'm trying to delete a file with a weird name from within Terminal on a Mac.
It's a very old file (1992) with null characters in the name: ââWord FinderÂŽ Plusâ˘.
Here are some examples of what I've tried:
12FX009:5 dpontius$ ls
ââWord FinderÂŽ Plusâ˘
12FX009:5 dpontius$ rm... (29 Replies)
I have to print the number of stars that increases on each line from the minimum number until it reaches the maximum number, and then decreases until it goes back to the minimum number. After printing out the lines of stars, it should also print the total number of stars printed.
I have tried... (13 Replies)
Hi all...
Well guys and gals, I jumped in at the deep end and found things that PERL cannot do by default.
Many tricky terminal escape codes are not catered for so I had to create workarounds.
One thing I searched for was this:
Passing perl variable to shell command
AND, @Neo this was... (15 Replies)
Well, guys I saw a question about GOTO for Python.
So this gave me the inspiration to attempt a GOTO function for 'dash', (bash and ksh too).
Machine: MBP OSX 10.14.3, default bash terminal, calling '#!/usr/local/bin/dash'...
This is purely a fun project to see if it is possible in PURE... (3 Replies)
I am sharing a code snippet.
for (( i=0; i<=$(( $count -1 )); i++ ))
do
first=${barr2}
search=${barr1}
echo $first
echo "loop begins"
for (( j=0; j<=5000; j++ ))
do
if } == $search ]]; then
echo $j
break;
fi
done
second=${harr2}
echo $second (2 Replies)
Hi All,
I'm having a python script: test.py in /path/to/script/test.py
I'm using a properties file: test_properties.py (it is having values as dictionary{}) which is in same DIR as the script.
Sample Properties file:
params = {
'target_db' : 'a1_db'
'src_db' : ... (15 Replies)