Then you have codepage problem. How did you get the files there in the
first place?
You can try to set the codepage of the html page to each possible
japanese coding and find out which one is used.
umesh wrote:
> Hi,
>
> If I list out all filkes in the directory using php, it shows garbage
> filenames (those which have japanese).
>
> Umesh.
>
> -----Original Message-----
> From: Marek Kilimajer [mailto:[EMAIL PROTECTED]
> Sent: Friday, October 10, 2003 6:04 PM
> To: umesh
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] Problem :file_exists & japanese filename
>
>
> Is the codepage of filesystem and of the string the same? What do you
> see if you list the files in the directory using php?
>
> umesh wrote:
>
>
>>Hi Gurus,
>>
>>I am using PHP4 on linux.
>>
>>I am reading the filename from querystring and display it in the browser.
>>Before displaying , I am checking the existance of the file by using
>>file_exists.
>>If the file name contains japanese characters, such as 百人一首.pdf or て
>
> す
>
>>と.txt, file_exists returns false, though the
>>file exists at that location. Why ?
>>
>>I have compiled PHP with japanese support.
>>
>>Can anybody help me ?
>>
>>Thanking you in anticipation.
>>
>>Regards,
>>
>>Umesh.
>>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php