My Oracle Support Banner

The Correct NLS_LANG Setting in Unix Environments (Doc ID 264157.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version 8.0.3.0 and later
Oracle Database - Standard Edition - Version 8.0.3.0 and later
Information in this document applies to any platform.
***Checked for relevance on 22-Sep-2016***


Goal

 To explain how to set the NLS_LANG correctly in Unix environments.

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Goal
Solution
 1- Check which locale is set and correct this if needed.
 2- Check if the chosen locale is indeed installed and install this if needed.
 3- Check if you telnet/ssh software is properly configured.
 4- Set the NLS_LANG and Test.
 5- What to do if this is not working?
 6- More in depth debugging.
 7- Do the Locale and NLS_LANG *need* to match the database characterset?
 8-What's the best setting for an "xx8MSWIN12xx" NLS_CHARACTERSET database (WE8MSWIN1252, etc etc)
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.