Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re^5: HTML::Entities and Unicode quotes

by ikegami (Pope)
on Aug 23, 2011 at 06:10 UTC ( #921832=note: print w/replies, xml ) Need Help??


in reply to Re^4: HTML::Entities and Unicode quotes
in thread HTML::Entities and Unicode quotes

is_utf8 is even misleadingly named. I'd have called it "needs_utf8".

As in needs to be encoded using UTF-8? No, it doesn't indicate a need for the string to be encoded, using UTF-8 or otherwise.

It is actually accurately named, but refers to how the string is stored internally, not the content of the string.

Is ':encoding(utf8)' the same as ':encoding(UTF-8)'?

The encoding is called UTF-8, so use "UTF-8" (case doesn't matter). I don't know how :encoding(utf8) is different, but I don't see any reason for figuring it out.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (4)
As of 2018-09-20 20:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Eventually, "covfefe" will come to mean:













    Results (178 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!