|
From: Dan M. <d-...@uc...> - 2001-05-23 17:53:05
|
On 22 May 2001, Karl Eichwalder wrote: > L=E1szl=F3 Kov=E1cs <las...@su...> writes: > > > > (now we moved to XML and UTF-8 so this is history) > > Happy people:-) I wonder if it could be made history for Gnome too. > > No need to "move" -- just delegate: > > Don't install SGML files but "convert" them at installation time to > XML (sgmlnorm and s2x can do wonders). Proposed earlier by me. Karl - Thanks for the suggestion :) This may be a really nice way to circumvent the encoding issues and support SGML documents without much work. Does anybody know exactly what happens w/r/t encodings when we do something like: sgml2xml -b UTF-8 foo.sgml > foo.xml It looks like this uses the encoding detection in SP to convert from an arbitrary unknown encoding to UTF? Does anybody see any problems with using a call like this in ScrollKeeper to convert any SGML docs to XML for further processing by libxml2/xslt in ScrollKeeper? This way we can keep our SGML support without having to do much work or add bloat to ScrollKeeper or libxml2. Dan |