|
From: Karl E. <ke...@gm...> - 2001-05-24 09:34:44
|
Dan Mueth <d-...@uc...> writes:
> Karl - Thanks for the suggestion :)
I'm always at yous disposal ;)
> 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
Sorry, don't know (it works for iso-8859-1).
> It looks like this uses the encoding detection in SP to convert from an
> arbitrary unknown encoding to UTF?
Maybe, proprocessing with recode/iconv is needed. The writer should
store the encoding somewhere (inside of a PI or a comment).
> 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?
No :)
--
work : ke...@su... | ,__o
: http://www.suse.de/~ke/ | _-\_<,
home : ke...@gm... | (*)/'(*)
|