简繁转换|示例
首先 添加Microsoft.VisualBasic.dll引用
using Microsoft.VisualBasic;
string gb2312 = "国营农场";
string big5 = "";
big5 = Strings.StrConv(gb2312, VbStrConv.TraditionalChinese, 0);
Console.WriteLine(big5);
时间: 2024-12-27 08:26:44
简繁转换|示例
首先 添加Microsoft.VisualBasic.dll引用
using Microsoft.VisualBasic;
string gb2312 = "国营农场";
string big5 = "";
big5 = Strings.StrConv(gb2312, VbStrConv.TraditionalChinese, 0);
Console.WriteLine(big5);