constexpr int kShiftJisSymbolCount
Punctuation pairs in g_aShiftJisSymbols, one for each printable ASCII symbol.
Definition shiftjis.h:4
constexpr int kShiftJisRangeCount
Runs in g_aShiftJisRanges: the digits, the capital letters, and the small letters.
Definition shiftjis.h:7
void AsciiToShiftJis(const char *pszAscii, char *pszDest)
Convert ASCII text to the Shift-JIS bytes icon.sys stores a title as.
unsigned short EncodeShiftJisCharacter(unsigned char cAscii)
Convert one ASCII character to its full-width Shift-JIS code.
const ShiftJisSymbol g_aShiftJisSymbols[kShiftJisSymbolCount+1]
The ASCII punctuation from space to tilde in ASCII order, followed by one zero entry.
const ShiftJisRange g_aShiftJisRanges[kShiftJisRangeCount]
The digit, capital, and small-letter runs, based at 0x824f, 0x8260, and 0x8281.
One run of consecutive characters that maps linearly.
Definition shiftjis.h:16
unsigned short mShiftJisBase
Definition shiftjis.h:17
unsigned short mAsciiBase
Definition shiftjis.h:18
One ASCII symbol and its full-width Shift-JIS code.
Definition shiftjis.h:10
char mAscii
Definition shiftjis.h:12
unsigned short mShiftJis
Definition shiftjis.h:11