How to type ISO_8859_1 characters in shell script?

Hello All,

I want to type some special characters to check in my shell script as string. Could you please help me how do I type in my shell script. For example "LA CORU�A". Here the last but 1 character is related to ISO_8859_1 related. But don't know how do I type in shell script programming. Anybody please help me. I am using PuTTy 0.60 version.

Thanks,
Nag

Did you try ALT-194 - hold down the alt key, then enter 1 9 4 on the numeric keypad?

What does

locale

show for you?

Hi, nvkuriseti,

In my old Fedora 5, it is enough to make sure that
environment is properly set up, by doing:

export LANG=en_US.ISO-8859-1

, and, when editing (with vi, for example), you will naturally type
"~ and n" to get the tilded n letter, or ", and c" to get cedilla, and
so on for all accented ones.

It works for me.

Regards,

Mario.

Also, in putty, make sure you select the proper character set is selected:
Putty configuration -> window -> translation