Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

problems matching umlauts in env vars

by december (Pilgrim)
on Jul 23, 2004 at 01:08 UTC ( [id://376768]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $testString = "/usr/home/december/public_html/experiments/html/files/b
    +lëh.txt";
    $fileAsked = $ENV{'PATH_TRANSLATED'};
    ...
    
    print "VALID3\n" if ($testString =~ /^([\w\s\/.]+)$/);
    print "VALID4\n" if ($fileAsked =~ /^([\w\s\/.]+)$/);
    
  2. or download this
    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
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://376768]
Approved by FoxtrotUniform
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2024-04-19 06:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found