I have a UNIX server running. I have a program, that uploads images to my server.
but I’m having some problems with these chars: ø æ å
In my program I used
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
Example:
I upload an image called påske.png
On my server I can see the picture is called påske.png
In my database, the name påske.png is also saved.
if I then manually tries to see my picture, I get an error
I type: www.myserver.com/uploads/påske.png
Error: /uploads/påske.png was not found on this server.
You shoulnd’t save the special chars direct as filename. Give them a new name like a timestamp or replace the spacial chars with the english equivalent.
What you have is normal then your server / Webserver has a default charset like UTF-8 for example. Special chars in Linux are displayed in this character Set.
Edit:
Replace special characters before the file is uploaded using PHP