cocoon-dev mailing list archives

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


It seems like patch for bug 25594 (from version 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.

-cocoon 2.1.7
-run on jetty-4.2.22
-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: 
-what we get: <surname>Ööliä läikkyy</surname>



View raw message