Re: Mac OS X file name encoding problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Giulio wrote:
I have a problem with a script when it is runs on a Mac OS X  environment.
[snip]

The problem appears when $filename contains special characters, like accented chars, on Mac OS X the ftp_fput function returns me an error.

I thinked that the problem could depend on the filesystem encoding, that on Mac OS X is Unicode, so I tryied this before:

$filename = utf8_encode($filename);

Wouldn't it be utf8_decode(), since you're trying to go *from* a Unicode filesystem (Mac OS X)?

Jasper

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux