Chris Winne wrote: > I have a file shared that has the word RückseiteRückseite in the title. > I've noticed lately that in the upload_stats file, this is lately being > listed as RückseiteRückseite.
If the below information doesn't fix the problem, I'd have know
the following:
- Do you use Gtk-Gnutella for Gtk+ 1.2 or Gtk+ 2.x?
- How is the filename in question encoded, UTF-8 or ISO-8859-1?
- What messages concerning "character set" does Gtk-Gnutella show
on startup?
- What is the output of "env|grep -E 'LC_|LANG'"?
- Can others download this file or do uploads fail?
- Is the environment variable G_FILENAME_ENCODING set?
Gtk-Gnutella converts all filenames to UTF-8 as far as possible. The
assumption is that you don't use binary gibberish as filenames but
human-readable information using some well-known encoding. To prevent
wrong conversions, you can use G_FILENAME_ENCODING. See the FAQ for
details about it:
http://gtk-gnutella.sourceforge.net/?page=faq
If you use Gtk+ 1.2, you would have to use a locale with UTF-8
encoding and edit ~/.gtkrc or ~/.gtk-gnutella/gtkrc to use a Unicode
font (for example from the efonts package). Otherwise, the GUI can
only show strings representable by your locale encoding.
The filenames you see in the uploads pane are most-likely not send by
the requester but the ones your local Gtk-Gnutella uses because almost
all Gnutella clients request files by their hashes instead of the
filename nowadays.
I assume you use Gtk+ 1.2 with an ASCII or ISO-8859-1 locale. Or
you use an UTF-8 locale but don't have the fonts configured for
Gtk+ 1.2. In the latter case, you can fix the display problem by
install the efonts package and adding the following to your ~/.gtkrc
or ~/.gtk-gnutella/gtkrc, the former affects all Gtk+ 1.2 apps,
the latter only Gtk-Gnutella:
style "user-font"
{
fontset="-efont-*-medium-r-normal--12-*-*-*-*-*-*-*"
}
widget_class "*" style "user-font"
--
Christian
pgpdLeSw6lKGo.pgp
Description: PGP signature
