Member
Member
robs   2011-04-27, 21:27
#1

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!

Member
Member
sbillard   2011-04-28, 00:50
#2

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.

`

Member
Member
robs   2011-05-02, 19:02
#3

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

[code]

Administrator
Administrator
acrylian   2011-05-02, 19:18
#4

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.

Member
Member
hit1205   2011-05-08, 12:24
#5

@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.

Member
Member
bryanwaddington   2011-05-10, 13:37
#6

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

Member
Member
sbillard   2011-05-10, 17:13
#7

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

Member
Member
bryanwaddington   2011-05-12, 09:10
#8

That's useful to know, thanks.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.