Anyone know of any software that can convert Japanese text to Shift-JIS code sequences? I can write one myself but it will take some time... would be nice if there was something that already exists.
Ah darn, my translation software isn't portable given what it was built on, otherwise I could give you something to jump right in.
But, I might as well offer up my S-JIS-to-Unicode table that limits the S-JIS to the PC Engine System Card range. It was a slow way for me to convert back'n'forth (the faster way was using related Windows language API functions).
http://www.ysutopia.net/projects/xakiii/download/CharCodes.zipA key point is the PCE System Card only supports S-JIS up to 0x9872, which covers Kanji Set I, so no Kanji Set II characters above that may be used. That is reflected in the file I'm giving you. You can open it in most editors, and take a look top to bottom.
So when I had Japanese Unicode characters, I could programmatically search in it (after one time loading in memory and arranging it in array form), find the S-JIS code in hex, and replace, OR vice versa, etc. Simple enough.
Building it was part of my early research project in Japanese text storage methods when I began PC Engine/Falcom fan translation projects. I left behind stuff like this:
http://www.ysutopia.net/projects/s-jis/