Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I would like to process with perl some files in Greek in which the character encoding is Greek (ISO-8859-7) but my terminal doesn't support such an encoding. Can I add it somehow?

share|improve this question
up vote 1 down vote accepted

I will update this answer if you add more details about what exactly you need to do. On my system, using either terminator or gnome-terminal on a UTF-8 encoded Greek text file, I can use Perl to parse Greek:

$ cat test
Με λένε Μαρία
Με λένε Πόπη
Με λένε Κίτσο

$ file test
test: UTF-8 Unicode text

$ perl -ne 'print if /Πόπη/' test
Με λένε Πόπη

You can change the encoding of gnome-terminal like this:

enter image description here

Find and activate UTF-8. Then, you can change the encoding of your file using iconv:

iconv -f iso-8859-7 -t utf8  text.txt > new_text.txt
share|improve this answer
i made it!!!i importet on my terminal the character encoding Greek (ISO-8859-7) and it workes fine!!! thnx again very usefull help!!!! – user191878 Jan 22 '13 at 14:49

Your Answer


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.