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

Re: Lost in encodings

by LanX (Cardinal)
on Feb 07, 2020 at 20:16 UTC ( #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
Node Status?
node history
Node Type: note [id://11112583]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2020-11-25 06:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?