Problems with umlauts in python appdata environvent variable
Posted
by Heike
on Stack Overflow
See other posts from Stack Overflow
or by Heike
Published on 2010-04-09T14:19:24Z
Indexed on
2010/04/09
14:33 UTC
Read the original article
Hit count: 491
Hi,
I can't find a correct way to get the environment variable for the appdata path in python.
The problem is that my user name includes special characters (the german ae and ue). I made a workaround wit PyQt for Vista and Windows 7 but it doesn't work for XP Systems.
Does anybody know the correct encoding of these environment variables or another solution for this problem?
Greetz
© Stack Overflow or respective owner