enca: Guess a Character Encoding


This looks like a very interesting utility: enca. It can guess the character encoding of a given file, as well as convert between different encodings. Because it’s a simple command-line tool, you can script it. So suppose you have a bunch of files in a variety of formats, and you want to get them all into UTF-8. You could run enca on the whole bunch, and it will do all the work for you!

blog comments powered by Disqus Prev: No luck trying out Scala Next: c# new vs. override