On Tue, Feb 28, 2006 at 09:19:46AM -0600, Jason L Tibbitts III wrote: > Is there ever a case where it's worth it to recode documentation to > satisfy a "file-not-utf8" warning from rpmlint? Some packages fix up > line endings to quiet rpmlint but I'm not sure about altering the > character encoding. > > If not, then would it be reasonable to remove this warning from > rpmlint? > For any XML input just use xmllint --encode UTF-8 ...It will take care of the encoding conversion, and adjust the XML declaration accordingly laptop:~ -> cat XML/test/isolat1 <?xml version="1.0" encoding="ISO-8859-1"?> <tr�s>l�</tr�s> laptop:~ -> xmllint --encode utf8 XML/test/isolat1 <?xml version="1.0" encoding="utf8"?> <très>là</très> laptop:~ -> Using "UTF-8" might be a bit cleaner than "utf8" but sysnonyms like this are usually processed fine. Daniel -- Daniel Veillard | Red Hat http://redhat.com/ veillard@xxxxxxxxxx | libxml GNOME XML XSLT toolkit http://xmlsoft.org/ http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/ -- fedora-extras-list mailing list fedora-extras-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-extras-list