PuffinPlot issue tracker

Bug: a88/bff

ID : bffa7d87-87aa-42b3-a25f-25d0d129c70b
Short name : a88/bff
Status : fixed
Severity : minor
Assigned :
Reporter : Pontus Lurcock <pont@talvi.net>
Creator : Pontus Lurcock <pont@talvi.net>
Created : Tue, 22 May 2012 21:23:57 +0000
Target : 1.01
Summary : Incorrect character encoding in Batik SVG export [231]

Comment: --------- Comment ---------
ID: 04c12584-0db8-4d34-ad83-67c5958c7814
Short name: a88/bff/04c
From: Pontus Lurcock <pont@talvi.net>
Date: Tue, 22 May 2012 21:23:57 +0000

Problem encountered on Windows XP: Batik SVG file is malformed
and will not open in Firefox or Inkscape. Reason appears to be
that, although the encoding is declared as UTF-8, the single
non-ASCII character in the file (the degree symbol in the 
demagnetization plot x-axis label) is encoded as ISO-8859-1.

Comment: --------- Comment ---------
ID: d6b5365b-e0b9-4ce8-89f8-f884c327a4dd
Short name: a88/bff/d6b
From: Pontus Lurcock <pont@talvi.net>
Date: Tue, 22 May 2012 21:25:11 +0000

This might be the issue reported by the anonymous reviewer
(‘SVG file did not work well’, bug #226).

Comment: --------- Comment ---------
ID: 34b3c2cf-6374-4e73-a502-e2ff436a414b
Short name: a88/bff/34b
From: Pontus Lurcock <pont@talvi.net>
Date: Wed, 23 May 2012 08:59:49 +0000

(Slight factual error: the multiplication symbol in a couple of
plot legends is also a non-ASCII character.)

Comment: --------- Comment ---------
ID: 63daa9e6-bade-4a7a-9f78-d3bef1bacf80
Short name: a88/bff/63d
From: Pontus Lurcock <pont@talvi.net>
Date: Wed, 23 May 2012 09:15:27 +0000

GraphDisplay.saveSvgToBatik now explicitly requests UTF-8 encoding.
I have successfully tested the fix under Windows.