Re: Parsing UTF8 files with wide characters

2005-06-15 Thread Andrew Mace
Try use utf8 - it lets Perl know that your script contains utf8 chars. More info: http://perlpod.com/5.9.1/lib/utf8.html Andrew On Jun 15, 2005, at 2:48 PM, Robin wrote: I thought I'd understood how to use unicode support in perl, but evidently not. In the script below, I'm stumped as

Re: Parsing UTF8 files with wide characters

2005-06-15 Thread Sherm Pendley
On Jun 15, 2005, at 2:48 PM, Robin wrote: I thought I'd understood how to use unicode support in perl, but evidently not. In the script below, I'm stumped as to: 1) why the regex won't match ''. 2) why the substitution is carried out, but the result isn't in UTF8, nor is it UTF8 re-encoded

Re: Parsing UTF8 files with wide characters

2005-06-15 Thread Robin
thanks Andrew and Sherm I went back to look at perluniintro because I was sure I could remember reading that the use utf8 pragma was no longer needed, right under where it says this it continues Only one case remains where an explicit use utf8 is needed: if your Perl script itself is encoded

Re: Parsing UTF8 files with wide characters

2005-06-15 Thread John Delacour
At 4:26 am +0900 16/6/05, Robin wrote: I went back to look at perluniintro because I was sure I could remember reading that the use utf8 pragma was no longer needed, right under where it says this it continues Only one case remains where an explicit use utf8 is needed: if your Perl script

Re: Parsing UTF8 files with wide characters

2005-06-15 Thread Joel Rees
On 2005.6.16, at 05:13 AM, John Delacour wrote: At 4:26 am +0900 16/6/05, Robin wrote: I went back to look at perluniintro because I was sure I could remember reading that the "use utf8" pragma was no longer needed, right under where it says this it continues "Only