Re: Re: file_exists()
| From: | Robert Cummings | Date: | Sat, 22 Oct 2005 23:29:11 +0000 |
| Subject: | Re: Re: file_exists() | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-224473@lists.php.net to get a copy of this message | ||
On Sat, 2005-10-22 at 19:19, Oliver Grätz wrote:
> Jonny Bergström schrieb:
> > Hi
> >
> > file_exists('字.gif') always returns false.
> >
> > Can anyone help me find out a way to make it work also for these kind of
> > filenames?
> >
> Unicode filenames can't be properly handled up to now for all I know.
> Perhaps waiting for PHP6 might be your only solution.
You could try execing a shell command to give you the answer. I don't
know if it'll work, but worth a shot if you're in a bind.
Cheers,
Rob.
--
.------------------------------------------------------------.
| InterJinn Application Framework - http://www.interjinn.com
|
:------------------------------------------------------------:
| An application and templating framework for PHP. Boasting |
| a powerful, scalable system for accessing system services |
| such as forms, properties, sessions, and caches. InterJinn |
| also provides an extremely flexible architecture for |
| creating re-usable components quickly and easily. |
`------------------------------------------------------------'