Bug 281392

Summary: Accentuated letters are not shown correctly
Product: [Unmaintained] telepathy Reporter: Albert Astals Cid <aacid>
Component: contactlistAssignee: Telepathy Bugs <kde-telepathy-bugs>
Status: RESOLVED UPSTREAM    
Severity: normal CC: kde, mklapetek, scarpino
Priority: NOR    
Version: unspecified   
Target Milestone: 0.4.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Albert Astals Cid 2011-09-05 12:58:56 UTC
Version:           unspecified (using KDE 4.7.0) 
OS:                Linux

I see people in my contact list (0.1) that have weird scape codes instead of accentuated characters

Reproducible: Always

Steps to Reproduce:
 * Have a contact with accentuated letters

Actual Results:  
 * I see S&#xE1;nchez

Expected Results:  
 * I see Sánchez

OS: Linux (x86_64) release 3.0-ARCH
Compiler: gcc
Comment 1 David Edmundson 2011-09-06 11:06:38 UTC
Where do you see this?

In the main view
In tool tips
In the "Show Info" dialog
Comment 2 Martin Klapetek 2011-09-06 13:45:57 UTC
I have a lots of people with accentuated letters (Czech language is using them quite heavily) and I have no problem anywhere. Maybe this is a server-returned string?

Albert, what IM network are you seeing this on?
Comment 3 Albert Astals Cid 2011-09-06 14:57:18 UTC
In the main view, it was using jabber, server is jabber.org
Comment 4 Martin Klapetek 2011-09-06 17:19:20 UTC
Ok, care to do a little debug for us?

1/ Disconnect all your accounts and check if telepathy-gabble is running (and kill it if it is)
2/ Locate your telepathy-gabble (mine is at /usr/libexec so I'll use this)
3/ Run this: GABBLE_PERSIST=1 GABBLE_DEBUG=all /usr/libexec/telepathy-gabble
4/ Try to connect with contact list
5/ You should see lots of debug stuff in the console
6/ Look for lines similar to this: 

(telepathy-gabble:28095): gabble-DEBUG: process_roster (roster.c:1128): jid: martin.klapetek@gmail.com, subscription: both, name: Martin Klapetek

And look for your Sánchez contact and see if the name is listed there correctly or not and let us know.

Thanks.
Comment 5 Albert Astals Cid 2011-09-06 17:34:12 UTC
(telepathy-gabble:22063): gabble-DEBUG: _gabble_roster_item_update (roster.c:574): name for contact#22 changed to S&#xE1;nchez
Comment 6 Martin Klapetek 2011-09-06 19:02:22 UTC
Ok, one last thing - can you confirm that it's displayed correctly with other clients? For example Psi or meebo.com. It may seem like an upstream bug and we'll try to take care of it there then.
Comment 7 Albert Astals Cid 2011-09-06 19:39:06 UTC
Works in kopete
Comment 8 Martin Klapetek 2011-09-07 17:02:37 UTC
Alright, thanks, I'm passing this upstream. Can you please tell us your telepathy-gabble version?
Comment 9 Andrea Scarpino 2011-09-07 17:09:48 UTC
(In reply to comment #8)
> Alright, thanks, I'm passing this upstream. Can you please tell us your
> telepathy-gabble version?

Works on my Arch system, telepathy-gabble 0.12.6 and telepathy-kde 0.1
Comment 10 Albert Astals Cid 2011-09-07 22:09:00 UTC
I am using the same versions Andrea is, since i am also using Arch.
Comment 11 Martin Klapetek 2011-09-08 11:29:15 UTC
Reported upstream: https://bugs.freedesktop.org/show_bug.cgi?id=40712