Month: November 2012

Convert Traditional Chinese to Simplified Chinese in .NET (Vise versa)

Add Reference Microsoft.VisualBasic

Convert Traditional Chinese to Simplified Chinese

using Microsoft.VisualBasic;

string input = "繁體中文";
string output = Strings.StrConv(input, VbStrConv.SimplifiedChinese);  // 繁体中文

Convert Simplified Chinese to Traditional Chinese

using Microsoft.VisualBasic;

string input = "简体中文";
string output = Strings.StrConv(input, VbStrConv.TraditionalChinese);  // 簡體中文

References: