Arne Claassen schrieb:
> Hmmm... then stringprep in agsXMPP might be borked, since in it user  
> names stay in the case they were sent, which is where my troubles  
> started.

I don't use stringprep in all constructors in the jid class of agsXMPP 
because stringprep is a heavy process and needs lots of cpu power. When 
I receive a Jid from a server then I assume its correct and was prepared 
by the connecting client or on the server before.

The follwing code:
Jid jid =new Jid("[email protected]/Resource");
Console.WriteLine(jid.ToString());

Jid jid2 = new Jid("TEßT","Server.Com","Resource");
Console.WriteLine(jid2.ToString());

gives you this output:
[email protected]/Resource
[email protected]/Resource

Regards,
Alex

_______________________________________________
JDev mailing list
FAQ: http://www.jabber.org/discussion-lists/jdev-faq
Forum: http://www.jabberforum.org/forumdisplay.php?f=20
Info: http://mail.jabber.org/mailman/listinfo/jdev
Unsubscribe: [email protected]
_______________________________________________

Reply via email to