when I pass the character ... from the web page, the backend receives Γ. The webpage is part of the Spring Webflow / JSF1.2 / Facelets application. When I check POST with firebug, I see:
Content-Type: application/x-www-form-urlencoded Content-Length: 74 rapport=krediet_aanvragen&fw1=0&fw2=%C3%96ZTEKIN&fw3=0&fw4=0&zoeken=Zoeken
The Γ character is encoded as% C3% 96 using this table. I see that this is the correct hexadecimal representation of UTF-8 / Unicode character .... However, when it reaches the backend, the character changes to Γ. Using the same table, I see that somewhere there is code that tries to interpret C3 and 96 separately (or as a unicode \ u record). U + 00C3 turns out to be Γ, 96 is not a visible character, so this is explained.
Now I know that this is a typical case of coding mismatch, I just don't know where to look to fix this.
The web page contains
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
When debugging, I see that the library responsible for the wrong intervention is jboss-el 2.0.0.GA, which seems correct because the value is parsed for the backend in the webflow expression:
<evaluate expression="rapportCriteria.addParameter('fw2', flowScope.fw2)" />
It is placed in flowScope:
<evaluate expression="requestParameters.fw2" result="flowScope.fw2"/>
Ignore the convective way to input the form into the backend, this is code that tries to integrate Webflow with BIRT reports ... but I have the same symptom in other web applications.
Any idea where I should start looking?