Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re^5: Byte counts and Seek function

by vsespb (Hermit)
on Sep 01, 2013 at 21:01 UTC ( #1051861=note: print w/ replies, xml ) Need Help??


in reply to Re^4: Byte counts and Seek function
in thread Byte counts and Seek function

utf8::xxx functions can be used without "use utf8". it's documented.


Comment on Re^5: Byte counts and Seek function
Replies are listed 'Best First'.
Re^6: Byte counts and Seek function
by AnomalousMonk (Abbot) on Sep 01, 2013 at 22:00 UTC

    Interestingly, the utf8::utf8() function is not documented (Strawberry 5.14.4.1, online 5.18.0), although it exists. What does it do?

    Update: Sorry, I was confused by Perl's autovivification behavior.

    >perl -wMstrict -le "print exists &utf8::is_utf8 ? 'yes' : 'no'; print \&utf8::is_utf8; ;; print exists &utf8::utf8 ? 'yes' : 'no'; print \&utf8::utf8; " yes CODE(0x68c66c) no CODE(0x68c17c)

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2015-08-30 04:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (346 votes), past polls