什么是.NET应用程序的内部编码?(例如字符串对象)我可以定义我的应用程序应该使用什么编码?如果我写一个.net字符串到一个文件。字符串是什么编码?.NET内部编码
//编辑
Dim test as String="Das ist ein Test" <---what Encoding has this String?
Dim reader as New IO.StreamReader(docPath, _
System.Text.Encoding.GetEncoding("shift-jis"))
test=reader.ReadToEnd() <---and now? What Encoding has this String?
谢谢!
+1,以直接查看OP的代码和有关StreamReader的信息。 – 2010-11-11 14:12:06