another file_exists with special chars problem

Posted by Camran on Stack Overflow See other posts from Stack Overflow or by Camran
Published on 2010-04-25T10:36:52Z Indexed on 2010/04/25 10:43 UTC
Read the original article Hit count: 198

Filed under:
|
|
|
|

I have some folders with special characters in their names. I run currently at a test-computer with Windows OS, but later I will use LINUX.

My problem is that the folders with special chars in their names cannot be recognized somehow.

ex:

file_exists('../Bilar/27733691_1.jpg')  // TRUE
file_exists('../Båtar/27733691_1.jpg')  // FALSE because of the special char in folder name...

How should I solve this? I plan to run LINUX in the future when website is online... would that matter?

Please explain thoroughly because I am a newb at this

Thanks

© Stack Overflow or respective owner

Related posts about php

Related posts about html