In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
Setting NLS_LANG under UNIX environment How to set NLS_LANG variable 1) Configure LC_ALL parameter correctly 2) Configure telnet/ssh/SecureCRT client character set In linux, you can use locale command to view NLS_LANG setting. As shown in the following example [root@HXZG ~]# localelANG="en_US.UTF-8LC_CTYPE="en_US.UTF-8"LC_NUMERIC="en_US.UTF-8"LC_TIME="en_US.UTF-8 "LC_COLATE ="en_US.UTF-8"LC_MONETARY="en_US.UTF-8" LC_MESSAGES="en_US. UTF-8"LC_PAPER="en_US. UTF-8"LC_NAME="en_US. UTF-8"LC_ADDRESS="en_US. UTF-8"LC_TELEPHONE="en_US. UTF-8"LC_MEASUREMENT="en_US. UTF-8"LC_IDENTIFICATION="en_US. UTF-8"LC_ALL= Most unix versions have the following default setting "C,"[oracle@HXZG ~]$ localelANG=LC_CTYPE="C"LC_COLATE ="C" LC_MONETARY="C" LC_NUMERIC="C"LC_TIME="C"LC_MESSAGES="C"LC_ALL="C" means NLS_LANG is US7ASCII, which means your terminal can only display a-z, ASCII A-Z and 0-9 These characters can be set in Unix environments by specifying a value via export LC_ALL to set the language environment variable [oracle@HXZG ~]$ export LC_ALL=en_US. UTF-8 [oracle@HXZG ~]$ localelANG=en_US. UTF-8LC_CTYPE ="en_US. UTF-8"LC_NUMERIC="en_US. UTF-8"LC_COLATE ="en_US. UTF-8"LC_MONETARY="en_US. UTF-8" LC_MESSAGES="en_US. UTF-8" LC_PAPER="en_US.UTF-8"LC_NAME="en_US.UTF-8"LC_ADDRESS="en_US.UTF-8"LC_TELEPHONE="en_US.UTF-8"LC_MEASUREMENT="en_US.UTF-8"LC_IDENTIFICATION="en_US.UTF-8"LC_ALL=[oracle@HXZG ~]$ export LC_ALL=zh_CN.gb2312[oracle@HXZG ~]$ localeLANG=en_US.UTF-8LC_CTYPE="zh_CN.gb2312"LC_NUMERIC="zh_CN.gb2312"LC_TIME="zh_CN.gb2312"LC_COLLATE=" zh_CN.gb2312"LC_MONETARY="zh_CN.gb2312"LC_MESSAGES="zh_CN.gb2312"LC_PAPER=" zh_CN.gb2312 "LC_NAME="zh_CN.gb2312"LC_ADDRESS="zh_CN.gb2312 "LC_TELEPHONE="zh_CN.gb2312 "LC_MEASUREMENT=" zh_CN.gb2312 "LC_IDENTIFICATION=" zh_CN.gb2312 "LC_ALL=zh_CN.gb2312NLS_LANG is grouped into three parts: NLS_LANG=_. :NLS_LANG= Language_Region_Client Character Set When the LANG value is "en_US. UTF-8", it means that NLS_LANG is set in the following format NLS_LANG= AMERICAN_AMERICAN. AL32UTF8 If the LANG value is "fr_FR. UTF-8", the value set in NLS_LANG is FRENCH_FRANCE.AL32UTF8. You can also set LANG[oracle@HXZG ~]$ export NLS_LANG= AMERICAN_AMERICAN. AL32UTF8 [oracle@HXZG ~]$ locale by exporting| grep LANGLANG=en_US.UTF-8
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.