什麼是.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