Stroller wrote: > Hi there, > > I want to try burning a DVD using k3b and when it starts up it > complains: > > System locale charset is ANSI_X3.4-1968 > Your system's locale charset (i.e. the charset used to encode > filenames) is set to ANSI_X3.4-1968. It is highly unlikely that this > has been done intentionally. Most likely the locale is not set at > all. > An invalid setting will result in problems when creating data > projects. > Solution: To properly set the locale charset make sure the LC_* > environment variables are set. Normally the distribution setup tools > take care of this. > > > Googling "LC_* environment variables" turns up this doc: > http://www.gentoo.org/doc/en/guide-localization.xml#doc_chap3 > > I assume this document is correct & up to date? > (and is not superseded by the LINGUAS="en_GB en" that I have in > make.conf) > > This doc refers to a /etc/env.d/02locale file - I assume I have to > create that by hand? The file does not exist at present. I guess this > is the kind of thing I'd kinda expect you to create by symlinking to / > usr/share/linguas/England or something. > > Finally, does anyone have the correct LANG and LC_COLLATE settings for > the United Kingdom, please? I assume that again something starting > "en_GB" is used. > > Do I need to set ALL LC_* variables (the guide lists 9 of them) or > just those 2? > > This server is headless, so I'm using X11 over ssh - kcontrol's left- > hand pane is blank. > > Thanks in advance for any help, > > Stroller.
Because I'm seeing some strange things in this thread, let me elucidate as to what the various LANG/LC_* variables do: LANG sets the default for LC_*, if unset, defaults to "C" LC_CTYPE [charset] LC_NUMERIC [number format] LC_TIME [time format] LC_COLLATE [sort order] LC_MONETARY [money format] LC_MESSAGES [message language] LC_PAPER [paper size] LC_NAME [given/family name format] LC_ADDRESS [mailing address format] LC_TELEPHONE [country code, etc.] LC_MEASUREMENT [US customary, SI, etc.] LC_IDENTIFICATION [???] Used as their names suggest, for the various things that can be done with locales. Default to $LANG, if $LANG is unset, defaults to "C". LC_ALL Override for LC_*. If LC_ALL is set, then LC_* is ignored, and the value of LC_ALL is used for everything. *Do not* set this in env.d unless you know exactly what you are doing. (Setting LC_ALL=C to disable all locale settings, for instance). I hope this helps resolve any confusion. If you want to see what the current values of each of these variables is, including overrides, run `locale`. -- ABCD