#1418: "error encoding" message
---------------------------------+------------------------------------------
  Reporter:  [EMAIL PROTECTED]  |       Owner:  root_42
      Type:  defect              |      Status:  new    
  Priority:  normal              |   Milestone:  1.3.5  
 Component:  qt/kde gui          |     Version:  1.3.4  
Resolution:                      |    Keywords:         
---------------------------------+------------------------------------------
Comment (by flynd):

 I have the same problems with swedish characters (åäö).[[BR]]
 The problem only happens when chatting with some of my friends, I think it
 is related to which client the peer is using. I'm seeing the problem with
 trillian but not with miranda or gaim. This applies to messages sent
 through server as send direct sometimes caused trillian to crash so I'm
 not sending direct anymore. :-)[[BR]]
 In 1.3.2 I managed to do a small hack that solved the problem for me but
 the same thing did not work in 1.3.4.[[BR]]
 Below is my hack for 1.3.2:

 diff -Naur licq-1.3.2/src/icqd-tcp.cpp licq-1.3.2-flynd/src/icqd-tcp.cpp
 --- licq-1.3.2/src/icqd-tcp.cpp 2005-07-22 18:05:03.000000000 +0200
 +++ licq-1.3.2-flynd/src/icqd-tcp.cpp   2005-10-22 00:27:51.000000000
 +0200
 @@ -118,6 +118,10 @@
      bUTF16 = true;
      if (szFromEncoding == 0)
        szFromEncoding = strdup("UTF-8");
 +if(strcmp(szFromEncoding, "") == 0) {
 +    free(szFromEncoding);
 +    szFromEncoding = strdup("ISO8859-1");
 +}
      szMessage = gTranslator.ToUTF16(mDos, szFromEncoding, nUTFLen);
      free(szFromEncoding);
    }

-- 
Ticket URL: <http://trac.licq.org/ticket/1418#comment:9>
Licq <http://www.licq.org/>
Licq - an instant messaging client for UNIX.

Reply via email to