Get the App
SLTechnology News&Howtos  ›  Servers  › 

Linux character set environment variable setting

Shulou Source: shulou.com Published: 2022-06-02 06:37:09 11月16日 Update

LANG is the setting of the language, region and character set of the Linux system, through this variable to set the language environment of the terminal program.

NLS_LANG is for Oracle language, region, character set settings, through this variable to set the language environment of the Oracle terminal program.

LANG=zh_CN.GB2312

NLS_LANG=AMERICAN.AMERICA_ZHS16GBK

Locale-a view local character set

Locale-m view all supported character sets

Oracle database character set view:

SELECT * FROM v$nls_parameters

Tags: Characters character sets languages variables environments locales programs terminals data databases systems support Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS MySQL Apple Linux Huawei