POST variables different in Firefox and IE (Polish text)

XML, Perl, Python, and other languages can be discussed here, even if it isn't PHP (We might forgive you).

Moderator: General Moderators

Post Reply
DeButler
Forum Newbie
Posts: 2
Joined: Wed Jan 16, 2008 4:05 am

POST variables different in Firefox and IE (Polish text)

Post 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
User avatar
VladSun
DevNet Master
Posts: 4313
Joined: Wed Jun 27, 2007 9:44 am
Location: Sofia, Bulgaria

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

Post 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?
There are 10 types of people in this world, those who understand binary and those who don't
User avatar
kaszu
Forum Regular
Posts: 749
Joined: Wed Jul 19, 2006 7:29 am

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

Post by kaszu »

Try <html lang="??"> (not sure what's the language code for Polish), also set dtd
Post Reply