Page 1 of 1

POST variables different in Firefox and IE (Polish text)

Posted: Wed Jan 16, 2008 4:09 am
by DeButler
Hi,

I'm working on a multilingual website and I have some trouble with Polish characters. Whenever I paste the Polish text into the CMS I work with (custom built by the company I work for), it will be processed differently by IE and Firefox. Firefox converts all special characters to numeric character references, which is what I want. IE on the other hand doesn't seem able to handle the Polish characters.

My question is: how can I make IE's behaviour similar to Firefox's in this case?

At this moment i'm not specifying a charset in the <head> tags. This is because it's hard for me to change this in the CMS, because it's Zend encoded and it would be very time-consuming. If this would be a solution however I ofcourse have no choice.

A simplified version of the form I'm talking about is here: http://www.baseplace.nl/hosted/polishproblem/test.php

A sample Polish text is there as well.

This is what the POST variable looks like in Firefox: (GOOD, I want this)
http://www.baseplace.nl/hosted/polishpr ... irefox.gif

This is what the POST variable looks like in Internet Explorer: (BAD)
http://www.baseplace.nl/hosted/polishproblem/ie.gif

Thanks in advance,

De Butler

Re: POST variables different in Firefox and IE (Polish text)

Posted: Wed Jan 16, 2008 5:56 am
by VladSun
I can't give you a solution for your problem, but I could advice you something else - I always use one browser for "Intranet-like" web applications - Mozilla Prism (some prefer XULrunner). It is a "web-application-browser".
This way, you can make your UI browser specific and eleminate the cross-browser issues.

PS: What about setting the Apache directive AddDefaultCharset to the charset you need?

Re: POST variables different in Firefox and IE (Polish text)

Posted: Sun Jan 20, 2008 5:01 am
by kaszu
Try <html lang="??"> (not sure what's the language code for Polish), also set dtd