Defines the current application locale on UNIX™ platforms.

The LC_ALL (or LANG) environment variable defines language, territory and codeset for programs running on UNIX platforms.

The codeset defined in LC_ALL is used by the runtime system to handle character strings.

It is important to set this variable properly to the character set used by your application.

If LC_ALL is not defined, LANG is used instead.

Read the UNIX man page of the setlocale() C runtime function for more details about this variable.

On Microsoft™ Windows™ platforms, the application locale is defined by the regional settings. However, when the the LANG environment variable is defined, Genero compilers and runtime system read this variable and call the setlocale() C runtime function with the specified value, to define the locale. See Language and character set settings for more details, especially about UTF-8 support on Microsoft Windows platform, with the set LANG=.fglutf8 workaround.