[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: HTML generation of the release notes



On Sat, May 28, 2005 at 04:55:10PM +0200, Nikolai Prokoschenko wrote:
> On May 28, 2005 at 02:08:16PM +0200, Jens Seidel wrote:
> 
> > > Any way to fix this?
> > Yes, a very simple one:
> > mv -i release-notes.ru.sgml release-notes.ru.sgml.backup
> > iconv -f UTF-8 -t KOI8-R release-notes.ru.sgml.backup > release-notes.ru.sgml
> 
> Well, I hoped to get some kind of Right-Way(tm)-fix ;) Well, if it's not
> doable other way....

It is!

Commit the UTF-8 version into CVS and name it
release-notes.ru.UTF-8.sgml.

Now just add a make target 
release-notes.ru.sgml: release-notes.ru.UTF-8.sgml
	iconv ...

This should work well, I hope.

> > It should be trivial to support UTF-8 for text and HTML (either by
> > adding new locale files such as ru_RU.UTF-8 or by calling iconv from
> > debiandoc-sgml tools) but it's more complicated for other formats.
> 
> Yeah, I can submit one, doesn't look too scary, but I guess it's too late
> to change the tools now..

Since this would only support a few formats I do not very like this
approach (or do you know how to enable Russian support in UTF-8?) ...

Jens



Reply to: