develooper Front page | perl.perl5.porters | Postings from June 2008

Perl 5.8 and perl 5.10 differences on UTF/Pack things

Thread Next
From:
=?ISO-8859-1?Q?Alberto_Sim=F5es?=
Date:
June 18, 2008 07:13
Subject:
Perl 5.8 and perl 5.10 differences on UTF/Pack things
Message ID:
48591805.5070201@alfarrabio.di.uminho.pt
Hi, Folks

I have some code that somewhere do:

         if (utf8::is_utf8($chave)) {
           print IDX pack('a*x',$chave);
         }

This IDX was opened without any special binmode.

For the same input, I get it working on perl 5.8, and not working on 
5.10 (Wide character in print).

ANy hints?
Thanks
Alberto

-- 
Alberto Simões - Departamento de Informática - Universidade do Minho
                  Campus de Gualtar - 4710-057 Braga - Portugal

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About