0

related question: For setting locale in Ubuntu, what does the LANGUAGE environment variable mean?

for setting locale my existing Ubuntu 12.04 server has LANGUAGE as en_US:
And I can set it to en_US:utf8 as well. What is the difference ?

existing configuration is, which i found by typing locale

LANG=en_US.utf8
LANGUAGE=en_US:
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=

EDIT: right now LANGUAGE is en_US:. notice the colon at the end

deepak
  • 123
  • 1
  • 7

1 Answers1

2

en_US uses ASCII encoding, and en_US.utf8 uses UTF8 (Unicode) encoding. Since UTF8 is a superset of ASCII, it's the default, and a good choice unless you have a specific reason to avoid Unicode.

1.618
  • 669
  • 1
  • 4
  • 17