Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IDLE does not start if windows environment variable containing 'German Umlaute: äöü' exists #45603

Closed
reto mannequin opened this issue Oct 11, 2007 · 3 comments
Closed
Labels
topic-IDLE type-crash A hard crash of the interpreter, possibly with a core dump

Comments

@reto
Copy link
Mannequin

reto mannequin commented Oct 11, 2007

BPO 1262
Nosy @kbkaiser, @tiran

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2007-10-28.19:20:02.453>
created_at = <Date 2007-10-11.11:30:37.868>
labels = ['expert-IDLE', 'type-crash']
title = "IDLE does not start if windows environment variable containing 'German Umlaute: \xc3\xa4\xc3\xb6\xc3\xbc' exists"
updated_at = <Date 2007-10-28.19:20:02.451>
user = 'https://bugs.python.org/reto'

bugs.python.org fields:

activity = <Date 2007-10-28.19:20:02.451>
actor = 'kbk'
assignee = 'none'
closed = True
closed_date = <Date 2007-10-28.19:20:02.453>
closer = 'kbk'
components = ['IDLE']
creation = <Date 2007-10-11.11:30:37.868>
creator = 'reto'
dependencies = []
files = []
hgrepos = []
issue_num = 1262
keywords = []
message_count = 3.0
messages = ['56342', '56864', '56891']
nosy_count = 3.0
nosy_names = ['kbk', 'christian.heimes', 'reto']
pr_nums = []
priority = 'normal'
resolution = 'duplicate'
stage = None
status = 'closed'
superseder = None
type = 'crash'
url = 'https://bugs.python.org/issue1262'
versions = ['Python 3.0']

@reto
Copy link
Mannequin Author

reto mannequin commented Oct 11, 2007

C:\devtools\Python30\Lib\idlelib>set
...
eRoomOfflineFiles=Z:\Documents and Settings\tgdwere3\My Documents\eRoom
Dateien
für die Offline-Bearbeitung\
...

C:\devtools\Python30\Lib\idlelib>..\..\python.exe idle.pyw
object : UnicodeDecodeError('utf8', b'Z:\\Documents and
Settings\\tgdwere3\\My
Documents\\eRoom Dateien f\xfcr die Offline-Bearbeitung\\', 63, 69, 'u
nsupported Unicode code range')
type : UnicodeDecodeError
refcount: 4
address : 00B825B0
lost sys.stderr

after removing the env variable idle starts

@reto reto mannequin added topic-IDLE type-crash A hard crash of the interpreter, possibly with a core dump labels Oct 11, 2007
@tiran
Copy link
Member

tiran commented Oct 27, 2007

Confirmed!

Python 3.0 doesn't start at all on Windows when an environment variable
with non ASCII chars is present. This bug is related to
http://bugs.python.org/issue1342.

However on Linux Python 3.0 can handle unicode characters in paths and
environ vars fine.

$ UNITEST="umlauts äöü ß " ./python -c "import os;
print(os.environ['UNITEST'])"
umlauts äöü ß

@kbkaiser
Copy link
Contributor

I believe this is a duplicate of
http://bugs.python.org/issue1342
and not related to IDLE.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic-IDLE type-crash A hard crash of the interpreter, possibly with a core dump
Projects
None yet
Development

No branches or pull requests

2 participants