[issue3023] Problem with invalidly-encoded command-line arguments (Unix)

STINNER Victor report at bugs.python.org
Sat Jan 3 00:58:49 CET 2009


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

> By the password database, I mean /etc/passwd or replacements that
> are accessible via getpwnam() and friends.  Users are often
> allowed to change things like the GECOS field, and can generally
> stick any old junk in there, regardless of encoding.

I started to patch pwd module to return bytes instead of unicode, but I didn't 
finished my work and the lost it :-/ Today, most UNIX uses UTF-8 as the 
default charset. About GECOS: is it really used? If you have real problems, 
open a new issue as proposed by Martin.

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3023>
_______________________________________


More information about the Python-bugs-list mailing list