Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^3: Bypass utf-8 encoding/decoding?

by ikegami (Pope)
on Dec 01, 2017 at 16:23 UTC ( #1204664=note: print w/replies, xml ) Need Help??


in reply to Re^2: Bypass utf-8 encoding/decoding?
in thread Bypass utf-8 encoding/decoding?

use utf8; simply tells Perl that your source code is encoded using UTF-8 (as opposed to ASCII). It would have no effect in my program.

Furthermore, the subs provided by the module are always loaded, so I don't need to explicity load the module (use utf8 ();) to access them.

Replies are listed 'Best First'.
Re^4: Bypass utf-8 encoding/decoding?
by karlgoethebier (Monsignor) on Dec 01, 2017 at 16:51 UTC
    "...no effect..."

    Yes. Thank you very much ikegami 👍. choroba already advised. Best regards, Karl

    «The Crux of the Biscuit is the Apostrophe»

    perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

Re^4: Bypass utf-8 encoding/decoding?
by sundialsvc4 (Abbot) on Dec 01, 2017 at 20:43 UTC
    perldoc utf8 ... “dammit, read it!”   It says these things in the very first paragraphs, then it goes on to say a great deal more!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1204664]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2018-02-23 13:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (302 votes). Check out past polls.

    Notices?