RE: Unicode, Null Code or Something Else

2013-01-24 Thread Paul Rousseau
Thank you Glenn. open(my $file,"<:encoding(UTF-16)", $filename) This works. Paul Date: Thu, 24 Jan 2013 09:39:49 -0800 From: v+p...@g.nevcal.com To: perl-win32-users@listserv.ActiveState.com Subject: Re: Unicode, Null Code or Something Else On 1/24/2013 9:36 AM, Paul Rousseau wrote

Re: Unicode, Null Code or Something Else

2013-01-24 Thread Glenn Linderman
On 1/24/2013 9:36 AM, Paul Rousseau wrote: Hello Perl forum. I am attempting to parse a file that contains a format I am not familiar with. I read in a record and assign it to $string. $string = "N o r m a n d v i l l e A d m i n" When I dump the string using this code, while ($string =~ /.

Unicode, Null Code or Something Else

2013-01-24 Thread Paul Rousseau
Hello Perl forum. I am attempting to parse a file that contains a format I am not familiar with. I read in a record and assign it to $string. $string = "N o r m a n d v i l l e A d m i n" When I dump the string using this code, while ($string =~ /./g) { print "$& and " . ord($&) . "