VB.NET 从unicode文本转换到ascii/gbk数组
发布网友
发布时间:2024-10-20 18:05
我来回答
共1个回答
热心网友
时间:2024-10-20 19:23
Dim s As String = "abc"
'Dim EE As System.Text.Encoding = System.Text.Encoding.Unicode
Dim EE As System.Text.Encoding = System.Text.Encoding.ASCII
Dim B() As Byte = EE.GetBytes(s)试试这个