Bug 126783 - (yahoo) emoticons are not properly encoded/decoded
Summary: (yahoo) emoticons are not properly encoded/decoded
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kopete
Classification: Applications
Component: libkopete (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-05 12:10 UTC by Mircea Bardac
Modified: 2018-09-15 23:29 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mircea Bardac 2006-05-05 12:10:20 UTC
Version:            (using KDE KDE 3.5.2)
Installed from:    Unlisted Binary Package
OS:                Linux

The XML file defining emoticons is encoded with < > and so on.

Whenever I select an emoticon from the emoticon list < > is put in the edit box - IMO, this should not happen as normal users do NOT encode their text before sending and it confuses users. Now that I tested this with the yahoo client and noticed something:

The "hug-emoticon", known by users as: ">:D<"
sent by kopete: "&gt;:D&lt;" // received by yahoo: "&gt;<big_grin_emoticon>&lt;"
sent by yahoo ">:D<" // received by kopete: ">:D<" no emoticon detected

I suspect that, because kopete puts the ENcoded form in the edit box, the ENcoded form is ENcoded again and sent through the network.

On receive, the DEcoded form is compared with the ENcoded form (the one in the XML) and no match occurs.
Comment 1 Olivier Goffart 2006-05-13 12:36:30 UTC
maybe related to Bug 118624
Comment 2 Silvia 2007-04-30 16:58:33 UTC
I can see the hug emoticon >:D< if it has a space in front of it, but not if there is no space in front.

The laughing devil  >:) , the whistling emoticon :-" , the alien >-)  and the "come here"  >:/ only work if there is a space in front.  

The blush emoticon, which is known as :"> doesn't work at all.

I'm using Yahoo, with the "Yahoo!7withVoice" emoticons. 

The emoticon theme called "Yahoo" seems to have more problems. For example if I send or receive the hug >:D< it doesn't work but if I type  &gt;:D&lt; it looks like a normal hug to me, but the person I send it to just sees the characters. I haven't checked all the emoticons in the Yahoo theme yet, though. 
Comment 3 A. Spehr 2008-07-26 23:32:47 UTC
http://bugs.kde.org/show_bug.cgi?id=133223
has me listing which yahoo emoticons work and which don't:

 :)] 
  :)) 
  :)>- 
 
 All show everything after the :) 

There's one more that just doesn't display.

Otherwise, I think the underlying emoticons here have changed...?
Comment 4 Michael Cole 2010-01-22 13:16:05 UTC
Yes I can confirm that not all the icons are translated..

There are 180 images (Emoticons) and not all of these are supported by images at the kopete side. But this is actually controlled by the themes loaded.

Yahoo has 60 standard images that it allows from its pick list.. 

This is not a programming bug but a Theme resource bug.
Comment 5 Andrew Crouthamel 2018-09-15 23:29:49 UTC
Hello from the KDE Bugsquad!

Unfortunately, Yahoo has discontinued the Yahoo Messenger service, and the code has been removed from Kopete.

Thus, I am closing this bug as "UNMAINTAINED" since it will no longer be fixable, or able to operate due to Yahoo.