Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Wrong Charset, cannot specify UTF-8


chrishajer
Participant

@chrishajer

Is it possible it has something to do with the DOCTYPE?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

in the site, where the charset is correct, and

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

in the forum where it’s not correct. I think the DOCTYPE declaration affects the character set. See here:

http://www.w3.org/TR/xhtml1/#C_9

I’m not sure if you can change the DOCTYPE on the forum without creating other problems (it’s not the right solution since the forum validates as XHTML 1.1, not transitional), but maybe there’s something at the w3c site that makes sense to you.

Good luck

(p.s. this is just a wild guess.)

Skip to toolbar