那这个简单Dim s As String = "123 大家 好45"Dim bs() As byte = System.Text.Encoding.Default.GetBytes(s)MessageBox.Show(bs.Length)