GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
LOCALE(1) FreeBSD General Commands Manual LOCALE(1)

locale
get locale-specific information

locale [-a | -m]

locale -k list [prefix]

locale [-ck] [keyword ...]

The locale utility is supposed to provide most locale specific information to the standard output.

When locale is invoked without arguments, it will print out a summary of the current locale environment, subject to the environment settings and internal status.

When locale is invoked with the keyword arguments, and no options are specified, it will print out the values of all keywords specified, using the current locale settings.

The following options are available:

Print names of all available locales. While looking for locales, locale will respect the PATH_LOCALE environment variable, and use it instead of the system's default locale directory.
Print the category name for all selected keywords. If no keywords are selected, print the category name for all defined keywords.
Print the names and values of all selected keywords. If no keywords are selected, print the names and values of all defined keywords.
Print names of all available charmaps.

The special (FreeBSD specific) keyword list can be used to retrieve the human readable list of all available keywords. If so, a prefix string can be defined to limit the amount of keywords returned.

The locale utility exits 0 on success, and >0 if an error occurs.

setlocale(3)

The locale utility conforms to IEEE Std 1003.1-2004 (“POSIX.1”). The LC_CTYPE, LC_MESSAGES and NLSPATH environment variables are not interpreted.

Since FreeBSD does not support charmaps in their POSIX meaning, locale emulates the -m option using the CODESETs listing of all available locales.
November 18, 2012 FreeBSD 13.1-RELEASE

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.