Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Is there some universal Unicode+UTF8 switch?

by VK (Novice)
on Sep 01, 2019 at 19:59 UTC ( [id://11105387]=note: print w/replies, xml ) Need Help??


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

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.

  • Comment on Re^2: Is there some universal Unicode+UTF8 switch?

Replies are listed 'Best First'.
Re^3: Is there some universal Unicode+UTF8 switch?
by pryrt (Abbot) on Sep 01, 2019 at 23:01 UTC
    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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11105387]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (1)
As of 2024-04-19 00:18 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found