Hi group,
My Unicode blues continues… One more question on handling Unicode.
Does Tree::Nary module works with Unicode data? I am trying to store some
Unicode strings (UTF-8 to be precise) as Nary Tree.
When I retrieve the value of the nodes from the tree, it produces the output as
Baskaran Sankaran wrote:
use Tree::Nary;
use warnings;
open(O, children.txt);
binmode (O, :utf8);
open(I, utf8, temp1.txt);
Shouldn't this be:
open( I, ':utf8', 'temp1.txt' ) or die cannot open temp1.txt: $!;
--
Just my 0.0002 million dollars worth,
--- Shawn
For the
-Original Message-
From: Mr. Shawn H. Corey [mailto:[EMAIL PROTECTED]
Sent: 20 March 2006 16:25
To: beginners@perl.org
Subject: Re: Tree:Nary and Unicode
Baskaran Sankaran wrote:
use Tree::Nary;
use warnings;
open(O, children.txt);
binmode (O, :utf8);
open(I
Baskaran Sankaran wrote:
This doesn't make a difference, I suppose. Also, I just checked it to
be be sure and I didn't see any difference.
'utf8' vs ':utf8'
The difference is a semi-colon.
--
Just my 0.0002 million dollars worth,
--- Shawn
For the things we have to learn