Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 chanting in the Monastery: (5)
As of 2020-10-29 13:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favourite web site is:












    Results (271 votes). Check out past polls.

    Notices?