Debian

From UTF-8
(Difference between revisions)
Jump to: navigation, search
(New page: 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 runn...)
 
m (Reverted edits by Dragonseoman (talk) to last revision by Andersk)
 
(2 intermediate revisions by 2 users not shown)
Line 7: Line 7:
 
to <code>/etc/locale.gen</code>, and run <code>locale-gen</code>; then in <code>/etc/default/locale</code>, set
 
to <code>/etc/locale.gen</code>, and run <code>locale-gen</code>; then in <code>/etc/default/locale</code>, set
 
<pre>LANG="en_US.UTF-8"</pre>
 
<pre>LANG="en_US.UTF-8"</pre>
 +
 +
== See also ==
 +
 +
* [http://melkor.dnp.fmph.uniba.sk/~garabik/debian-utf8/howto.html Debian UTF-8 Howto]

Latest revision as of 21:23, 24 December 2011

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