forum.coppermine-gallery.net
Support => cpg1.4.x Support => Older/other versions => cpg1.4 miscellaneous => Topic started by: Seelachs on November 24, 2005, 05:59:06 pm
-
If I look at the html source code of http://sardinien.sa.funpic.de/galerie/index.php I can see the tag
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
But my browsers (both Firefox 1.0.7 and Internet Explorer 6 SP2) use the Western ISO-8859-1 coding even if I set the Firefox defaults to Unicode.
So I always see ß, ä and so on instead of ß, ä ...
But e.g. Wikipedia and the new demo at http://coppermine-gallery.net/Obsolete are displayed correctly in Unicode.
Why cpg not? (I just installed the newest version 1.4.2)
Greetz and thx
SehLax
-
same here
-
may be related to the pop-up ad that your webhost adds - it keeps the page from being valid.
-
I'm running my own server ;)
-
doesn't matter, the pop-up ruins the html ouput, no matter where this is being hosted. There mustn't be any html output after </html>. Attached is the output your page creates.
Joachim
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="ltr">
<head>
This ist what my output - without any changes to the template...
(and there is no output after the </html>)
-
the pop-up may not be visible for you, but it is for others. This is something funpic.de does. The "funny" chars at the start come from a BOM - did you edit your language file?
-
Sorry, but again: I'm running coppermine on my own server - no funpic! And what is "BOM"? (No, I did no changes to the language file)
-
Look, you can take my word on it that your page looks different to you than it looks to others - did you never ask yourself why funpic.de is giving you a subdomain for free? I attached a screenshot how your site looks for me. If you don't believe me, go to another PC and view your gallery there.
BOM: http://en.wikipedia.org/w/index.php?title=Byte_Order_Mark
-
I'm not "Seelachs" - I'm "daniel_w" - and http://sardinien.sa.funpic.de/galerie/index.php is not my gallery...
-
ah ok, sorry. Guess this comes from thread hijacking. Seems like you haven't actually posted a link to your site so far. Do so now.
-
doesn't matter, the pop-up ruins the html ouput, no matter where this is being hosted. There mustn't be any html output after </html>. Attached is the output your page creates.
Joachim
Yeah, I always see my popup :(
But they didn't have one in the older days ...
So maybe I have to translate the Language file to ISO or change my hoster ??? :-\\
But thanks for your help.
-
put this:
<?php header("Content-Type: text/html; charset=utf-8"); ?>
into your "custom header" file
it helps
-
put this:
<?php header("Content-Type: text/html; charset=utf-8"); ?>
into your "custom header" file
it helps
Yeah, thanks a lot, it really works!
So, GauGau, you should include this into the great CPG!