title: Why is this A0 character appearing in my HTML::Element output?
body: <p>I'm parsing an HTML document with a couple Perl modules: <a href="http://search.cpan.org/dist/HTML-TreeBuilder" rel="noreferrer">HTML::TreeBuilder</a> and <a href="http://search.cpan.org/dist/HTML-Element" rel="noreferrer">HTML::Element</a>. For some reason whenever the content of a tag is just <code>&amp;nbsp;</code>, which is to be expected, it gets returned by HTML::Element as a strange character I've never seen before:</p>
  
  <p><a href="http://www.freeimagehosting.net/uploads/2acca201ab.jpg" rel="noreferrer">alt text http://www.freeimagehosting.net/uploads/2acca201ab.jpg</a></p>
  
  <p>I can't copy the character so can't Google it, couldn't find it in character map, and strangely when I search with a regular expression, <code>\w</code> finds it. When I convert the returned document to ANSI or UTF-8 it disappears altogether. I couldn't find any info on it in the HTML::Element documentation either.</p>
  
  <p>How can I detect and replace this character with something more useful like <code>null</code> and how should I deal with strange characters like this in the future?</p>