Converting problem ANSI to UTF8 C#

前端 未结 7 1653
借酒劲吻你
借酒劲吻你 2021-01-17 20:08

I have a problem with converting a text file from ANSI to UTF8 in c#. I try to display the results in a browser.

So I have a this text file with many accent characte

7条回答
  •  野趣味
    野趣味 (楼主)
    2021-01-17 20:39

    I would recommend to read this http://www.joelonsoftware.com/articles/Unicode.html.
    If you are going to read a ASCII file you need to know the code page of the file.

提交回复
热议问题