jtalbot at proionta.gr
Thu Sep 29 13:25:26 CDT 2005
I just added 'use utf8;' in my script, and it worked!
That's strange again, I thought these libraries would just flush
whatever's on their input to the Jabber server. What's the difference I
mean if Perl thinks a text is 5 characters or 10, as long as it flushes
Thank you so much, Tijl.
Tijl Houtbeckers wrote:
> On Thu, 29 Sep 2005 17:57:04 +0200, John Talbot <jtalbot at proionta.gr>
>> That is very surprising. Since Perl probably has nothing to do with the
>> unicode here, the culprit has to be jabberd then. I'll try to upgrade
>> (though I use the apt-get system for which the most recent versions
>> don't always exist).
> Back up a second there ;) Perl is notorious for being bad with
> unicode, wether that's a repuation still deserved I don't know, but it
> was justified in the past. And afaik never in the history of jabberd
> has there been such a serious problem with UTF-8 handeling.
> I think you should consider first:
> - is the file UTF-8? (you seem to have this covered)
> - is your version of Perl configured right to read unicode UTF-8files..
> - *and* to use unicode for string handeling by default
> - do you have the most recent Net::Jabber
> Not critizing you or anything, but I'm worried you'll loose a lot of
> time accomplishing very little trying to find a UTF-8 bug in jabberd.
> Jabberd's unicode handeling is independant of how your system is
> setup, how you build it, etc. The same can not be said for Perl. If
> you're still not convinced it's not jabberd, try another server (a
> public one).
More information about the JDev