Your message dated Thu, 26 Apr 2007 17:09:10 +0200
with message-id <[EMAIL PROTECTED]>
and subject line Bug#368522: graphviz: Does not set the XML encoding when
producing SVG
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--- Begin Message ---
Package: graphviz
Version: 2.2.1-1sarge1
Severity: minor
When using the (documented) option 'charset = iso-8859-1', I observe
that neato does not set the proper XML encoding when it produces
SVG. Hence the output file is rejected as not well-formed.
% more sample.dot
graph network {
charset = "iso-8859-1";
label = "Réseau";
}
% neato -Tsvg sample.dot > sample.svg
% more sample.svg
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
^^^^^
Wrong
% xmllint --noout sample.svg
sample.svg:11: parser error : Input is not proper UTF-8, indicate encoding !
Bytes: 0xE9 0x73 0x65 0x61
<text text-anchor="middle" x="85" y="259">Réseau</text>
^
-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-3-k7
Locale: LANG=C, LC_CTYPE=fr_FR (charmap=ISO-8859-1)
Versions of packages graphviz depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii libexpat1 1.95.8-3 XML parsing C library - runtime li
ii libfontconfig1 2.3.1-2 generic font configuration library
ii libfreetype6 2.1.7-2.4 FreeType 2 font engine, shared lib
ii libice6 4.3.0.dfsg.1-14sarge1 Inter-Client Exchange library
ii libjpeg62 6b-10 The Independent JPEG Group's JPEG
ii libpng12-0 1.2.8rel-1 PNG library - runtime
ii libsm6 4.3.0.dfsg.1-14sarge1 X Window System Session Management
ii libx11-6 4.3.0.dfsg.1-14sarge1 X Window System protocol client li
ii libxaw7 4.3.0.dfsg.1-14sarge1 X Athena widget set library
ii libxext6 4.3.0.dfsg.1-14sarge1 X Window System miscellaneous exte
ii libxmu6 4.3.0.dfsg.1-14sarge1 X Window System miscellaneous util
ii libxpm4 4.3.0.dfsg.1-14sarge1 X pixmap library
ii libxt6 4.3.0.dfsg.1-14sarge1 X Toolkit Intrinsics
ii tcl8.4 8.4.9-1 Tcl (the Tool Command Language) v8
ii tk8.4 8.4.9-1 Tk toolkit for Tcl and X11, v8.4 -
ii xlibs 4.3.0.dfsg.1-14sarge1 X Keyboard Extension (XKB) configu
ii zlib1g 1:1.2.2-4.sarge.2 compression library - runtime
-- no debconf information
--- End Message ---
--- Begin Message ---
Version 2.8-2.6
Stephane Bortzmeyer <[EMAIL PROTECTED]> (22/05/2006):
> When using the (documented) option 'charset = iso-8859-1', I observe
> that neato does not set the proper XML encoding when it produces SVG.
> Hence the output file is rejected as not well-formed.
Hi Stephane,
I tested it with 2.8-2.6 and 2.12-1 (currently in NEW), and it looks
like OK. neato accepts ISO-encoded files and produces valid UTF-8 files.
It might have been fixed even in 2.8-1 or similar, but I don't have time
to check that right now.
Cheers,
--
Cyril Brulebois
pgph0a2ifnWmV.pgp
Description: PGP signature
--- End Message ---