Update of bug #17739 (project mypaint):

                 Summary: Can't open file containing unicode through shell
association => [Windows] Can't open file containing unicode through shell
association

    _______________________________________________________

Follow-up Comment #3:

OK if Windows replaces the characters with '?' then you will need this
win32_utf8_argv() and my fix will not be enough.

However you have to use unicode strings, not utf-8 encoded bytestrings inside
mypaint. (This was probably causing your second bug.)

You can convert from utf8 to unicode with something like args =
[s.decode('utf-8') for s in args]

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?17739>

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs

Reply via email to