Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Dec 2017 23:13:58 +0100
From:      Polytropon <>
To:        Vitalio D <>
Cc:        Ben Woods <>, Polytropon <>, "" <>, "" <>
Subject:   Re: vt(4) iso-8859-1 latin accentuated characters do not show on console
Message-ID:  <>
In-Reply-To: <>
References:  <> <> <> <> <>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Mon, 11 Dec 2017 22:02:25 +0000, Vitalio D wrote:
> Hello, Ben, Polytropon, Steve
> Ok got it at the end. As we say in french 'ouf enfin' :)
> So yes both MM_CHARSET and LANG are mandatory
> CHARSET should be UTF-8
> and lang accordingly in my case fr_FR.UTF-8
> From ~/.login_config
> me:\
>     :charset=UTF-8:\
>     :lang=fr_FR.UTF-8:
> Drawback is that now all doc is in french :)

> This is kind surprising that I'm
> forced to read a doc in french when all I  wanted is to be able to type some 
> weird french letters. :)

That is surely _not_ surprising. Setting lang in login.conf
has an effect on certain LC_ variables. As you know, there
is LC_ALL, LC_MESSAGES (the system messages), LC_TIME for
time format, and so on, and there is LANG (with a specific

If you don't set lang in login.conf, but instead use your
C shell login file with setenv's, you can exercise more

	setenv	LC_ALL		en_US.UTF-8

As well as:

	setenv	LC_MESSAGES	en_US.UTF-8
	setenv	LC_COLLATE	de_DE.UTF-8
	setenv	LC_CTYPE	de_DE.UTF-8
	setenv	LC_MONETARY	de_DE.UTF-8
	setenv	LC_NUMERIC	de_DE.UTF-8
	setenv	LC_TIME		de_DE.UTF-8

This example will set german standards everywhere, but the
messages will still be in the preferred english language.

> That's why I've missed it first time. I was just setting the
> charset but not lang.

Keyboard language and screen language should match, at least
agree on the character set. :-)

> valid lang values can be figured out as from handbook by running
> 'locale -a' command,
> and yes there is a fr_FR.UTF-8 entry.

That entry name is correct.

Now you're probably beginning to experience the joy of incompatible
character encodings on your system - ISO8859-1 vs. UTF-8, different
kinds of spaces that all look the same, one byte ot two bytes, well,
who cares... and don't even try to count how many characters...


Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...

Want to link to this message? Use this URL: <>