locale

From wikieduonline
Jump to navigation Jump to search

locale command from libc-bin package in Ubuntu.

locale -a
C
C.UTF-8
POSIX


locale
LANG="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_ALL="en_US.UTF-8"


locale -a
C
C.UTF-8
POSIX
en_US.utf8



Related terms[edit]

ALTER DATABASE database_name CHARACTER SET character_set_name COLLATE collation;
CREATE DATABASE
initdb
SHOW LC_COLLATE

See also[edit]

Advertising: