s/([\x80-\xff])/'&#'.ord($1).';'/eg
appears to work for all the characters I care about.
Update XML::Parser still insists on converting &#NNN; to UTF-8! I didn't notice as mozilla cunningly noted the changed page encoding and displayed automagically as UTF-8. Mutter Mutter Curse Curse - this is a major pain as I'd like the page to remain Latin-1.
Dingus
In reply to Re: Re: XML Simple Charset Q?
by dingus
in thread XML Simple Charset Q?
by dingus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |