OCI Linux: International Character Set Not Displayed Correctly
Applies to
Oracle Cloud Infrastructure
Linux x86-64
Symptoms
After international locale is installed and configured in a system, the international characters are not displayed correctly.
Cause
The application (terminal) used to connect to the instance needs to be configured with the correct encoding.
Solution
1) Configure the locale in the instance, in this example Korean will be used:
$ sudo dnf install glibc-langpack-ko -y $ locale -a | grep ko_KR.euckr $ sudo localectl set-locale LANG=ko_KR.euckr $ LANG=ko_KR.euckr
2) Change the setting in the terminal. For example, in Gnome Terminal, go to
Terminal -> Set Character Encoding -> Korean – EUC-KR
Tagged:
0