Checking Your System’s Locale Requirements

To determine if your system meets the locale requirements:

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

Note

Locale names are system-dependent. For each example of a system-dependent name, we will mention only the French and Japanese settings for the HPUX (11), Solaris (10 or 11), and Windows platforms.

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 (as spoken in France) and Japanese are supported:

fr_FR.iso88591

fr_FR.iso885915@euro

fr_FR.roman8

fr_FR.utf8

ja_JP.SJIS

ja_JP.eucJP

ja_JP.kana8

ja_JP.utf8

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

fr

fr.ISO8859-15

fr.UTF-8

fr_FR

fr_FR.ISO8859-1

fr_FR.ISO8859-15

fr.ISO8859-15@euro

fr_FR.UTF-8

fr_FR.UTF-8@euro

ja

ja_JP.eucJP

ja_JP.PCK

ja_JP.UTF-8

japanese

On Microsoft Windows Systems

Look at the Regional Settings in the Control Panel:

On the Windows desktop click Start - Settings - Control Panel.

Double-click the Regional Settings icon to access the Regional Settings Properties dialog box.

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