For a project I'm working on, lots and lots of jpg files need to be converted to thumbnails and shown on a website. It is not complicated to read a directory, filter out all the jpg files and create thumbnails. So far no problem.
But.... Some files do contain characters like this: äÇé
And now the problems start. The php file creates the html file also, with this meta tag:
<meta http-equiv="Content-Type" content="text/html; charset=iso-8559-1"/>
The jpg files are shown inside a table and just before this I have:
When I look at it on the Linux box, everything goes fine. All images are there the way it should be. However, opening it from a Windows XP machine (firefox or ie doesn't matter), the images that contain umlauts doesn't show up.
Looking in the directory; on the Linux box FELGENTRÄ□GER....jpg from Windows FELGENTRÄGER....jpg Firebug: on Linux FELGENTRÄGER....jpg on Windows FELGENTRÄGER....jpg Firefox: image props in Linux FELGENTR%C3%84GER...jpg image props on Windows ? (image is not shown)
What is going on. And how to correct it? (when I use uft8_encode the images don't show up anywhere).