Bug#276089: gksu: doesn't understand non-ascii password

Nikolaus Schulz Nikolaus Schulz <microschulz@web.de>, 276089@bugs.debian.org
Fri, 15 Oct 2004 01:25:08 +0200


Hi,

Gustavo Noronha Silva wrote:
> > gksu claims any password containing non-ascii characters to be wrong. 
> > Verified with german umlauts and s-sharp.
> 
> Probably a coding problem... I'll take a look... maybe converting to
> LC_CTYPE before sending the password to su/sudo will do.

Hmmm. I'm still a beginner, but isn't it the purpose of locales to
reflect user specific settings? E.g. I don't use german locales for all
my accounts, but all machines do have a german keyboard. Testing the
locale would thus lead to trouble, right?

Isn't this problem subject to some nice standard, or is there at least
some well established practice to handle it? What about unicode?


Nikolaus