[issue13415] os.unsetenv() on Windows should not use UTF-8

2011-11-16 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: But... there is no os.unsetenv on Windows! 2.7 used to have one, which called os.putenv(key, "") 3.2 has a os._unsetenv, which is a lambda key: _putenv(key, "") -- nosy: +amaury.forgeotdarc ___ Python tracker

[issue13415] os.unsetenv() on Windows should not use UTF-8

2011-11-16 Thread STINNER Victor
New submission from STINNER Victor : os.unsetenv(name) encodes name to UTF-8. I think that the ANSI code page (or another code page?) should be used. -- components: Unicode, Windows messages: 147773 nosy: ezio.melotti, haypo priority: normal severity: normal status: open title: os.unset