Encode::Mangled?

Dave Hodgkinson davehodg at gmail.com
Fri May 29 10:56:00 BST 2009


On 29 May 2009, at 09:55, Richard Huxton wrote:

> I'm dealing with data from a web-page that claims to be ISO-8859-1  
> but actually has some Win-1252 embedded in it. I can convert it to  
> UTF-8 and all seems well, however the characters need mapping. It's  
> straightforward enough to handle the dozen or so chars I know about  
> but I can't believe there isn't something on cpan for this.

ZapCP1252. Just nukes all aberrant characters. Thanks to Joel for  
pointing
that out for me.


-- 
Dave Hodgkinson                                MSN: davehodg at hotmail.com
Site: http://www.davehodgkinson.com                  UK: +44 7768 490620
Blog: http://davehodg.blogspot.com
Photos: http://www.flickr.com/photos/davehodg









More information about the london.pm mailing list