DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=36341>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=36341





------- Additional Comments From [EMAIL PROTECTED]  2005-08-25 15:06 -------
Created an attachment (id=16198)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=16198&action=view)
patch to fix the encoding problem

The problem seems to be twofold:
1. Requests parameters are not decoded correctly 
2. DOMs are written with the wrong encoding

to point 1:
The method org.apache.cocoon.environment.http.HttpRequest.get(String name) does
not perform any decoding of request parameters. 
The patch changes usecases.js to use the method getParameter(String name) if
the parameter is a string. This method decodes the string with the correct
encoding.
I'm not sure if that's the only place where this problem occurs.

to point 2:
I hardcoded the utf-8 encoding in SourceUtil.java. Not sure if that's a good
thing to do.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to