You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2004/12/02 22:00:00 UTC

DO NOT REPLY [Bug 32500] New: - specific text-encoding ignored for dynamically generated text

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=32500>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=32500

           Summary: specific text-encoding ignored for dynamically generated
                    text
           Product: Tomcat 5
           Version: 5.5.4
          Platform: PC
        OS/Version: Windows 2000
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Servlet & JSP API
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: ranlevy@yahoo.com


After setting contentType to hebrew encoding in a JSP page, static text in the
page is correctly displayed according to the specified encoding, but
dynamically-generated text (<%= %> expression) does NOT get encoded to hebrew
and it appears as a sequence of question marks on the browser.

JSP is dispatched from a servlet that handles the request prior to generating
the response to the client.

Reproduced on both with IE-6 SP-1 and Firefox 1.0.

I attached is a JSP page to reproduce the problem (but it requires that a
database with hebrew content will be on the other hand, and that a servlet will
assign a value to the variable before dispatching the call to the attached JSP).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org