Setting locales

You can use the default locale on your operating system, or explicitly set a locale for use by the SQL Anywhere components on your computer.

To set the SQL Anywhere locale

  1. If the default locale is appropriate for your needs, you do not need to take any action.

    For more information about how to find out the default locale of your operating system, see Determining locale information.

  2. If you need to change the locale, you can set either or both of the SALANG and SACHARSET environment variables:

    SACHARSET=charset
    SALANG=language_code

    The charset is a valid character set label, and language_code is a language code from the list of valid languages. See Language label values.

    For more information about setting environment variables on different operating systems, see SQL Anywhere environment variables.