Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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:

...to 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.

/dennis

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2018-11-14 17:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My code is most likely broken because:
















    Results (175 votes). Check out past polls.

    Notices?