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


in reply to convert files to ansi (8859-1)

You forgot to binmode/:raw

Encode::Detective - detect a data encoding

Replies are listed 'Best First'.
Re^2: convert files to ansi (8859-1)
by AppleFritter (Vicar) on Mar 29, 2017 at 09:16 UTC
Re^2: convert files to ansi (8859-1)
by Yaerox (Scribe) on Mar 29, 2017 at 08:20 UTC
    binmode(FILE); didn't changed anything. I never used file-open with :raw, I can give it a try...

    Update: both didn't change anything the outcome.