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.
Depending on the system you are using, you can also do the following to find out if your system supports the locale:
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 HP‑UX (10.x or 11), Solaris (2.6 or 2.7), 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:
1. On the Windows desktop click Start - Settings - Control Panel.
2. Double-click the Regional Settings icon to access the Regional Settings Properties dialog box.
3. In the Regional Settings notebook page, you will see a list of supported locales.
Version 5.7
Copyright © 2013, Rogue Wave Software, Inc. All Rights Reserved.