Re: Encoding Problem: File Upload and UTF-8

2005-03-07 Thread Bruno Dumon
On Sun, 2005-03-06 at 20:46 +0100, stefan pickschneider wrote: Bertrand Delacretaz wrote: Le 5 mars 05, à 15:17, stefan pickschneider a écrit : ..we have a problem with the encoding, cforms and file uploads. Did you look at http://wiki.apache.org/cocoon/RequestParameterEncoding ?

Re: Encoding Problem: File Upload and UTF-8

2005-03-07 Thread stefan pickschneider
This problem is already fixed, though in a different way: http://svn.apache.org/viewcvs.cgi/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/servlet/CocoonServlet.java?rev=106200r1=55730r2=106200 Hey Bruno, thanks for your reply. I am not sure if the above patch fixes the problem I

Re: Encoding Problem: File Upload and UTF-8

2005-03-07 Thread Bruno Dumon
On Mon, 2005-03-07 at 11:02 +0100, stefan pickschneider wrote: This problem is already fixed, though in a different way: http://svn.apache.org/viewcvs.cgi/cocoon/branches/BRANCH_2_1_X/src/java/org/apache/cocoon/servlet/CocoonServlet.java?rev=106200r1=55730r2=106200 Hey Bruno, thanks

Re: Encoding Problem: File Upload and UTF-8

2005-03-07 Thread stefan pickschneider
Hey Bruno, I am not sure if the above patch fixes the problem I mentioned. The patch replaces this.defaultFormEncoding); by this.containerEncoding); In our configuration the defaultFormEncoding == containerEncoding == UTF-8 - so the patch doesn't seem to have a influence on our problem :-(

Re: Encoding Problem: File Upload and UTF-8

2005-03-07 Thread Bruno Dumon
On Mon, 2005-03-07 at 12:33 +0100, stefan pickschneider wrote: Hey Bruno, I am not sure if the above patch fixes the problem I mentioned. The patch replaces this.defaultFormEncoding); by this.containerEncoding); In our configuration the defaultFormEncoding == containerEncoding

Re: Encoding Problem: File Upload and UTF-8

2005-03-07 Thread stefan pickschneider
It should work the same for both normal and multipart forms, without use of the SetCharacterEncodingAction. You do need the fix though I pointed to in a previous mail, since that one is not yet in Cocoon 2.1.6 IIRC. Got it ;-) Should've tried that first. It just works. Thanks a lot! Stefan.

Re: Encoding Problem: File Upload and UTF-8

2005-03-06 Thread stefan pickschneider
Bertrand Delacretaz wrote: Le 5 mars 05, à 15:17, stefan pickschneider a écrit : ..we have a problem with the encoding, cforms and file uploads. Did you look at http://wiki.apache.org/cocoon/RequestParameterEncoding ? It might give some answers. -Bertrand Hello, thanks for your suggestion - it

Re: Encoding Problem: File Upload and UTF-8

2005-03-06 Thread Bertrand Delacretaz
Le 6 mars 05, à 20:46, stefan pickschneider a écrit : ...It seems that the cocoon servlet initializes the container-encoding for the request too late.. Could you create a bugzilla entry (http://issues.apache.org/bugzilla/) for this, so that we don't forget to have a look at it? -Bertrand

Encoding Problem: File Upload and UTF-8

2005-03-05 Thread Stefan Pickschneider
Hello, we have a problem with the encoding, cforms and file uploads. We have a form that allows to upload a file and on the same form an input field to enter the corresponding title. The upload works but if you enter special characters (like german umlauts) these are sent as garbage ('?'). The

Encoding Problem: File Upload and UTF-8

2005-03-05 Thread stefan pickschneider
Hello, we have a problem with the encoding, cforms and file uploads. We have a form that allows to upload a file and on the same form an input field to enter the corresponding title. The upload works but if you enter special characters (like german umlauts) these are sent as garbage ('?'). The

Re: Encoding Problem: File Upload and UTF-8

2005-03-05 Thread Bertrand Delacretaz
Le 5 mars 05, à 15:17, stefan pickschneider a écrit : ..we have a problem with the encoding, cforms and file uploads. Did you look at http://wiki.apache.org/cocoon/RequestParameterEncoding ? It might give some answers. -Bertrand smime.p7s Description: S/MIME cryptographic signature