Details
-
Bug
-
Resolution: Won't Fix
-
Low
-
None
-
3.13
-
Java Version 1.5.0_08 Java Vendor Sun Microsystems Inc. JVM Version 1.0 JVM Vendor Sun Microsystems Inc. JVM Implementation Version 1.5.0_08-b03 Java Runtime Java(TM) 2 Runtime Environment, Standard Edition Java VM Java HotSpot(TM) Server VM User Locale English (United States) System Encoding UTF-8 Operating System Linux 2.6.18-92.1.13.el5xen OS Architecture i386 Application Server Container Apache Tomcat/5.5.26 Edition Enterprise Version 3.13 Build Number 330 Installation Type Standalone NOTE: Our JIRA instance is set up to run over SSL on port 443
Java Version 1.5.0_08 Java Vendor Sun Microsystems Inc. JVM Version 1.0 JVM Vendor Sun Microsystems Inc. JVM Implementation Version 1.5.0_08-b03 Java Runtime Java(TM) 2 Runtime Environment, Standard Edition Java VM Java HotSpot(TM) Server VM User Locale English (United States) System Encoding UTF-8 Operating System Linux 2.6.18-92.1.13.el5xen OS Architecture i386 Application Server Container Apache Tomcat/5.5.26 Edition Enterprise Version 3.13 Build Number 330 Installation Type Standalone NOTE: Our JIRA instance is set up to run over SSL on port 443
-
3.13
-
Description
This seems very similar to a bug I found listed under Confluence at http://jira.atlassian.com/browse/CONF-2487 .
JIRA does not handle attached text files encoded as ISO-8859-1 correctly. JIRA also translates the spaces in file names to + characters.
I attached a file called "Vorschlag Update - Ralf Ehrhard.txt" to a issue. The file is a text file with ISO-8859-1 encoding. The uploading worked perfectly. When clicking on the attachement (because it is a text file) my Firefox browser opened the file and rendered the text as UTF-8, replacing non-ASCII charachers with little 'diamond symbols'.
Trying to download the file, the file name became "Vorschlag+Update+-+Ralf+Ehrhard.txt". Once I opened the downloaded file from my local file system, the file rendered correctly again.
Inspecting the HTTP headers for the attachment, I found it to be
content-disposition: inline; filename*=UTF-8''Vorschlag+Update+-+Ralf+Ehrhard.txt; Content-type: text/plain;charset=UTF-8 Content-Lenth: 1065
so the encoding of the file has not been honoured. Since we have users from all over the globe and multiple languages and encodings are being used,
it is important that encodings can be honoured in some way. Would it be possible to have an edit functionality where a user can manually correct the encoding (dropdown set up by local administrator perhaps even?) or where JIRA at least correctly senses and records the encoding.
Attachments
Issue Links
- relates to
-
JRASERVER-13608 When downloading attachment with spaces in file name, JIRA replaces spaces to "+"
- Closed