Follow-up Comment #2, bug #17818 (project mypaint):

My oppinion? I hope everything (especially GTK) is ready in a year or so to
switch to Python3, which has much nicer unicode support and should handle most
of the problems that we are having now on its own (like non-ascii environment
variables).

I'm happy with whatever workaround you come up with, if you have tested it.
Using ctypes is ugly but if it fixes some of those difficult unicode problems
there is no reason against using it on Windows.

I'm attaching a grep output for all relevant unicode-filename places for
reference, in case you didn't find them already. Especially the one in
lib/pixbufsurface.py line 135 could cause trouble when saving a PNG file (but
not when saving ORA).

About the thumbnail path, we have to put them into ~/.thumbnails on Linux
because it's part of the standard (shared by many applications including
GIMP). But feel free to introduce something like
helpers.get_thumbnail_directory() or some variable or similar if you want to
make it different on Windows. (At the moment we probably are sharing the
thumbnail cache with the Windows version of GIMP, might be worth checking what
GIMP does on Windows.)

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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