while adding path support to pyblish, i noticed some paths change in unpredictable ways
original thread #377
starting a new issue here to discuss this.
u"c:\some\special\södär\testpath".encode('utf-8') -> binary
b'c:\some\special\s\xc3\xb6d\xc3\xa4r\testpath' becomes
b'c:\\some\\special\\s\xc3\xb6d\xc3\xa4r\testpath' when added to registered paths using pyblish.plugin.register_plugin_path(path)
notice the \ before testpath is a single one, but all other folder \ are 2 now
b'c:\bytes\are\cool' becomes
b'c:\\bytes\\are\\cool'
while adding path support to pyblish, i noticed some paths change in unpredictable ways
original thread #377
starting a new issue here to discuss this.
u"c:\some\special\södär\testpath".encode('utf-8')-> binaryb'c:\some\special\s\xc3\xb6d\xc3\xa4r\testpath'becomesb'c:\\some\\special\\s\xc3\xb6d\xc3\xa4r\testpath'when added to registered paths usingpyblish.plugin.register_plugin_path(path)notice the \ before testpath is a single one, but all other folder \ are 2 now
b'c:\bytes\are\cool'becomesb'c:\\bytes\\are\\cool'