VB.NET - Convert Unicode in one TB to Shift-JIS in another TB

Posted by Yiu Korochko on Stack Overflow See other posts from Stack Overflow or by Yiu Korochko
Published on 2010-06-10T21:09:36Z Indexed on 2010/06/10 21:13 UTC
Read the original article Hit count: 250

Filed under:
|
|
|

Trying to develop a text editor, I've got two textboxes, and a button below each one.

When the button below textbox1 is pressed, it is supposed to convert the Unicode text (intended to be Japanese) to Shift-JIS.

The reason why I am doing this is because the software VOCALOID2 only allows ANSI and Shift-JIS encoding text to be pasted into the lyrics system. Users of the application normally have their keyboard set to change to Japanese already, but it types in Unicode.

How can I convert Unicode text to Shift-JIS when SJIS isn't available in the System.Text.Encoding types?

© Stack Overflow or respective owner

Related posts about vb.net

Related posts about unicode