ZenphotoCMS Forum
zenpage encoding problem (headers) - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: General support (https://forum.zenphoto.org/forum-4.html)
+--- Thread: zenpage encoding problem (headers) (/thread-7310.html)



zenpage encoding problem (headers) - altert - 2010-07-07

I'm not sure if I should make a ticket from it, but there seems to be a problem with headers in zenpage admin pages - they don't send encoding information in headers. On my system it results in incorrect display of utf-8 cyrillic texts.
It is easily resolved by adding
`

header('Content-Type: text/html; charset=' . getOption('charset'));

`
line before doctype declaration in admin-* pages in zenpage plugin directory




zenpage encoding problem (headers) - sbillard - 2010-07-08

You are correct. (This sort of thing happens when someone does not use the standard functions like printAdminHeader().) No need for a ticket, I will get the correction into tonight's build.




zenpage encoding problem (headers) - acrylian - 2010-07-08

That's a old leftover from the times when Zenpage was released independently.. Good find.