Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked

Re^2: Mixed character encoding issues

by ddaupert (Initiate)
on Jul 06, 2012 at 16:48 UTC ( #980322=note: print w/replies, xml ) Need Help??

in reply to Re: Mixed character encoding issues
in thread Mixed character encoding issues

I appreciate the help, zentara. I did install utf8::all and used it in the packages where I open/close files. Alas, it made no difference as far as output. I got the same character mangling as before. But I am sure the utf8::all module will come in handy. Thanks for mentioning it.

Regarding the decode suggestion, I based my usage on the Encode documention: convert ISO-8859-1 data into a string in Perl's internal format:

$string = decode("iso-8859-1", $octets);

This was just a 'Hail Mary' attempt; I am not at all convinced my input string is in octets, and when I precede this function with its mate that does a translation into octets, the output gets even more mangled.

When I get off work today, I will look into the other links you mentioned.


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://980322]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (6)
As of 2019-02-22 02:07 GMT
Find Nodes?
    Voting Booth?
    I use postfix dereferencing ...

    Results (115 votes). Check out past polls.

    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!