Re: "multipart/form-data" and encoding problem !!

2004-01-23 Thread Marcin Okraszewski
OK, but now I suffer from other problem - forms that are sent with default method (ie. enctype="application/x-www-form-urlencoded") has encoding problems. Previously, when there was only "form-encoding" to UTF-8 set, and "container-encoding" was left unchanged, everything was fine. Now, no matt

Re: "multipart/form-data" and encoding problem !!

2004-01-22 Thread Lionel Crine
You modified the container-encoding only in the case you chose. The container-encoding parameter is used to say to cocoon to encodethe request String as UTF-8. See the web.xml for more information. At 16:46 22/01/2004 +0100, you wrote: I found that setting "container-encoding" in web.xml to

Re: "multipart/form-data" and encoding problem !!

2004-01-22 Thread Marcin Okraszewski
I found that setting "container-encoding" in web.xml to utf-8 solves the problem. But I don't know if it will influce the system also in other way. Regards, Marcin Okraszewski Hi, I have a big problem!! I have changed "enctype" to "multipart/form-data" in form definition and this caused problems

Re: "multipart/form-data" and encoding problem !!

2004-01-22 Thread Marcin Okraszewski
But I don't mean the file (it is an image any way), but other text fields. I don't use any custom generators. Regards, Marcin Okraszeszki The file you're sending by the browser as ISO-8859-1 by default. You have to get the stream, parse it as UTF-8. Do you use a custom generator ? At 01:55 22/

Re: "multipart/form-data" and encoding problem !!

2004-01-22 Thread Lionel Crine
The file you're sending by the browser as ISO-8859-1 by default. You have to get the stream, parse it as UTF-8. Do you use a custom generator ? At 01:55 22/01/2004 +0100, you wrote: Hi, I have a big problem!! I have changed "enctype" to "multipart/form-data" in form definition and this caused p

"multipart/form-data" and encoding problem !!

2004-01-21 Thread Marcin Okraszewski
Hi, I have a big problem!! I have changed "enctype" to "multipart/form-data" in form definition and this caused problems with encoding characters - instead of UTF-8 chars I receive "?"s. Of course I have the form-encoding init parameter set to UTF-8. I tried setting accept-charset="UTF-8", but