Bug 2623 - Several scripts are not Unicode-aware
Summary: Several scripts are not Unicode-aware
Status: CLOSED WORKSFORME
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Other (show other bugs)
Version: pre-1.0
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.15.0
Assignee: Bugzilla mail exporter
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-17 09:37 CET by Peter Åstrand
Modified: 2022-04-26 08:54 CEST (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Peter Åstrand cendio 2008-01-17 09:37:22 CET
Many scripts, such as tl-umount-localdrives, has code which looks like this:

username = os.getenv("USER", "").lower()

This does not work correctly with non-ASCII characters. We need to determine the locale and decode accordingly. 

I'm not sure how big this problem is, it should only affect you if you are using UPPERCASE non-ASCII characters.
Comment 1 Pierre Ossman cendio 2022-04-26 08:54:13 CEST
This should all have been handled when we moved to Python 3 in bug 4586.

Note You need to log in before you can comment on or make changes to this bug.