Bug#787821: libhtml-parser-perl: encode_entities() convert chars to à instead of their proper entity

Mathieu ROY yeupou at gnu.org
Fri Jun 5 12:34:42 UTC 2015


Ok, so after further testing, it turns out that if I change the coding of the 
string from UTF-8 to ISO-8859..., it encode to the proper entities.

I obviously can adjust the script to pre convert UTF-8 to ISO-8859 but it 
should be at least documented (but I dont see any reason why encode_entities 
should actually not be able to deal with UTF-8)

Regards


-- 
http://yeupou.wordpress.com/



More information about the pkg-perl-maintainers mailing list