News for hackers. Stuff that matters.
Re:Make JDK source code UTF-8 by kevin_thibedeau on Tuesday February 28, 2023 @09:40PM (#34978096)
This makes it a PITA to use non-ASCII in string literals. They have applications beyond non-English language support. Unicode character escapes are opaque and impair readability. If a wizened language like C can do it gracefully, newer languages should be able to as well.

For languages limited to Latin-1 specifically, I always put a © in the header block as a canary for possible misinterpretation as Unicode or something else.

There are no comments on this comment yet.