Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Is there some universal Unicode+UTF8 switch?

by Anonymous Monk
on Sep 01, 2019 at 17:12 UTC ( #11105383=note: print w/replies, xml ) Need Help??


in reply to Is there some universal Unicode+UTF8 switch?

You want utf8::all
  • Comment on Re: Is there some universal Unicode+UTF8 switch?

Replies are listed 'Best First'.
Re^2: Is there some universal Unicode+UTF8 switch?
by VK (Novice) on Sep 01, 2019 at 19:59 UTC

    woops... The most recent Strawberry Perl doesn't have it. use utf8 - OK, use utf8::all - gives "Can't locate utf8/all.pm in @INC (you may need to install the utf8::all module)". The same with all my current providers (500 Internal Server Error)

    So the idea behind utf8::all looks attractive but either it was never properly implemented or had to be removed from all default sets.

      The most recent Strawberry Perl doesn't have it

      You are right, Strawberry Perl doesn't include that module: it's not part of core Perl, nor of Strawberry's default list of non-core modules that it includes when you first install Strawberry Perl; however, it is available via CPAN. Fortunately, Strawberry does include a variety of CPAN clients, including cpan and cpanm (I personally prefer cpanm). You can use one of those tools to install utf8::all using cpanm utf8:all (or appropriate syntax for your client).

      You'll find that most modules are available this way, rather than pre-bundled with your perl distribution, so keep this in mind as you hear about other modules that you might want to use in this or future projects.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2020-04-10 10:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    The most amusing oxymoron is:
















    Results (49 votes). Check out past polls.

    Notices?