AnyDAC
ContentsIndexHome
PreviousUpNext
TADPhysOracleDriverLink.NLSLang Property

Allows to specify the NLS_LANG environment variable value.

Group
Links

Use the NLSLang property to specify the Oracle client NLS_LANG environment variable value. 

When you have the Oracle full client installed, the best way to specify the NLS_LANG is to set the NLS_LANG registry value in HKLM\Software\Oracle\<Oracle home>. 

When you are using Oracle instant client, the best way is to use NLSLang property. If you will leave it as is the NLS_LANG registry value in HKLM\Software\Oracle will be used. If it is empty, then AMERICAN_AMERICA.US7ASCII will be used.

property NLSLang: String;
ADPhysOracleDriverLink1.NLSLang := 'AMERICAN_AMERICA.UTF8';
What do you think about this topic? Send feedback!