I have text inside a perl statment, it goes something like this.
<title>DVD±R/RW</title>
I wanted to know if there is a Perl module that will somehow change ± to its proper entity so that it will not give me a bad XML parse error. I've looked at XML::Clean, but it doesnt seem to do what i want.
i thought about subsituting ± to ± wherever there was text, but this seems expensive. and if there are new entities i find, i have to add them.
thank you.
<title>DVD±R/RW</title>
I wanted to know if there is a Perl module that will somehow change ± to its proper entity so that it will not give me a bad XML parse error. I've looked at XML::Clean, but it doesnt seem to do what i want.
i thought about subsituting ± to ± wherever there was text, but this seems expensive. and if there are new entities i find, i have to add them.
thank you.