Perl Version: 5.010000
And adding 'use utf8' doesn't make any difference.

Peter


On Sun, 2009-06-28 at 12:00 +0300, Offer Kaye wrote:
> On Sun, Jun 28, 2009 at 9:00 AM, Peter Gordon wrote:
> > I have a Unicode string in a program, and a unicode string on in a file,
> 
> ...
> 
> >
> > What do I need to do to get them to display and match as equal?
> >
> > Thanks,
> >
> > Peter
> >
> >
> 
> I think you need to add "use utf8;" at the beginning of your Perl
> script, in order to tell perl that you have UTF-8 strings embedded in
> your program source. See "perldoc utf8" for more details, as well as
> "perldoc perlunicode".
> 
> You didn't mention your Perl version, if it's pre-5.6 you might not
> have any luck with Unicode no matter what you do...
> 
> Cheers,

_______________________________________________
Perl mailing list
[email protected]
http://mail.perl.org.il/mailman/listinfo/perl

Reply via email to