ZenphotoCMS Forum
Random characters in IE - 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: Random characters in IE (/thread-8556.html)



Random characters in IE - robs - 2011-04-27

So I've searched through the forum and couldn't find an answer for this one...

My site (in testing phase): http://www.monyzakhour.com/

When viewed in Google Chrome, everything is as it should be. However, when I open it in I.E., parts of the text are in random characters - For example, the contact form is in Chinese and the Image dates are displayed as "2010年05月26日"

I'm baffled. Any help would be greatly appreciated!




Random characters in IE - sbillard - 2011-04-28

Your theme seems to be malformed. For instance the standard themes all have
`

`
for their header, which yours does not. So it may also be missign the code to set the character set.

`




Random characters in IE - robs - 2011-05-02

Thank you for your reply. Once looking at the standard themes, I have added the following to the beginning of all my pages:

[code]




Random characters in IE - acrylian - 2011-05-02

Since you use a custom theme make sure the character encoding of the files itsefl match the encoding set in the charset options.

You should also check the encoding of your database and server.

Also you should check your scirpts. Zenphoto already includes jquery and you do it again. This can cause these issues as well.




Random characters in IE - hit1205 - 2011-05-08

@robs:

What is your language setting on IE? It seems you choice the "HTTP Accept Language" in zenPHOTO's language option so the theme display sentences with user's browser settings.
I found that because my Chrome also display your contact form in Chinese, and my default language setting is Chinese, too. (It changed to English after I change my browser's setting.)

BTW, the "random characters" problem may be caused by the PHP's strftime locate, I have the same problem with simplePHPblog and zenPHOTO. All data I found say it only happen on PHP in Windows system, but I have this problem on Linux host, too.




Random characters in IE - bryanwaddington - 2011-05-10

I had a similar problem and could not figure out a proper fix but I found that if unticked all the languages except the one I wanted the problem went away! .. and will probably come back to haunt me some day




Random characters in IE - sbillard - 2011-05-10

Probably will not come back to haunt you except when a new language gets added Zenphoto will remember the languages you have disabled.




Random characters in IE - bryanwaddington - 2011-05-12

That's useful to know, thanks.