Many UNIX systems use incompatible character encodings to represent their local alphabets as binary data. This means that, for example, a string of text from a Korean system cannot be viewed in a Chinese system. However, you can configure UNIX systems to use UTF-8 encoding for any language. UTF-8 text encoding supports multiple languages so that one language does not interfere with another.
To configure the system locale settings to use UTF-8, perform the following steps:
Run the following command:
locale -a
Determine whether you can find a locale for your language with the suffix
.utf8
.
localedef -f UTF-8 -i en_US en_US.utf8
If you have a locale that allows UTF-8, instruct the UNIX system to use that locale.