# JBASE_LOCALE

Updated: 10/28/2020, 12:05:40 PM
Created: 10/28/2020, 12:05:40 PM
Last Updated By: Mike Street
Read Time: 1 minute(s)

# Description

This environment variable sets the locale for UTF8, sorting and data collation sequences. It is required for use with Internationalization and should also be set when using jBASE Secondary Indexes.

# Values

Any valid locale. Use the jlocales command for a list of supported locales.

# Default

None

# Setting

Normal environment variable, so it can be set at any time by the commands:

# Warning

It is a common misconception that a locale of C is the same as en_US. If a system defaults to a locale of C then it should be explicitly set system-wide to a value of en_US.

# UNIX

export JBASE_LOCALE=en_US
1

# Windows

set JBASE_LOCALE=en_US
1

# Note

JBASE_I18N does not need to have been set for this environment variable to be used.