There's a very good argument that what you've run into is a "requirements bug". The HTML entity exists for layout formatting. Other than making it possible for HTML::Entity::encode() and HTML::Entity::decode() to be symmetric, what purpose is served by translating into '\240'?