[ http://jira.codehaus.org/browse/DISPL-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=235044#action_235044 ]
Jan commented on DISPL-107: --------------------------- Hello, this bug is closed but I'm also having that issue in 1.2 when exporting to csv file. The JSP page has a UTF-8 encoding and characters with accents are all displayed ok. When I export to csv, the response has a "Content-Type: text/csv;charset=ISO-8859-1 ". The result file is then not displayed correctly on Linux. > Excel and Text exports use Windows Latin-1 encoding > --------------------------------------------------- > > Key: DISPL-107 > URL: http://jira.codehaus.org/browse/DISPL-107 > Project: DisplayTag > Issue Type: Bug > Components: Export > Affects Versions: 1.0 RC2 > Reporter: J. Patterson Waltz III > Assignee: fabrizio giustina > Priority: Minor > Fix For: 1.1 > > > Data coming out of my UTF-8 format Postgres database appears correctly in > displaytag tables on webpages, but when I request an export in Excel or text > format, all non ASCII characters are garbled. I am using the Mac OS X > Platform. > After some exploration, I determined that this is due to the file encoding > being set to Windows Latin-1. Excel documents which were created on Windows > and that I open on my Mac do not have garbled non-ASCII text, so I suspect > that all that is missing in the exported file is some way to indicate to > Excel what encoding has been used. Some of my recent web searches suggest > that at least the more recent versions of Office store characters in > little-endian UCS2 encoding. > For text files, it seems to me that UTF-8 would be the the most platform and > language agnostic encoding to use. -- 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 - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ displaytag-devel mailing list displaytag-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-devel