[ 
https://issues.apache.org/jira/browse/FILEUPLOAD-150?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jochen Wiedmann closed FILEUPLOAD-150.
--------------------------------------

    Resolution: Invalid
      Assignee: Jochen Wiedmann

> Text field containing an € (Euro) character will not be correctly evaluated, 
> the character gets not recognized
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: FILEUPLOAD-150
>                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-150
>             Project: Commons FileUpload
>          Issue Type: Bug
>    Affects Versions: 1.2
>         Environment: Windows XP, AIX - JDK 1.4
>            Reporter: Ralf Pfiszter
>            Assignee: Jochen Wiedmann
>
> I have a multiline edit field in a multipart/form-data form.
> In the same form I have an input field of type "file" to enable a file upload.
> When entering the € character into the multiline edit field and submitting 
> the form the result of the €  is € after the form contents got evaluated / 
> extracted.
> The JSP page containing the form is defined with
> <!--meta http-equiv="Content-Type" content="text/html; charset=utf-8" /-->;
> and 
> <%@ page session="true" language="java" contentType="text/html; 
> charset=UTF-8" pageEncoding="UTF-8"%>
> The form is defined with
> <form name="DetailForm" enctype="multipart/form-data" action="xxServlet" 
> method="post">
> When processing the request within the servlet I create a new 
> ServletFileUpload instance with
>     ServletFileUpload upload = new ServletFileUpload(aDiskFileItemFactory);
>     // set the encoding
>     upload.setHeaderEncoding(req.getCharacterEncoding());
> Afterwards I let parse the request.
> However, it seems to me that during the parsing the default code set ISO 
> 8859-1 is used instead of the previously defined one - when trying to debug 
> into a bit.
> (ISO 8859-1 does not contain the € character.)
> Maybe an issue with Stream handling?

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to