MSKANJI(5)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1

okay so welcome to MSKANJI(5) from the File Formats Manual, bestie β€” this page is literally about the mskanji encoding, a.k.a. Shift-JIS / MS Kanji / SJIS, for Japanese text. It’s giving old-school encoding realness, and we’re gonna keep every byte of it. Not me making an encoding page cute, but here we are πŸ’…βœ¨

✨ NAME ✨

  • mskanji β€” Shift-JIS (MS Kanji) encoding for Japanese text. That’s the whole name, no cap. πŸŽ€

πŸ’… SYNOPSIS πŸ’…

To summon it in code, you write exactly this:

ENCODING "MSKanji"

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so Shift-JIS, also known as MS Kanji or SJIS, is an encoding system for Japanese characters, developed by Microsoft Corporation. No cap, 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. The way it mixes one-byte and two-byte situations is giving main character energy, fr fr. πŸ’–

  • 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 byte 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 🌈

go off and read those too, bestie πŸ‘€βœ¨ iykyk


mwah πŸ’‹ this page is from Debian, dated August 7, 2003, and it’s the MSKANJI(5) manual β€” periodt. 🫢✨

πŸ“¦ where this page comes from