Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Lost in encodings

by LanX (Saint)
on Feb 07, 2020 at 20:16 UTC ( [id://11112583]=note: print w/replies, xml ) Need Help??


in reply to Lost in encodings

some hints:

  • Please use Data::Dump and/or Devel::Peek to check $str before and after.
  • I don't know in which context you are running your debugger, but it depends on the encoding of the console/editor how an utf8 character is displayed.
  • Try decode('UTF-8', $str,Encode::FB_WARN); to see if the $str is really an UTF-8 (update)

Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (2)
As of 2024-04-20 05:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found