<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 5.50.4134.600" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I'm working since yesterday on a strange issue with
perl and jabber :</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Here's my test script, it sends a message "yep" to
my windows client without problems, as any message without accented
characters</FONT></DIV>
<DIV><FONT face=Arial size=2>I replace "yep" by "יייייי.", it works. I replace
it by "ייייייי.", i get a <stream:error>Invalid XML</stream:error>
and disconnection</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I think this issue is related with perl because
when I send the same msg from my windows client it obviously
works....</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Can anyone help me pleaseeeeeee ?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks in advance</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>sylvinus</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>#!/usr/bin/perl</FONT></DIV>
<DIV><FONT face=Arial size=2><BR>use IO::Socket;<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>$jclient=
IO::Socket::INET->new<BR>(<BR> PeerAddr =>
"jabber.org",<BR> PeerPort => 5222,<BR>
Proto => "tcp",<BR>
Type => SOCK_STREAM,<BR>
Timeout => 10<BR>) or die "Connection error\n";</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>$packet='<stream:stream to="158.64.60.160"
xmlns="jabber:client" xmlns:stream="<A
href="http://etherx.jabber.org/streams">http://etherx.jabber.org/streams</A>"><BR></FONT><FONT
face=Arial size=2><iq type="set" id=<A
href="mailto:id=sylvinus@158.64.60.160/nothing">sylvinus@158.64.60.160/nothing</A>><query
xmlns="jabber:iq:auth"><username>sylvinus</username><password>********</password><resource>nothing</resource><<BR>/query></iq></FONT></DIV>
<DIV><FONT face=Arial size=2><message from="<A
href="mailto:sylvinus@jabber.org">sylvinus@jabber.org</A>" to="<A
href="mailto:sylvinus@158.64.60.160/exodus">sylvinus@158.64.60.160/exodus</A>"
type="chat"><body>yep</body></message><BR>';</FONT></DIV>
<DIV><FONT face=Arial size=2><BR>print $jclient $packet;<BR>print "sending
$packet\n";<BR></DIV>
<DIV> </DIV></FONT></BODY></HTML>