This section provides a quick introduction of Shift-JIS, also called MS Kanji, encoding, which maps a JIS X0208 character to a 2-byte sequence using a complicated schema designed by Microsoft.
Shift-JIS: An encoding for JIS X0208 character set. It is a 8-bit encoding with 1 to
2 bytes per character:
Shift-JIS, also called MS Kanji, is a Microsoft standard (codepage 932).
The encoding schema is not straightforward. Please read http://en.wikipedia.org/wiki/Shift_JIS for more details.