how to detect invalid utf8 unicode/binary in a text file

后端 未结 0 1201
走了就别回头了
走了就别回头了 2020-12-23 03:29

I need to detect corrupted text file where there are invalid (non-ASCII) utf-8, Unicode or binary characters.

�>t�ï¿ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿½ï¿ï¿½ï         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题