VCard and roster in UTF.

Aleksey Luzin subscr at p34.net
Fri Mar 14 11:31:42 UTC 2008


Hello,

I have a problem with data in VCard which stored in Russian,
I see that data saved correctly in my db, but when I retrive my vcard 
from server I see that everything was in russian is broken.
I've investigate this issue a little and found that data changed on call 
function write of module Danga::Socket. Also I've found in front of this 
module pragma use bytes;
When I comment out this line, I've got correct vcatds but start got the 
following error when sending messages in russian:
6354 ERROR DJabberd.Connection.ClientIn             1 disconnected 
DJabberd::Connection::ClientIn=ARRAY(0x8e6f9fc) because: Wide character 
in syswrite at Danga/Socket.pm line 1034.

How I can fix this issue?




More information about the Djabberd mailing list