Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^2: [not perl] unicode/utf8 in browsers and OS's - where does conversion happen?

by danmcb (Monk)
on Jan 06, 2008 at 12:38 UTC ( [id://660654]=note: print w/replies, xml ) Need Help??


in reply to Re: [not perl] unicode/utf8 in browsers and OS's - where does conversion happen?
in thread [not perl] unicode/utf8 in browsers and OS's - where does conversion happen?

"There are numeric properties of utf8 that are quite distinctive (very unlikely to occur in other types of data) ..."

Well, yes, you can usually say that if something decodes OK as utf8, it probably *is* utf8. But it *will* also be a valid chunk of extended ASCII, or any other charset that makes use of all 256 possibilities for each octet (not elegantly put, but I hope you see my point).

And probably is not the same as *is*. Is it really a problem in practice? I'm not sure. Maybe not. Hey, I'm just asking, OK? I like imagining things all going wrong - it's my job ... ;-)

  • Comment on Re^2: [not perl] unicode/utf8 in browsers and OS's - where does conversion happen?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2024-04-25 09:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found