Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Polish text

by 1nickt (Canon)
on Jan 03, 2021 at 20:02 UTC ( [id://11126232]=note: print w/replies, xml ) Need Help??


in reply to Polish text

Hi Shmunzie, try this:

perl -MEncode -E 'my $text="żłóBżE"; $text = decode_utf8($text); say length($text); say encode_utf8(uc($text))'

(Note: As pointed out earlier you did not specify the encoding you have your text in, this assumes utf8 for which Encode provides sugar functions.)

The way forward always starts with a minimal test.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2024-04-24 11:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found