How to open to in unknown encoding to edit (tw.pol) in Ubuntu?

  • 3
    @none111, If any of the answers here helped, could you mark them as accepted? If they didn't, maybe some insight on how we can better help you would aid in resolving this issue.
    – n0pe
    Jul 9, 2011 at 19:12

2 Answers 2


When all else fails, use the terminal.

Try asking for some info on the file

$ file tw.pol

Open it in vi (emacs if you must)

$ vim tw.pol

A quick google search tells me that .pol is a file extension used by Microsoft to manage registry keys.


If you cannot open a file with gedit, try the Gnome Hexadecimal Editor, which can be installed at the command line with:

sudo apt-get install ghex2

or search for hex editor in the ubuntu software center.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.