Locale Requirements

Ask your system administrator whether your operating system supports the locale you need. If it does not, you cannot run your localized program.

Note

Locale names are system-dependent. Therefore, for each example of a system-dependent name that is provided in this section, we will only mention the French and Japanese settings for the HP-UX 10.x, Solaris 10, and Windows® platforms.

Depending on the system you are using, you can also do one of the following to find out if your system supports the locale.

On Unix Systems

Run the following utility program to get a list of the locales supported by your system:

$ locale -a

Here is an example of what you will get on an HP-UX system if only French and Japanese are supported:

  • fr_FR.iso88591

  • fr_FR.roman8

  • ja_JP.SJIS

  • ja_JP.eucJP

Here is an example of what you will get on a Solaris 10 system, if only French and Japanese are supported:

  • ja

  • japanese

  • fr

On Windows Systems

Look at the Regional Settings in the Control Panel.

To access the Regional Settings Properties dialog box:

  1. Click Start, then point to Settings.

  2. Click Control Panel.

  3. Double-click the Regional Settings icon.

In the Regional Settings notebook page, you will see a list of supported locales.