* Morten Brix Pedersen <[EMAIL PROTECTED]> [2005-01-30 21:40:31]:
> 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.

The patch did not do the job for him. Instead me and M. Dietrich found a
solution via private email. This new, attached patch fixes the problem.

I will release LostIRC 0.4.4 very soon, so you can wait for this release
which contains the fix.

  - Morten.

-- 
http://mbrix.dk/
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      4 Feb 2005 17:06:42 -0000
@@ -39,7 +39,7 @@
     uname(&uname_info);
 #endif
 
-    ustring realname = Glib::get_real_name();
+    ustring realname = Util::convert_to_utf8(Glib::get_real_name());
 
     // Only read until the first comma
     if (realname.find(",") != ustring::npos)

Reply via email to