file_get_contents doesn't seem to allow me to open any file with unicode characters within its file name.
Source of storeUnicodeCharsSafely.txt set to utf-8:
PHP Code:
<?php
$XMLFileName=file_get_contents("storeUnicodeCharsSafely.txt");
echo file_get_contents($XMLFileName);//file does not exist
?>
Just because the file name contains unicode characters, does the file become TOTALLY unaccessible to PHP? Surely there is some kind of input string I can feed it that would represent the file. Can mb_convert_encoding help?
Bookmarks