PHP error while importing path with international characters
squisher
Joined: 2006-10-24
Posts: 4 |
![]() |
I just recently found an old backup of a gallery1 installation that I had misplaced. Now I'm trying to import it. It's using some international characters (Umlaute), and the import routine chokes on it. The error is: Quote:
Error (ERROR_BAD_PARAMETER) : Missing or not readable file: /nfs/digamma/dmohr/gallery/albums/LundStraßen/album.dat The file exists, and is readable by the webserver. My system information: Quote:
Gallery version = 2.2.4 core 1.2.0.6 First I thought it was a locale problem, and switched to "en_US.UTF-8", but that didn't change anything (except that the path now gets displayed correctly in my shell). I wrote a little test php page which tries to open the page in question. When I paste the location into the code, or when I use php's Directory class to iterate through the files in the directory, I get a different, and incorrect, name displayed, but it opens the file just fine: Quote:
Opening the pasted path: I'm not really sure what's at fault here, any help would be much appreciated! |
|
valiant
Joined: 2003-01-04
Posts: 32509 |
![]() |
as a quick fix i'd rename /nfs/digamma/dmohr/gallery/albums/LundStraßen/album.dat, replacing the ß characte with ss. -------------- |
|