[Python-Dev] [Python-checkins] cpython: _PyImport_LoadDynamicModule() encodes the module name explicitly to ASCII (original) (raw)
Neil Hodgson nyamatongwe at gmail.com
Tue May 10 06:09:06 CEST 2011
- Previous message: [Python-Dev] [Python-checkins] cpython: _PyImport_LoadDynamicModule() encodes the module name explicitly to ASCII
- Next message: [Python-Dev] [Python-checkins] cpython: _PyImport_LoadDynamicModule() encodes the module name explicitly to ASCII
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Michael Urman:
I'm not convinced this is correct for this case. GetProcAddress takes an "ANSI" string, meaning while it could theoretically use UTF-8, in practice I doubt it uses anything outside of ASCII safely. So while the name of the library would be encoded in UTF-16, the name of the function loaded from the library would not be.
Yes you are right: http://scintilla.org/NarrowName.png
Neil
- Previous message: [Python-Dev] [Python-checkins] cpython: _PyImport_LoadDynamicModule() encodes the module name explicitly to ASCII
- Next message: [Python-Dev] [Python-checkins] cpython: _PyImport_LoadDynamicModule() encodes the module name explicitly to ASCII
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]