Skip to content

print_user_for_session will crash on UTF-16 characers #14

@GoogleCodeExporter

Description

@GoogleCodeExporter
If the user being printed has unicode characters for their first/last/or
user names, then the command will crash with an encoding error (if the
default DB encoding is not UTF8 or ASCII). This is because it uses the
'print' statement. We should be attempting to safe encode the strings
before printing.

There are other issues out of our control if the user has the wrong locale
or font set for the shell, but that is not our problem. 

Original issue reported on code.google.com by doug.nap...@gmail.com on 3 Jun 2008 at 1:10

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions