Art Spassky wrote:
I think it is a bug. Or I am not completly understand encodings.

I use standard sample of StreamGenerator at
http://localhost:8888/samples/stream/uploadfile

I change its sitemap.xmap with the following

<map:components>
  <map:serializers default="html">
   <map:serializer name="html" mime-type="text/html; charset=UTF-8"
  src="org.apache.cocoon.serialization.HTMLSerializer">
     <encoding>UTF-8</encoding>
   </map:serializer>
  </map:serializers>

</map:components>

When I upload xml file without cyrilic symbols all works well. Problems
begin when I use them.

What about sending Cyrillic (or other utf-8) text in a simple form field, does that work? If not you might read
<http://www.mail-archive.com/[EMAIL PROTECTED]/msg19326.html>
(please read the whole thread!) and
<http://wiki.apache.org/cocoon/RequestParameterEncoding>


Sorry if this wouldn't help either. It is about form encoding but uploading files shouldn't be too far away from that.
--
[EMAIL PROTECTED]



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



Reply via email to