Juho Manninen wrote:
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
please reopen the bug with the information you provided here.
--
Leszek Gawron [EMAIL PROTECTED]
IT Manager MobileBox sp. z o.o.
+48 (61) 855 06 67 http://www.mobilebox.pl
mobile: +48 (501) 720 812 fax: +48 (61) 853 29 65