[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#541291: console-setup: No special characters after update



retitle 541291 Some issues to document in FAQ
severity 541291 minor
thank you

On Thu, Aug 13, 2009 at 01:31:51PM +0200, Harald Braumann wrote:
> 
> For `€' two additional characters are deleted. For the other symbols 
> one additional character is deleted. And it adds up. Thus if I type 
> '€öäü', 5 additional characters are deleted.

This is because in UTF-8 '€' is coded with 3 bytes and the non-ascii 
letters with 2 bytes.

> It also makes it impossible for different users to use different locale
> settings. For instance as root I usually use POSIX, because all the
> files I touch as root are ASCII-only anyway. So far I never had a
> problem with that. The keyboard was set to a DE layout and the console
> font supported ISO-8859-15. That's all that was needed. Now this
> doesn't work anymore.

Console-setup permits user-level configuration. The system configuration 
in /etc/default/console-setup can be overriden by ~/.console-setup.  But 
during the last few years, due to a change in the kernel configuration 
the non-priviledged users are not allowed to change the keyboard layout.

On Thu, Aug 13, 2009 at 03:33:29PM +0200, Harald Braumann wrote:
>
> Contrary to what I believed, I could have set LC_CTYPE to POSIX instead
> of ISO-8859-1 (small bug in .profile). With the
> combination of LC_CTYPE=POSIX and CHARMAP=ISO-8859-15 I can reproduce
> the weird behaviour.
> 
> However, this very same combination worked before the upgrade. But I've
> also upgraded bash and libreadline. So the changed behaviour might very
> well be due to changes in those packages or a combination of changes in
> those and in console-setup. 

The change in the behaviour is unrelated to console-setup.

> PS: I think you can close that bug. 

/usr/share/doc/console-setup/FAQ.gz has not been updated for a while and 
your bug contains several things that need to be documented there.

Anton Zinoviev




Reply to: