Skip to content

Managed server console cannot display Chinese #2924

Answered by sgkoishi
tab960562 asked this question in Q&A
Discussion options

You must be logged in to vote

To change the locale in Linux, you can follow these steps:

  • Check the current locale settings by running the command:
locale
  • To see a list of available locales, run:
locale -a
  • Choose the desired locale from the list and set it by exporting the value of the LANG environment variable, for example, to set the locale to en_US.UTF-8, run:
export LANG=en_US.UTF-8
  • You may also want to set other related environment variables, such as LC_CTYPE, LC_TIME, LC_NUMERIC, LC_COLLATE, LC_MONETARY, LC_MESSAGES, etc., depending on > your needs. For example, to set the time format to 24-hour clock, you can run:
export LC_TIME=en_GB.UTF-8
  • If you want to make the changes permanent, you can edit the /e…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by tab960562
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants