What's the best way to identify unicode encoded text files in Windows?
问题 I am working on a codebase which has some unicode encoded files scattered throughout as a result of multiple team members developing with different editors (and default settings). I would like to clean up our code base by finding all the unicode encoded files and converting them back to ANSI encoding. Any thoughts on how to accomplish the "finding" part of this task would be truly appreciated. 回答1: See “How to detect the character encoding of a text-file?” or “How to reliably guess the