locale

Description                                                    Set the locale for the current terminal session.

Syntax                                                                  locale parameter

The following table shows valid values for parameter:

Parameter

Description

test

Test the current terminal encodings for a specific locale.

en_US.UTF-8

English locale for the USA, encoding with UTF-8 (default)

zh_CN.UTF-8

Chinese locale for PRC, encoding with UTF-8

zh_CN.GB18030

Chinese locale for PRC, encoding with GB18030

zh_CN.GBK

Chinese locale for PRC, encoding with GBK

zh_CN.GB2312

Chinese locale for PRC, encoding with GB2312

zh_TW.UTF-8

Chinese locale for Taiwan, encoding with UTF-8

zh_TW.BIG5

Chinese locale for Taiwan, encoding with BIG5

zh_TW.EUCTW

Chinese locale for Taiwan, encoding with EUC-TW

ja_JP.UTF-8

Japanese locale for Japan, encoding with UTF-8

ja_JP.EUC-JP

Japanese locale for Japan, encoding with EUC-JP

Default                                                                en_US.UTF-8

Mode                                                                   Privileged EXEC mode or global configuration mode

Table of Contents

Index

Glossary

-Search-

Back