Posted on 2005-09-30 02:01:25-07 by jtalbot
xml:lang attribute missing?
According to the core XMPP protocol, chapter 13 titled "internationalization considerations", an 'xml:lang' attribute should be included somewhere, but I think it's not.

I'm having great difficulty (in fact it's impossible) sending international (non-western) characters to windows clients from Net::Jabber. Yet all windows clients seem to happily send international characters to each other easily.

I don't know if xml:lang is the fault, if you have any suggestions or comments I'd be greatful to hear.

I'm using Net::XMPP 1.0 on Perl 5.8.4.
Direct Responses: 1089 | Write a response
Posted on 2005-09-30 04:04:47-07 by jtalbot in response to 1088
Re: xml:lang attribute missing?
Someone tested on his system the same Perl script that doesn't work well on my system. There it works.

My system has Perl 5.8.4 and jabberd 1.4.3.
His system has Perl 5.8.6 and jabberd 1.4.4.

I'll test this further and see what comes out.
Direct Responses: 1090 | Write a response
Posted on 2005-09-30 06:39:28-07 by jtalbot in response to 1089
Re: xml:lang attribute missing?
What was needed for my version of perl to function well with international characters on Net::XMPP was to include 'use utf8'
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.