Re: japanese in regular expressions possible?

2003-08-15 Thread Joel Rees
This script then behaves as I would expect: #!/usr/bin/perl no warnings ; $f = $ENV{HOME}/Desktop/biao.txt ; # file saved as UTF-8 open F, $f or die $! ; $/ = \015 ; # only if the file has Mac line endings !!! print \x{8868}\n\n; # prints the character as utf-8 for (F) { print 1. $_ if /Ë°®/

Re: japanese in regular expressions possible?

2003-08-15 Thread Ken Williams
On Friday, August 15, 2003, at 01:50 AM, Joel Rees wrote: I'll give it a try, soon as I can get 5.8 installed on my iBook. (Running short of disk space, so I've been putting it off.) Yeah, I recently put an 80G drive in my iBook, and it makes a HUGE difference. I highly recommend doing it -

Re: japanese in regular expressions possible?

2003-08-14 Thread John Delacour
At 5:40 pm +0900 14/8/03, Joel Rees wrote: Am I expecting too much, too early? Not at all. I pasted your message into TextEdit and saved it as utf-8 on the desktop with the name biao.txt. This script then behaves as I would expect: #!/usr/bin/perl no warnings ; $f =

Re: japanese in regular expressions possible?

2003-08-14 Thread Robin
On Thursday, August 14, 2003, at 05:40 pm, Joel Rees wrote: I really wanted to use Japanese my experiences mirror yours pretty closely Am I expecting too much, too early? I always put my lack of success down to my missing something vital in the knowledge department (and getting my