cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Juho Manninen <juho.manni...@avaintec.com>
Subject StreamGenerator loses form character encoding information
Date Fri, 15 Apr 2005 13:05:49 GMT


Hi,

It seems like patch for bug 25594 (from version 2.1.5.1) makes 
StreamGenerator to lose form character encodings. Special characters 
(i.e. äöå) in a form encoded in utf-8 read in using StreamGenerator get 
messed up. Code works and is tested on Cocoon 2.1.4, but when migrating 
to 2.1.7 this came up. Building Cocoon with the old java-file “solves” 
the problem.

Configuration:
-cocoon 2.1.7
-run on jetty-4.2.22
-web.xml:
-container-encoding: ISO-8859-1
-form-encoding: UTF-8
-tested generator with different defaultContentType parameters

-the original message: <surname>Ööliä läikkyy</surname>
-url-encoded utf-8 message the server receives: 
%3Csurname%3E%C3%96%C3%B6li%C3%A4+l%C3%A4ikkyy%3C%2Fsurname%3E
-what we get: <surname>Ööliä läikkyy</surname>

Regards

Juho


Mime
View raw message