coppermine-gallery.com/forum

Support => Older/other versions => cpg1.2 Standalone Support => Topic started by: mad_mark on February 17, 2004, 08:25:28 PM

Title: problems with characters encoding
Post by: mad_mark on February 17, 2004, 08:25:28 PM
hi all there,
first i would like to thank you for all that great work with cpg!
but lets get to the point, i have problem with encoding, my gallery is in polish language and should open in IE with central-europe (iso-2) encoding, but it doesnt. instead it opens in iso-1 (western) encoding turning some polish characters into strange funny things...
i've already checked the lang file and charset i set to iso2, in the configuration menu on the page i also set the charset to iso2 but IE still opens it with iso1 encoding :? i have cpg on windows xp pro eng with apache server and some standard php4.x.x (my IE is english, but i opened my site from polish IE and i got the same). pleaseeee help.
Title: problems with characters encoding
Post by: Joachim Müller on February 18, 2004, 06:48:19 AM
post a link to your site - maybe it's the theme's "fault": there are some known bugs with the line<meta http-equiv="Content-Type" content="text/html; charset={CHARSET}" />in the template.html files. If your site is only available in polish, you can simply (quick and dirty) fix this issue by editing /themes/yourtheme/template.html and replace above line with
Quote<meta http-equiv="Content-Type" content="text/html; charset=charset_of_your_choice" />
GauGau
Title: fixed
Post by: mad_mark on February 18, 2004, 04:05:23 PM
ok i got it fixed now. it turned out to be apache problem, server had default page coding in iso-1, lol.
thnx for help anyway.