Locale Indicator (Locale Header Record)

The locale indicator is a locale header record, which is an additional text record that identifies the encoding of a non-Unicode text file. You can insert the locale header record as the first record in a non-Unicode-encoded text file when you create the file, or you can use Essbase Unicode File Utility to add the header.

Caution!

Do not insert a locale header record in a UTF-8 encoded file. If a text file contains both types of encoding indicators, the locale header is read as the first data record.

The locale header record has the following format:

//ESS_LOCALE locale-name

locale-name is a supported Global C locale in the format that is used for the ESSLANG variable:

language_territory.code_page_name@sortsequence

The following example displays a locale header record for a specific Russian code page:

//ESS_LOCALE Russian_Russia.ISO-8859-5@Default

Note:

Essbase consults only the code_page_name portion of the record. The sortsequence specification does not affect sort sequences in report scripts.

The following rules also apply:

For compatibility, Administration Services Console saves calculation scripts on a pre-7.0 release Essbase Server installation in a different format. Instead of prefixing the locale with //, Administration Services Console inserts the locale header between calculation script comment indicators:

/* */