Linux character set environment variable setting
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