in reply to Re^6: Encoding/decoding question
in thread Encoding/decoding question

Can't find string terminator...Not sure what that means... appreciate the help...

'perl -le' not working on the command line

Replies are listed 'Best First'.
Re^8: Encoding/decoding question
by slugger415 (Monk) on Sep 12, 2011 at 21:34 UTC
    thanks --

    ok if I run uniquote, the first two seem correct:

    > perl -nle "print if /\P{ASCII}/" test.txt | uniquote.pl -vE cp1252
    sous r\N{LATIN SMALL LETTER E WITH ACUTE}serve
    
    > perl -nle "print if /\P{ASCII}/" test.txt | uniquote.pl -vE latin1
    sous r\N{LATIN SMALL LETTER E WITH ACUTE}serve
    
    
    > perl -nle "print if /\P{ASCII}/" test.txt | uniquote.pl -vE macroman
    sous r\N{LATIN CAPITAL LETTER E WITH GRAVE}serve
    

    So what's happening? (sorry, still clueless.)