Cannot see None English characters (ANSI Encoded) in .Net controls when loading form files
Do you have problems with showing non English characters in .net controls ? If you have seen non English characters are shown as "?" in .Net controls when you load contents from files. That is because of the encoding issue. You have use "Encoding.Default" to solve this issue when you read from file.
File.ReadAllLines(filename,Encoding.Default)
File.ReadAllLines(filename,Encoding.Default)
Comments
Post a Comment