4 ms·
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
by chubot 6y ago
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.
- rusk 6y agoI’m almost certain the default encoding for reading/writing files in Java is UTF-8 and similarly for the source files. I don’t think I encounter wide char data much really at all day to day ...