Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^2: Mixed character encoding issues

by ddaupert (Initiate)
on Jul 06, 2012 at 16:48 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://980322]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (7)
As of 2024-04-24 17:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found