Images not displaying due to special chars in the file name
Whenever I upload a file through my app, that contains letters like č, or š, the file name is changed to some weird character ( šir). I suppose that is due to encoding, but I haven't find the solution. The name is properly stored in the database.
Hi, thank you for your response. Image name is displaying correctly, and it is stored in the db correctly, only when the file is stored in the file system, it gets corrupted :). Tried utf8_encode() but it didn't do the trick.
Hi, I managed to correct it just now. It seems that it is something to do with Windows encoding, because I as soon as I changed to Linux, it all works perfectly. Thanks again.