C#: Cycle through encodings

后端 未结 6 1492
小蘑菇
小蘑菇 2020-12-16 05:42

I am reading files in various formats and languages and I am currently using a small encoding library to take attempt to detect the proper encoding (http://www.codeproject.c

6条回答
  •  借酒劲吻你
    2020-12-16 06:17

    Beware of the infamous 'Notepad bug'. It's going to bite you whatever you try, though... You can find some good discussions about encodings and their challenges on MSDN (and other places).

提交回复
热议问题