This Question is Possibly Answered

1 "correct" answer available (10 pts) 1 "helpful" answer available (5 pts)
2,228 Views 10 Replies Last post: Mar 11, 2009 1:59 AM by foxxxx RSS
Eugene Bronze 17 posts since
Apr 2, 2008
Currently Being Moderated

Apr 15, 2008 4:49 AM

UTF-8 in ICQ transport

 

Is there a way to make UTF-8 work with ICQ?

 

 

I set encoding to windows-1251, then users who use windows-1251 encoding as default in windows see my messages ok. But problem arises when i communicate with, for example, hebrew windows users.

 

 

The solution would be to send unicode ICQ messages, but if i set encoding to UTF-8 in ICQ transport preferences - some kind of squares come to remote users from me instead of letters.

 

 

I use openfire 3.4.5

 

 

Tags: icq, utf-8, cyrillic, unicode
Daniel Henninger KeyContributor 2,951 posts since
Aug 10, 2005
Currently Being Moderated
Apr 29, 2008 7:36 AM in response to: Eugene
Re: UTF-8 in ICQ transport

It's got nothing to do with Openfire, but rather the IM Gateway plugin.  If you'd like to submit a patch for the IM Gateway plugin to improve upon this though, I'd love to include it!

 

The thing abot ICQ is...  if I recall correctly I -am- sending unicode.  Thing is, the target client has to indicate that it supports unicode.  (this is the way of ICQ, you have to add a flag to say you support it.  if you just up and send unicode to clients, most of them will balk)  If there's no unicode flag, we have to send based off the configured encoding.  All things considered, ICQ has one of the ugliest language support implementations I've dealt with.  =/

Daniel Henninger KeyContributor 2,951 posts since
Aug 10, 2005
Currently Being Moderated
Apr 29, 2008 12:38 PM in response to: Eugene
Re: UTF-8 in ICQ transport

What flag are you talking about that you can "see"?  I'm not referring to the one in the client preferences, but rather one that's passed as part of the underlying ICQ communication.  But, it very well be getting missed or lost or something or something else is going on.  I've seen a couple ICQ clients actually set their non-unicode encoding to utf-8, which gets even more confusing.  (the uncode flag != utf-8 encoding)

Daniel Henninger KeyContributor 2,951 posts since
Aug 10, 2005
Currently Being Moderated
Apr 29, 2008 12:39 PM in response to: Daniel Henninger
Re: UTF-8 in ICQ transport

If you enable debug logs, you should see mention of the unicode flag from contacts in your roster if they have it.  it'll be in all caps.  =)

foxxxx Bronze 1 posts since
Mar 10, 2009
Currently Being Moderated
Mar 11, 2009 1:59 AM in response to: Eugene
Re: UTF-8 in ICQ transport

More Like This

  • Retrieving data ...

Bookmarked By (0)