I am currently trying several combinations, I'll post follow up's as I learn more!
but looking at the submissions I was getting (summarised below) I can't see that the current situation can be right, even if tomcat is managing to make something out of the submissions? As I understand it the spec's say that, in the absence of any instructions to the contrary, a form submission should be encoded as per the web page that contains it. So the full submit is correct, but the PPR is not? Matthias Wessendorf wrote: > I wonder if it is the combi of linux AND websphere. > any chance to test it with linux/tomcat OR websphere/windoze ? > > -M > > On Thu, Oct 2, 2008 at 7:22 PM, Ian Carr <[EMAIL PROTECTED]> wrote: >> Hi we have an application using Trinidad (live version uses 1.0.4 but >> the >> problem seems to persist in 1.0.9). >> >> A page contains a text field into which free text can be entered. >> >> Everything (apparently) works fine on Tomcat and windows the user types >> a >> value into the field which may contain a UK currency symbol £ (pound >> sign) >> which is correctly round tripped both on the PPR and non PPR >> submissions. >> >> In Websphere on linux the behaviour is different and the pound sign >> followed >> by the next character disappears! >> >> I thought this sounds like a character encoding issue so I used a proxy >> to >> examine the submissions >> >> If the JSP page contains the following definition: >> >> <jsp:directive.page contentType="text/html;charset=utf-8"/> >> >> Then the PPR triggered submission contains the following unencoded text: >> >> ... id_reviewSubForm:ReviewNeeds=£12345 alkjslkjaslj £2932929 >> asasd... >> >> And the non PPR submission contains UTF-8 encoded text with the leading >> %C2 >> before the %A3 double byte pair for the pound sign: >> >> ... 3AReviewNeeds=%C2%A312345+alkjslkjaslj+%C2%A3292929... >> >> Changing the page to iso-8859-1 changes the encoding for the full >> submission >> to the single character %A3 encoding, but has no effect on the PPR >> submission. >> >> ...3AReviewNeeds=%A312345+alkjslkjaslj+%A32932929+asasd... >> >> With either encoding the pound sign disappears from the page on the next >> render apparently after the full submission (ie navigate away and back) >> >> This looks like something somewhere is not interpreting/applying the >> encodings correctly? >> >> Shouldn't the submission from the PPR be encoded? >> >> I notice that the form does not specify the accept-charset? >> >> Any help would be appreciated. >> >> Ian >> >> No virus found in this outgoing message. >> Checked by AVG - http://www.avg.com >> Version: 8.0.173 / Virus Database: 270.7.5/1703 - Release Date: >> 02/10/2008 >> 07:46 >> >> > > > > -- > Matthias Wessendorf > > blog: http://matthiaswessendorf.wordpress.com/ > sessions: http://www.slideshare.net/mwessendorf > twitter: http://twitter.com/mwessendorf >

