On 22/06/06, Spyros Blanas <sblanas@...400...> wrote:
> On Tue, 2006-06-20 at 15:44 -0700, bungi wrote:
>> Is there anyway to make inkscape save an SVG using iso-8859-1 encoding,
>> rather than utf-8?
> [ snip ]
AFAIK, for 'normal' characters (ASCII code 0-127, like english letters,
digits, punctuation marks) the UTF-8 and ISO-8859-1 encodings are
exactly the same. If SVG output is withing these limits (very likely)
ISO-8859-1 and UTF-8 encodings don't have any difference.
That is true, but I don't think that it was the OP's point. When
writing out a 'code point' outside the range you gave, basically any
extended Roman characters, multibyte characters and special symbols,
there is a choice between using a numeric entity or unicode. For SGML
it really makes no difference (and you could use named entities as
well), but for XML you are better off using UTF8. Whilst I wouldn't
know whether encouraging people to use ISO-8859-1 is actually a bad
thing suggesting that the match between the first 127 code points
justifies it, certainly is bad.
Proper Unicode support is so important for any XML tool that I
would go as far as to say
it's the single most important criteria in tool selection. Do not
use any XML tools that do not
have solid Unicode support at the core.
I am afraid that I carelessly omitted to send my first reply (which
was similar to the two above) to the list, and so I repeat this URL
for further info: http://www.dpawson.co.uk/xsl/characters.html
add that you can probably achieve what you want by post-processing
with XLST, indeed the first page on a basic Google search will give
you 10 useful pages.
If I have missed the intent of your question, or you are unhappy,
please post again with any follow up points.