Closed AndersonBY closed 1 year ago
Tested with two computers. One is set to utf8 encoding on Windows. One is default encoding. Both Windows are in Chinese. Default encoding on Chinese Windows is gbk. That's the problem causing error on path containing Chinese characters.
That's all fine, but the path is taken from a unicode string and passed to a function that decodes it from UTF8 again...
Sorry I didn't dive deep into this. But it does fix my problems with Chinese characters in the path. I was using pywebview which deeps on pythonnet and it has some problems with Chinese characters' path. And the traceback points out here.
Confirm that this patch does fix the issue: https://github.com/pythonnet/clr-loader/issues/59 Hope to be included in the next release.
Hi @filmor Do you have plan to accept this PR and make a new release?
Superceded by #62, sorry for the long delay and thank you for your effort :)
Did you actually test this? Why should this work?