Bug#283949: allow generation of plain text
On Thursday 02 December 2004 15:16, Frank Lichtenheld wrote:
> While investigating how to incorporate the install manual into
> the websites I saw there is no plain text output yet. I've prepared
> a little patch to allow this (xml->single html->text).
I have committed this patch to SVN (trunk only) with some additions.
- Variable encoding to support Czech, Russian and Japanese
I have set the encoding for these languages as follows
- cs: ISO-8859-2
- ja: EUC-JP
- ru: KOI8-R
I think it would be better if the intermediate file would be UTF-8, but
was unable to quickly find out how to set that.
- Replace some unprintable characters
I noticed that some characters were replaced by a ? in the text file.
The main problems were quotes and dashes. I managed to replace these
using a sed script.
See the script now in SVN for details.
Kenshi, Nikolai, Miroslav:
Could you please check if I used the correct charset and if the result is
acceptable for your languages?
(Leaving the bug open for now as improvements are possible.)
Reply to: