PyXR

c:\python24\lib\site-packages\pyxr\tests\ \ pythonwin_init.py



0001 # See if we run in Unicode mode.
0002 # This may be referenced all over the place, so we save it globally.
0003 import win32api, win32con, __builtin__
0004 
0005 is_platform_unicode = hasattr(__builtin__, "unicode") and win32api.GetVersionEx()[3] == win32con.VER_PLATFORM_WIN32_NT
0006 default_platform_encoding = "mbcs" # Will it ever be necessary to change this?
0007 default_scintilla_encoding = "utf-8" # Scintilla _only_ supports this ATM
0008 
0009 del win32api, win32con, __builtin__
0010 

Generated by PyXR 0.9.4
SourceForge.net Logo