I maked a file containing "ırmak" with a text editor via encoding ISO8859-9. Then, I tried to print the content with "cat" command in the terminal. But I could not. I use the commands
export LC_ALL=tr_TR.ISO8859-9
export LANG=tr_TR.ISO8859-9
cat text.txt
After these commands the terminal printed:
�rmak
Note: The for the command
echo ırmak
the terminal prints:
ırmak
file myfile
and what's the output oflocale
?locale
. Could you explain?locale
" means "typelocale
in your shell, hit Enter and tell us what you got". After yourexport LC_ALL=…
andexport LANG=…
there should be no surprises, so please check alsolocale -a
to make suretr_TR.ISO8859-9
is among locales available (generated) in your system. (2) When you runecho ırmak
normally in a console, is the non-ASCII letter printed right? This test is to make sure the font you're using contains a proper glyph for the letter.