1383.Character encoding -- How to find files with specified encoding and convert to utf8?

how to change encoding of subdirectories of files to utf encoding,it is difficult to detect them all ,some has various encoding, e.g. Utf, utf-bom,big5 ,gb2312, ansi or ascii, ( do not know their encodings actually,) I tested the requests example given by yours site, but the already utf files will convert to unreadable text, as some file already is utf or utf-bom( I do not know which one is utf or not)

is there a way to auto exlude those utf and utf-bom files (unconvert),then batch convert those

It's not possible to decide the exact encoding type of a file, except that some like utf8-BOM files can be detected by BOM mark at the beginning of file.

So you must know the input encoding and output encoding.

One way to find all files with a specific encoding, such as big5, and convert to UTF8: 1. set "settings->encoding" menu to 'big5' 2. open "tool->batch runner" menu, and click "search files", set "search directory" to your root path, and tick "search subdirectory" 3. set "contain word/phrase" to a specific word that exist in all your files, and click "search" 4. click "close", all files with desired encoding will be listed. 5. click "Encode Convert", and set "input encoding" to "big5", and "output encoding" to "UTF8", done.