Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: How to convert between Unicode codepoint and UTF8 character code on Perl?

by Anonymous Monk
on Oct 24, 2021 at 06:16 UTC ( #11137941=note: print w/replies, xml ) Need Help??


in reply to How to convert between Unicode codepoint and UTF8 character code on Perl?

use Encode to translate between wide characters and their byte representations. Once you have the bytes, there are many ways to obtain their hex representations, for example, unpack "H*", $bytes.
  • Comment on Re: How to convert between Unicode codepoint and UTF8 character code on Perl?
  • Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2021-12-09 11:23 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (36 votes). Check out past polls.

    Notices?