C0D312 wrote:I could see why you decided not to explain all that in the beginning. It makes _so_ much sense from just looking at sesame street characters.
Count von Count wrote:Of 3038 users only 31 have non ascii paths.. All of them are importable (GetShortPathNameW on windows)
WINDOWS = sublime.platform() == 'windows'
if WINDOWS: from ctypes import windll, create_unicode_buffer
if WINDOWS: unicode_file_name.encode('ascii')
buf = create_unicode_buffer(512)
return( buf.value if (
.GetShortPathNameW(unicode_file_name, buf, len(buf)) )
else False )
Users browsing this forum: No registered users and 4 guests