STINNER Victor <victor.stin...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue3023> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com