NOT Resolution of Problem With Accented Characters in Filenames

2002-06-28 Thread Brian W Smith
Fellow Users, I was wrong. This problem is not resolved. The call to stat fails and what I am seeing is the last successful call's results. If I have a file called "D:\Temp\acctest\sé.txt" s(lowercase e acute).txt and run the following snippet from a command window: $filename = "D:\\Temp\\accte

Resolution of Problem With Accented Characters in Filenames

2002-06-28 Thread Brian W Smith
Fellow Users, My problem lay in the "if ($st = stat($files[$i]))" statement. The test returned false if the filename contained an accented character, not merely if the file didn't exist, which latter was the purpose of the test. However, the information was still available. By separating the tes

Re: Perl for ISAPI

2002-06-28 Thread John Deurbrouck
Simon --- BINGO! Thank you! With the insight you gave me, I wrote a trivial C++ program I ran on my webserver to find out all the present environment vars: #include #include int main(int argc, char* argv[],char* envp[]) { printf("Content-Type: text/html\n\nEnvironment Variables\n")

Re: Perl for ISAPI

2002-06-28 Thread Simon Oliver
> Liang Anmian wrote: > > I'm using ActivePerl on Windows. I've been playing around with Perl for > ISAPI. I notice that scripts that run under Perl for ISAPI don't have > the "ENV" hash defined, meaning I can no longer grab the visitors' IP > Address and all other useful stuffs like the HTTP_REF