use:

$var =~ s/\xA7/x/;
 
or

open(INFILE, "o_\xA75_Meldung.htm") or die "cant open file $!\n";

Eugene Haimov

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Monday, June 07, 2004 11:10 AM
To: [EMAIL PROTECTED]
Subject: open file with special char �


Hi,
I try to open a file on windows nt, with active perl 583.
The filename contains the special char � e.g. o_�5_Meldung.htm.

open(INFILE, "o_�5_Meldung.htm") or die "cant open file $!\n";

results in this error message:
cant open file No such file or directory

I cannot even replace this char with 
$var =~ s/\�/x/;

Any ideas??

p.s. it works fine within cygwin.

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

_______________________________________________
ActivePerl mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to