problems with characters encoding problems with characters encoding
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

problems with characters encoding

Started by mad_mark, February 17, 2004, 08:25:28 PM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

mad_mark

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.

Joachim Müller

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

mad_mark

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.