Questions tagged [java]

6 questions
21
votes
6 answers

Why do Java classfiles (and JNI) use a "Frankenstein's monster" encoding crossing UTF-8 and UTF-16?

It seems like using either UTF-16 or UTF-8 would have been a lot more straightforward than what Java decided on for storing strings in classfiles and JNI payloads. It is a monstrosity that combines aspects of UTF-16 and UTF-8 formats. Is there any…
JoelFan
  • 2,117
  • 2
  • 15
  • 18
3
votes
1 answer

Are there public tools for developing homebrew Java games for the Nokia 2760?

The Nokia 2760 is a clamshell mobile phone released in 2007 which advertised its Java game support. Ten years ago it was still a very popular phone. There were a number of games either preinstalled or available as an add-on. But was/is it also…
Peter B.
  • 4,447
  • 15
  • 36