Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004007 [Resin] minor always 04-20-10 11:54 01-18-11 17:40
Reporter alex View Status public  
Assigned To ferg
Priority normal Resolution fixed  
Status closed   Product Version 3.1.10
Summary 0004007: request.getParameter returns null for i18nzed charset
Description rep on behalf of Shinomiya Nobuaki: email subj: 0000059: About the relation between '''pageEncoding''' and '''charset of contentType''' of the JSP's @page directive.
<%@ page contentType="text/html; charset=Windows-31J" pageEncoding="UTF-8" %>
<html>
<body>
<%
    String characterEncoding = request.getCharacterEncoding();
    String param_1 = request.getParameter("param_1");

    out.println("characterEncoding: " + characterEncoding);
  out.println("
");
    out.println("param_1: " + param_1);
  out.println("
");

%>
    <hr/>

    <form method="post" enctype="application/x-www-form-urlencoded">
    <input type="text" name="param_1" value="&12354;&12356;&12358;&12360;&12362;"/>
        <input type="submit"/>
    </form>
</body>
</html>

Second issue
- request.getCharacterEncoding() returns a value whereas it should return null.
Additional Information expected output for param_1 is &12354;&12356;&12358;&12360;&12362;
Attached Files

- Relationships

- Notes
(0004965)
ferg
01-18-11 17:40

jsp/1e0k
 

- Issue History
Date Modified Username Field Change
04-20-10 11:54 alex New Issue
04-23-10 08:04 alex Description Updated
01-18-11 17:40 ferg Note Added: 0004965
01-18-11 17:40 ferg Assigned To  => ferg
01-18-11 17:40 ferg Status new => closed
01-18-11 17:40 ferg Resolution open => fixed
01-18-11 17:40 ferg Fixed in Version  => 4.0.15


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
36 total queries executed.
32 unique queries executed.
Powered by Mantis Bugtracker