Announcement

Collapse
No announcement yet.

OpenJDK 18 Released With A Simple Web Server, UTF-8 By Default

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #21
    Originally posted by GreenToad View Post
    Strings in java are stored as one byte per char if content can fit in Latin-1 encoding, UTF-16 is used in other cases. It's been like that by default since Java 9
    I don't know anything about Java, I was merely talking about UTF-16 itself being horrible (and yes, I'm mad that the Windows API, which is extremely popular, uses it extensively for almost everything, instead of UTF-8).

    Comment

    Working...
    X