The following issue has been updated:
Updater: Mikko Wilkman (mailto:[EMAIL PROTECTED])
Date: Wed, 20 Oct 2004 9:32 AM
Comment:
cvs diff of the bugfix
Changes:
Attachment changed to encoding_fix_diff.txt
---------------------------------------------------------------------
For a full history of the issue, see:
http://jira.codehaus.org/browse/DISPL-73?page=history
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/DISPL-73
Here is an overview of the issue:
---------------------------------------------------------------------
Key: DISPL-73
Summary: Unicode export with ResponseOverrideFilter fails because of improper
content length setting
Type: Bug
Status: Unassigned
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: DisplayTag
Components:
Export
Versions:
1.0 RC1
Assignee:
Reporter: Mikko Wilkman
Created: Wed, 20 Oct 2004 9:29 AM
Updated: Wed, 20 Oct 2004 9:32 AM
Description:
org.displaytag.filter.ResponseOverride uses pageContent.length() to set content length
of the response. If the content has characters that use more than one byte, this
length is set to a too small value and the results get cut.
I replaced the pageContent.length() with the actual byte count, calculated with the
proper character encoding. CVS diff is inclued as an attachment.
We encountered this bug while trying to csv export tables containing Japanese
characters.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
displaytag-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/displaytag-devel