Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Smileys not sent to skype #666

Open
davidhealey opened this issue Sep 27, 2020 · 15 comments
Open

Smileys not sent to skype #666

davidhealey opened this issue Sep 27, 2020 · 15 comments

Comments

@davidhealey
Copy link

davidhealey commented Sep 27, 2020

Sending a smiley such as :D shows up fine in Pidgin but it isn't forwarded to Skype correctly. In Skype it just shows up as the two characters.

The reverse is also true, smileys sent from Skype don't show up in pidgin.

@alexolog
Copy link

alexolog commented Sep 27, 2020

This is not a Skype plugin issue, as it affects all the protocols. Pidgin does not seem to translate outgoing text while the native clients do -- each one according to it's proprietary rules.

Now, if you want to simulate the behaviour of the native Skype client, you can do it with the "Text Replacement" plug-in by replacing its dictionary file with one that "corrects" those strings to the appropriate Emoji. However, keep in mind that Pidgin has issues with Emoji on Windows, so you may want to use a smiley theme as well.

I have made one for my personal use, and shared it on Reddit. It is Unicode Emoji based, so it does not have Skype-specific ones, but you can use it as a starting point.

You can find the full list of Skype emoticons and shortcuts here:
http://www.skaip.org/skype-emoticons

@EionRobb
Copy link
Owner

It kind of is the plugin, Skype servers expect smileys to be wrapped in <ss> xml tags, which Pidgin doesn't send.

The plugin could potentially try to do a regex replace to turn ;) into <ss type="wink">;)</ss> but I'd worry about getting the regex wrong and embedding it in the middle of a url or code-block or something

@davidhealey
Copy link
Author

It kind of is the plugin, Skype servers expect smileys to be wrapped in <ss> xml tags, which Pidgin doesn't send.

The plugin could potentially try to do a regex replace to turn ;) into <ss type="wink">;)</ss> but I'd worry about getting the regex wrong and embedding it in the middle of a url or code-block or something

So if I use the text replacement plugin as suggested by alex, combined with the ss tags, it should display okay in skype and look slightly weird in Pidgin (which I'm fine with)?

@davidhealey
Copy link
Author

Ah I just tested it and it just shows the entire string in Skype too

@alexolog
Copy link

alexolog commented Sep 27, 2020

I have the text replacement plugin convert :) into the Unicode emoji 🙂:

COMPLETE 0
CASE 1
BAD :)
GOOD 🙂

When I type it in the input box, it gets converted, and when I send, the recipient sees this:
image

Obviously it will not work with Skype emoticons that have no Unicode emoji analogs

@EionRobb
Copy link
Owner

@davidhealey yeah, sorry, the text replacement plugin doesn't understand xml/html it's replacing the plain-text - you could try copy pasting some HTML with the <ss> tag, but that's fairly high-effort for little gain :(

@alexolog
Copy link

(edited comment above)

@davidhealey
Copy link
Author

davidhealey commented Sep 27, 2020

I have the text replacement plugin convert :) into the Unicode emoji 🙂:

COMPLETE 0
CASE 1
BAD :)
GOOD 🙂

When I type it in the input box, it gets converted, and when I send, the recipient sees this:
image

Obviously it will not work with Skype emoticons that have no Unicode emoji analogs

Skype doesn't recognise 🙂 it just shows up as the characters

@alexolog
Copy link

alexolog commented Sep 27, 2020

Are you sure it got converted? The text replacement plugin is supposed to replace the text in the input window, as you are typing it. When I type : followed by ), the : immediately disappears to be replaced with a Unicode "tofu". The actual characters I typed do not get sent.

After typing: :
image

After typing )
image

@davidhealey
Copy link
Author

This is what I see in Pidgin
image

And this is the result I see in Skype
image

@alexolog
Copy link

alexolog commented Sep 27, 2020

Hmmm... I see the smiley in the Skype web interface.
And just tried with the native Skype client on Win 10. Works for me.

What you see in Pidgin looks strange, as the colon is still there.

@alexolog
Copy link

Could be that the font you are using in Skype does not support Unicode Emoji?

@davidhealey
Copy link
Author

Oh that colon you're seeing is actually at the end of my name in the chat. Name: []

I'm using web skype too so I must be doing something wrong in Pidgin. Although I tried pasting it directly into Skype too

@bodqhrohro
Copy link
Contributor

There is a DeWYSIWYGification plugin from purple-plugin-pack to send raw tags; I just checked it with skype4pidgin, works well.

Maybe skype4pidgin should add a toolbar button with Skype-specific smiles (do prpls have an access to it or this should be implemented as a separate plugin?)

@alexolog
Copy link

Wouldn't it interfere with other things, like sending URLs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants