|
From: John F. <jf...@in...> - 2001-05-17 12:55:58
|
On Thu, May 17, 2001 at 08:47:58AM -0400, Norman Walsh wrote: > / L=E1szl=F3 Kov=E1cs <las...@Su...> was heard to say: > | 2. This is more serious, libxml2 expects either UTF-8 input or encodi= ng > | specified. There are loads of SGML docs out there that are not UTF-8 = and > | while in XML it is possible to specify the encoding in the header, th= is > | is not in SGML (AFAIK). >=20 > You could put >=20 > <?sgml-declaration encoding=3D"ISO-8859-1"> >=20 > Or something at the top of your SGML documents if you wanted to. The > SGML parser wouldn't care. >=20 While something like that is an option, I think our problem is a large body of completed and/or installed docs out there. It would be nice to have some way of detecting the encoding at run time. Is such a thing possible? Cheers, --=20 John Fleck jf...@in... (h) jf...@ab... (w) http://www.abqjournal.com/scitech/ http://www.inkstain.net/fleck/ |