On Thu, Nov 29, 2007 at 01:51:30PM +0100, Murray Cumming wrote:
>
> On Thu, 2007-11-29 at 12:48 +0000, Hugo Mills wrote:
> > I've done a bit more poking, and it's rejecting the same character
> > after running through xmllint
>
> But does xmllint complain about the document at all?
As I said in my earlier mail[1], no:
hrm vlad:test $ xmllint test.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE tv SYSTEM "xmltv.dtd">
<tv generator-info-name="dvb-epg-gen">
<programme>
<sub-title>cheque for <AF>80,000.</sub-title>
</programme>
</tv>
hrm vlad:test $
(Where the <AF> is shown on my terminal as an unknown character
symbol -- inverse question mark in circle, but is a single 0xAF byte,
as per the ISO-8859-1 encoding).
Hugo.
[1] http://sourceforge.net/mailarchive/message.php?msg_name=20071129102608.GA5064%40selene
--
=== Hugo Mills: hugo carfax.org.uk | darksatanic.net | lug.org.uk ===
PGP key: 515C238D from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
--- I hate housework. You make the beds, you wash the dishes, and ---
six months later you have to start all over again.
Attachment:
signature.asc
Description: Digital signature