DJabberd on livejournal.com

Brad Fitzpatrick brad at danga.com
Mon Dec 15 17:08:21 UTC 2008


Michail,
Let me copy some people that might help:

djabberd list, is this bug known/old and maybe already fixed?

Henry, can you open an internal LiveJournal bug for this, or route
appropriately, perhaps to the LJ Russia team?

On Mon, Dec 15, 2008 at 7:53 AM, Michail Pishchagin
<mblsha at yandex-team.ru>wrote:

> Hi Brad,
>
> I'm not sure whether I should send this to you, or to LiveJournal support,
> hopefully you could help me on that :-)
>
> The bug I'm noticing is that when I ask for a vCard, string data is
> returned as UTF-8-incoded-in-latin1.
>
> Example:
> <GIVEN>Ибупрофен Коллайдерыч Ð¢ÐµÑ Ñ
> ерактов-ÐšÑ€Ð¸Ð·Ð¸Ð½Ñ </GIVEN>
>
> But the proper result should've been:
> <GIVEN>Ибупрофен Коллайдерыч Тессерактов-Кризинс</GIVEN>
>
> It's fairly easy to check whether that data is valid UTF8, and encode the
> data appropriately in such case.
>
> The bug's been around for a long time, and since it's still not fixed I'd
> like to know whether there are some serious technical reasons for it staying
> the way it was?
>
> Thanks!
>
> Full XML log for reference:
> <iq type="get" to="cyber_lyric at livejournal.com" id="ab02a" >
> <vCard xmlns="vcard-temp" version="2.0" prodid="-//HandGen//NONSGML vGen
> v1.0//EN" />
> </iq>
>
> <iq from="cyber_lyric at livejournal.com" type="result" to="
> themblsha at ya.ru/siruba" id="ab02a" lang="ru" >
> <vCard xmlns="vcard-temp">
>                          <NICKNAME>cyber_lyric</NICKNAME>
> <N>
> <GIVEN>Ибупрофен Коллайдерыч Ð¢ÐµÑ Ñ
> ерактов-ÐšÑ€Ð¸Ð·Ð¸Ð½Ñ </GIVEN>
> </N>
> <URL>http://cyber-lyric.livejournal.com/</URL>
> <ADR>
> <CTRY>AU</CTRY>
> <LOCALITY>Nowhere</LOCALITY>
> </ADR>
>                          <PHOTO>
>                          <TYPE>image/jpeg</TYPE>
>                          <BINVAL>SNIP</BINVAL>
>                          </PHOTO>
>                          </vCard>
> </iq>
>
> --
> Michail Pishchagin
> Yandex development team.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/djabberd/attachments/20081215/cabba249/attachment.htm 


More information about the Djabberd mailing list