Difference between revisions of "Locale"

From wikieduonline
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 37: Line 37:
 
* <code>[[export]]</code>
 
* <code>[[export]]</code>
 
* [[LANG]]
 
* [[LANG]]
 +
* [[LOCALE]] in [[CREATE DATABASE]]
 
  [[ALTER DATABASE]] database_name CHARACTER SET character_set_name COLLATE collation;
 
  [[ALTER DATABASE]] database_name CHARACTER SET character_set_name COLLATE collation;
 
  [[CREATE DATABASE]]
 
  [[CREATE DATABASE]]

Latest revision as of 12:32, 16 December 2022

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: