theimmortalbg Posted December 14, 2010 Share Posted December 14, 2010 hello can i open file with name in another language rather than english. For example торта.jpg. How can i open that kind of file. I've tryed that <meta content="text/html" charset="utf-8" /> <?php $fh = fopen("торта.jpg", 'r'); fclose($fh); ?> but it's don't work. Help me pls! Quote Link to comment Share on other sites More sharing options...
upp Posted December 14, 2010 Share Posted December 14, 2010 to be honest i have never worked with foreign languages, but after looking into a couple things i think this is worth a shot, see if urldecode() works for you, let me know if it does or not, you can read about what it does here http://php.net/manual/en/function.urldecode.php Quote Link to comment Share on other sites More sharing options...
theimmortalbg Posted December 14, 2010 Author Share Posted December 14, 2010 doesn't work 001_�����_��������.jpg this is the result .... must have a way to do that Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.