Murmur of a rookie software engineer came from Taiwan.
(Sorry for my poor English, I just practice it here.)
Please feel free to contact me for anything: ninna.tw@gmail.com
2011年10月3日 星期一
[.Net] Reading scrambled words in txt file
There is a txt file with Chinese words and I read it string by StreadReader.
I set encoding to default, but words still scrambled.
Solution:
I open the txt file and set encoding as Unicode then work well.
沒有留言:
張貼留言