Monday, February 11, 2013

Another hint on how to read files with corrupted or unknown encoding

If you need to read a file the encoding of which you have no idea about, I recommend to use FireFox browser. Originally I faced a problem when tried to read sqlplus.exe output. Opening saved redirection with FireFox browser solved the problem.
So:
  1. Save your text to some file
  2. In command line type "firefox YOUR_FILE_NAME" or specify the path in browser's address bar using file:// URI 
Bowser automaticall detects the proper encoding and converts the text so that you can read it.
Such the approach does not require some special software installation like text-encoding converters etc.