bulia byak's Message from Wednesday 19 May 2004 23:59:
For me, the problem is still there with the CVS snapshot I checked out today. Without any special setting I get messages on the console like
Gtk-Message: The filename "anyname\366something" couldn't be converted to UTF-8. (try setting the environment variable G_FILENAME_ENCODING): Invalid byte sequence in conversion input
Looks like something is wrong with your locale. We use the standard glib functions g_filename_{to/from}_utf8. Try non-ascii filenames with another GTK program, such as Gimp, and see if it works for you.
I tried several locales, including C, but it doesn't work anyway.
gimp works fine. It doesn't report any error for these files, and it displays the files correctly in the file selection dialog, which inkscape does not. But then, my gimp is a rather old version I think (1.2.3), which does not use GTK+2. At the moment it seems inkscape is the only app I have which uses GTK+2.
when changing to a directory which contains such filenames in the file selection dialog. If I set G_FILENAME_ENCODING it gets even worse. On startup I get lots of messages like
** (inkscape:30455): CRITICAL **: Unable to load stock pixmap /opt/inkscape-cvs/share/inkscape/icons/zoom_out.xpm
Just do "make install".
I guess you think that the files are not there, but they are:
$ ll /opt/inkscape-cvs/share/inkscape/icons/zoom_out.xpm -rw-r--r-- 1 root root 801 Feb 29 10:49 /opt/inkscape-cvs/share/inkscape/icons/zoom_out.xpm
I only get those errors if G_FILENAME_ENCODING is set.
Mario