http://qs321.pair.com?node_id=1199889


in reply to Problem upgrading XML::Fast from 0.11 to 0.17

Hi mje,

maybe this diff is helpful.

there is a change in the xs file:

-SV* -_xml2hash(xml,conf) - char *xml; +void +_xml2hash(xml_sv,conf) + SV *xml_sv; HV *conf; PROTOTYPE: $$ - CODE: + PPCODE: + SvGETMAGIC(xml_sv); + char *xml = SvPVbyte_nolen(xml_sv);

after all without adding the utf8decode option xml2hash marks your hash value as utf8.