in reply to problems matching umlauts in env vars

Here are the results I got:
Trying with: /usr/home/december/public_html/experiments/html/files/blė +h.txt Trying with: /usr/home/december/public_html/experiments/html/files/blė +h.txt SUCCEEDED1 SUCCEEDED2 VALID3 VALID4

I'd suggest you add a line like this as the third line of your program, to check that the strings are the same:

die "strings are different!" if ($testString ne $fileAsked);

Replies are listed 'Best First'.
Re^2: problems matching umlauts in env vars
by december (Pilgrim) on Jul 23, 2004 at 03:56 UTC
    They are equal (tested with 'eq'). Yet one matches, and the other doesn't - it's the same regex. How bizar. >:-|