C#: Cycle through encodings

后端 未结 6 1488
小蘑菇
小蘑菇 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:35

    Could you let the user enter some words (with "special" characters) that are supposed to occur in the file?

    You can search all encodings yourself to see if these words are present.

提交回复
热议问题