Input of native language symbols on UNIX/Linux


If you are not able to input native language symbols which differ from the standard Latin letters into a form field, you should check the environment settings. The special symbols are present in German, French, Spanish and other languages which use the Latin alphabet, i.e.: Ñ ñ, Ü ü, Á á, Œ œ, Ô ô, ß.

You can check your environment variables using the following command:


locale


Here are the examples of this command output.

For English GB:
LANG=en_GB
LANGUAGE=en_GB:en
LC_CTYPE="en_GB"
LC_NUMERIC="en_GB"
LC_TIME="en_GB"
LC_COLLATE="en_GB"
LC_MONETARY="en_GB"
LC_MESSAGES="en_GB"
LC_PAPER="en_GB"
LC_NAME="en_GB"
LC_ADDRESS="en_GB"
LC_TELEPHONE="en_GB"
LC_MEASUREMENT="en_GB"
LC_IDENTIFICATION="en_GB"

For Spanish Columbia:
LANG=es_CO
LANGUAGE=es_CO:es
LC_CTYPE="es_CO"
LC_NUMERIC="es_CO"
LC_TIME="es_CO"
LC_COLLATE="es_CO"
LC_MONETARY="es_CO"
LC_MESSAGES="es_CO"
LC_PAPER="es_CO"
LC_NAME="es_CO"
LC_ADDRESS="es_CO"
LC_TELEPHONE="es_CO"
LC_MEASUREMENT="es_CO"
LC_IDENTIFICATION="es_CO"