tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 32500] - specific text-encoding ignored for dynamically generated text
Date Fri, 03 Dec 2004 21:50:00 GMT
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


ranlevy@yahoo.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |




------- Additional Comments From ranlevy@yahoo.com  2004-12-03 22:50 -------
(In reply to comment #8)

Well, I had to install and configure a new version of the database to check
the bad-database-encoding-theory (it did not resolve anything, of course).

Ignore the database: same problem persists even in a code that does not
involve database operation:

   News news = new News ();
   news.setContent (" "); // some hebrew text string
   request.setAttribute ("news", news);
   RequestDispatcher dispatcher = ctx.getNamedDispatcher ("JSPBugPage");
   dispatcher.forward (request, response);

The issue is that I according to what you're saying, I must use:

   news.setContent (new String (new String (" ")).getBytes 
(), "windows-1255"); // some hebrew text string there between the double-quotes

Or in other words - do the conversion manually for each and every string
variable I need to pass to the JSP page, instead of having the JSP page
convert them automatically.


-- 
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


Mime
View raw message