IssueRaiser

Raise real-world problems, find people facing the same issue, and discuss solutions.2,000 issues0 comments

hackernews (Other)

Fascinating and annoying problem, indeed.

tralarpaAug 22, 2025, 8:35 AM

Fascinating and annoying problem, indeed. In Java, the correct way to iterate over the characters (Unicode scalar values) of a string is to use the IntStream provided by String::codePoints (since Java 8), but I bet 99.9999% of the existing code uses 16-bit chars.

Comments (0)

No comments yet. Start the discussion.

Comment on this issue