Converting special charactes such as ü and à back to their original, latin alphbet counterparts in C#

后端 未结 5 917
感情败类
感情败类 2020-12-30 02:02

I have been given an export from a MySQL database that seems to have had it\'s encoding muddled somewhat over time and contains a mix of HTML char codes such as

5条回答
  •  -上瘾入骨i
    2020-12-30 02:24

    I've been troubled by this char problem before. Solution:

    My .(cs)html file was UTF-8; I converted to UTF-8Y (UTF-8 with a BOM).

提交回复
热议问题