Hi,

* M. Dietrich <[EMAIL PROTECTED]> [2005-01-29 15:56:28]:
> if the fullname grabbed from /etc/passwd contains a special char like
> a german umlaut lostirc compains and can't logg into the remote
> server. i can't edit the fullname in the program or didn't found how.
> if i replace it in ~/.lostirc/options.conf everything is fine.

Can you please try recompiling LostIRC with the attached patch and see
if that makes it work for you? It needs to be applied against
LostIRCApp.cpp.

Thanks!

  - Morten.
Index: LostIRCApp.cpp
===================================================================
RCS file: /cvsroot/lostirc/lostirc/src/libirc/LostIRCApp.cpp,v
retrieving revision 1.43
diff -u -r1.43 LostIRCApp.cpp
--- LostIRCApp.cpp      24 Jun 2004 01:35:09 -0000      1.43
+++ LostIRCApp.cpp      30 Jan 2005 20:32:37 -0000
@@ -43,7 +43,7 @@
 
     // Only read until the first comma
     if (realname.find(",") != ustring::npos)
-          realname = realname.substr(0, realname.find(","));
+          realname = Util::convert_to_utf8(realname.substr(0, 
realname.find(",")));
 
     if (options.nick->empty())
           options.nick = Glib::get_user_name();

Reply via email to