Index: trunk/extensions/timeline/EasyTimeline.pl |
— | — | @@ -65,8 +65,11 @@ |
66 | 66 | # 1.12 June 2009 |
67 | 67 | # - Don't send -mapfile to ploticus without also sending -csmap, this creates an XSS |
68 | 68 | # vulnerability |
| 69 | +# |
| 70 | +# 1.13 Jan 2009 |
| 71 | +# -change svg encoding from iso-8859-1 -> UTF-8 |
69 | 72 | |
70 | | - $version = "1.12" ; |
| 73 | + $version = "1.13" ; |
71 | 74 | |
72 | 75 | use Time::Local ; |
73 | 76 | use Getopt::Std ; |
— | — | @@ -3359,7 +3362,7 @@ |
3360 | 3363 | # my $cmd = "$pl $map -" . "svg" . " -o $file_vector $file_script -tightcrop -font \"Times\"" ; |
3361 | 3364 | # my $cmd = "$pl $map -" . "svg" . " -o $file_vector $file_script -tightcrop" ; |
3362 | 3365 | my $cmd = EscapeShellArg($pl) . " $map -" . "svg" . " -o " . |
3363 | | - EscapeShellArg($file_vector) . " " . EscapeShellArg($file_script) . " -tightcrop" ; |
| 3366 | + EscapeShellArg($file_vector) . " " . EscapeShellArg($file_script) . " -tightcrop -xml_encoding UTF-8" ; |
3364 | 3367 | print "$cmd\n"; |
3365 | 3368 | system ($cmd) ; |
3366 | 3369 | |