Jump to content

WAMP - file() / fopen() fails with euro sign in filename


bokaj

Recommended Posts

Hello Php Freaks,

 

I'm lost. My Google Fu is Kaputt.

 

I have to parse a lot of files with euro signs in their filenames but I can't.

 

file('C:\\100€.test') -> failed to open stream: No such file or directory

file('C:\\100$.test') -> opens

 

Both files are identical except for that euro sign

 

How do I escape/convert/utf/iso this nasty currency designator?

 

Thanks

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.