in reply to Re: decode characters from file using HTML::Entities
in thread decode characters from file using HTML::Entities

Ah I understand (maybe :)),

i think i forgot about double quotes (so \x26 is actually "&"), correct ?

So i guess the right tool is to use Encode..
  • Comment on Re^2: decode characters from file using HTML::Entities

Replies are listed 'Best First'.
Re^3: decode characters from file using HTML::Entities
by ikegami (Patriarch) on Feb 18, 2011 at 19:46 UTC

    Yes, the Perl string literal «"\x26"» evaluates to the string «&».

    No idea what Encode has to do with this.