Subject: Re: guide - czech translation
To: Rui Paulo <rpaulo@NetBSD.org>
From: Jaromir Dolecek <jdolecek@NetBSD.org>
List: regional-cs
Date: 09/04/2005 19:24:55
On Sat, Sep 03, 2005 at 12:05:59AM +0100, Rui Paulo wrote:
> On 2005.08.26 23:14:20 +0000, rudolf wrote:
> | I can't make the html files with the charset=ISO-8859-2 head, with
> | "XML_ENCODING= iso-8859-2" in Makefile I achieved only ISO-8859-1 with
> | the specific czech characters in body as html entities. So the one html
> | file currently published is generated without "XML_ENCODING= iso-8859-2"
> | in Makefile and the charset is manually changed. What's the canonical
> | way of generating different charset head here, please?
You seem to miss encoding in your XML files - you should be using
header:
<?xml version="1.0" encoding="iso-8859-2"?>
the default is iso-8859-1 IIRC. No idea if it would make it work tho.
guide/pl seems to be using iso-8859-2, so I'd check what setting
they use.
> Isn't best to use XML entities to display czech characters?
Nope :)
Using the text entities is not maintainable. It's possible to
use UTF-8 tho - this is well supported by e.g. vim.
Jaromir
--
Jaromir Dolecek <jdolecek@NetBSD.org> http://www.NetBSD.cz/
-=- We can walk our road together if our goals are all the same; -=-
-=- We can run alone and free if we pursue a different aim. -=-