Converting problem ANSI to UTF8 C#

前端 未结 7 1663
借酒劲吻你
借酒劲吻你 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:40

    Also, you can try the following thing. I've changed the type by using notepad+ in the file.
    (Encoding->Convert to UTF-8)
    It works for me.

提交回复
热议问题