in reply to Re: HTML::Entities and UTF-8
in thread HTML::Entities and UTF-8

I'm using version 5.8.0.

I am sending UTF-8 in the character set parameter of the HTTP header. When I print the $variables as they are, e.g a chinese character, the browser renders them just fine. But if I apply the HTML::Entity encoding then it shows gibbrish.

Now that I think about it, maybe I should not be sending UTF-8 in the HTTP header when I'm using HTML::Entities.

Thanks a lot.