Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

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
    " 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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1204664]
[Eily]: I'm programming in python
[Eily]: I think I'm doing something like 3-4 google searches for each line that I write
[Eily]: I feel so efficient :D

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (11)
As of 2018-05-22 15:00 GMT
Find Nodes?
    Voting Booth?