I have currently two problems :
first, unicode is use, so your jid could be japanese characters. I use stringnameprep which seems to be ok.
second, [EMAIL PROTECTED]/Gabber and [EMAIL PROTECTED]/Gabber are the same users where as their md5 sums are different. so I have to test it. Once I've tested it, I've seen that string prep has convert Matthias to matthias, so it's allright.
So, since I use stringprep_nameprep, I think it's ok and my md5 sums are rights, and if i have two differents md5 sums, that's probably because that's 2 differents full jids. I have just to make sure and not "probably". Do you understand matthias what I mean ?
One more time, thx
Matthias Wimmer wrote:
Hi Remy!
Remy HAREL schrieb am 2004-05-11 15:47:43:
does anyone knows how works stringprep and profiles ? I'm sturying it but if someone has already used it it would be graceful to help me...
Install the libidn documentation and execute "info libidn". You will get described how it works in detail.
For your work on jabberd2 ... I don't know if you need to care about it at all. It depends on what you are exactly doing. It might be that you are working on already normalized strings.
Tot kijk Matthias
------------------------------------------------------------------------
_______________________________________________
jdev mailing list
[EMAIL PROTECTED]
https://jabberstudio.org/mailman/listinfo/jdev
-- Remy Harel - [EMAIL PROTECTED] G.I.C.M - Distributed Systems & IT Linux Registered User #224740
_______________________________________________ jdev mailing list [EMAIL PROTECTED] https://jabberstudio.org/mailman/listinfo/jdev
