This concerns gtk-gnutella 0.94 built from FreeBSD ports with the
following configuration:

Feature Summary (Version 0.94):
-------------------------------------------------
GUI front-end                      : GTK2
Persistent filters                 : yes
Gnutella traffic compression       : yes
IP TOS (Type of Service)           : yes
NLS (Native Language Support)      : yes
Extended non-roman charset support : yes
Experimental remote control        : yes
-------------------------------------------------

I have discovered the following problem which at first appeared very
puzzling to me. I use uk_UA.KOI8-U locale with KOI8-U charset and, as I
discovered later, this chareset is not included into ICU standard data
library. The result of this was that when I started gtk-gnutella any
search that I would eneter would produce zero results no matter how long
I waited and with tcpdump I discovered that no search query was actually
sent out. That was very mysterious to me. Then I noticed a warning(?)
message that ucnv_open() failed and only after that I started looking at
ICM stuff. It appears that in a situation like mine search text gets
"converted" to void somewhere, so no search was done.
Please also note that search text I entered was pure ASCII.
And there was no such problem with any of the previous gtk-gnutella
versions I used (including 0.93.X).

So, I think that there should be either some fallback mechanism for
charsets unsupported by ICM (ucnv_open() fails), or, at least, some
prominent error message that would describe the problem, suggest
changing charset and prevent gtk-gnutella from starting.

-- 
Andriy Gapon


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Gtk-gnutella-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to