in reply to Re: use HTML::Entities to encode only characters >= 256?
in thread use HTML::Entities to encode only characters >= 256?

Thanks for the reply! I didn't realize that you could specify negation in the second parameter to encode_entities().

The HTML::Entities documentation should make it clearer that the second argument is just wrapped in square brackets and treated as a regular expression.

  • Comment on Re^2: use HTML::Entities to encode only characters >= 256?