Re:Technologies I thought my son would never use
by rusk on Monday April 12, 2021 @03:23AM
(#26776795)
Nope. If you read an ASCII file with control characters in Java you’ll get an exception. Also it won’t work with the 8-bit ASCII variants. Neither are “true Scotsmen” of course, but the point still stands that HTML could yet be more durable.
[ Parent
| on HN ]
Re:Technologies I thought my son would never use
by chubot on Monday April 12, 2021 @04:49AM
(#26777221)
I think you’re confusing Unicode and utf8. java uses Unicode but not utf8; it uses a 2 byte encoding with surrogate pairs by default.
ASCII is utf8, but it’s not utf16. ASCII will be around for as long as utf8 is.