Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

How do I change character encoding of a plain text file in OOO Writer?

I have a text file in Windows-1251 and I'd like to change it to UTF-8.

share|improve this question

3 Answers 3

I know this is not the exact answer you are looking for, but since you seem to be using Ubuntu, I'll introduce you to another way for converting text files from encoding to another: iconv.

For example, iconv -f WINDOWS-1251 -t UTF-8 -o output_file.txt original_file.txt would convert original_file.txt from Windows-1251 encoding to UTF-8, saving the output to output_file.txt.

iconv --help lists all options, iconv -l lists all supported encodings.

share|improve this answer

For just converting a file, I'd also advise you to use a commandline tool such as iconv, as Janne's answer suggests.

For completeness' sake, if you want to save a plain text file from OOo in a specific encoding:

  • choose "File / Save as..."
  • select file type "Text encoded"
  • click "Save"

A dialog should pop up, where you can choose the encoding to use for saving.

share|improve this answer
1  
Thanks! This solution works in gedit as well. Quick and simple. –  Chris Jul 14 '13 at 7:16

The best is to insert document as file (Insert-File) and select proper encoding in dialog

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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