Thread: Charset
View Single Post

   
  #3 (permalink)  
Old 02-27-2008, 01:26 AM
Felix M. Palmen
 
Posts: n/a
Default Re: Charset

* Grant <grantroelofs@gmail.com>:
> How do I determine the charset on my Debian machine?


The 'locale' command shows your current locale settings ($LANG and a
couple of $LC_* for several aspects of the locale). If the value has a
dot in its name, the part after the dot is the charset you're currently
using. My locale command gives me
| LANG=de_DE.UTF-8
so I'm using UTF-8.

If there's no dot, look up the name of the locale in /etc/locale.gen,
you'll find the corresponding charset there.

--
Felix M. Palmen (Zirias) \ -PGP- <fmp@palmen.homeip.net> /"\ ASCII Ribbon
web: http://zirias.ath.cx/ \ http://zirias.ath.cx/pub.txt \ / Campaign
my open source projects: \ FP ED9B 62D0 BE39 32F9 2488 X Against HTML In
http://zirias.ath.cx/?pg=pro \ 5D0C 8177 9D80 5ECF F683 / \ Mail And News
Reply With Quote