I've set "PublishCharset utf-8" in mt-config.cgi, however, I've got one page that still comes out wrong: http://www.jarzo.nl/id-bus/
Ideeënbus, should be: Ideeënbus
Although PublishCharset is set to utf-8, the browser doesn't seem to recognize this. When I set the coding to utf-8 manually in the browser, the text comes out alright.
It's a statically published template (powered by entrypost, mt-hacks.com)
Anyone that knows what's wrong?
Reported on Movable Type 4.3
Hi Mixhael,
The problem you are facing here is related to how your server is configured.
Basically, your server is imposing the following character encoding to any pages on your server to be "iso-8859-1".
That means that regardless of what encoding type you define on your pages, the server would server the page using "iso-8859-1".
To solve this you need to ask your hosting admin to remove the setting from the server which imposes the iso-8859-1 encoding in the HTTP header.
Good luck,
Mihai Bocsaru
Thanks for pointing that out. Instead of asking my host admin to remove the setting, I've set my publishcharset to iso-8859-1. Which works as well (after re-typing some non-standard characters).
tnx again!
Dear Mixhael,
That's not good, because commenting may stop working on your Web site!
Movable Type v4.x doesn't like non-UTF-8 encoding on entry pages and that breaks the commenting feature.
Please proceed as I've recommended you above.
Cheers,
Mihai
Ok, thnx, will do that.
But I cannot do this myself using a .htaccess directive? Like: Content-Type: text/html; charset=utf-8
Cause I can imagine, my host won't change this setting just for me...
You're welcome!
You could make that setting inside the .htaccess file and that should fix it, as long as local .htaccess is activated on your shared account (some hosting providers don't allow you to overwrite the server default .htaccess, but that happens rarely).