Debian

From UTF-8
Revision as of 21:23, 24 December 2011 by Andersk (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Debian installs with a UTF-8 locale by default as of Debian 4.0 “Etch”.

If you have an older release of Debian, or upgraded from an older release to Etch, you can enable UTF-8 by running dpkg-reconfigure locales, enabling the en_US.UTF-8 locale, and setting it as the system default. You may need to reboot so that the change takes effect in all running applications.

If this automatic configuration script doesn’t work, add the line

en_US.UTF-8 UTF-8

to /etc/locale.gen, and run locale-gen; then in /etc/default/locale, set

LANG="en_US.UTF-8"

See also

Personal tools