Run away screaming from Java's "UTF8" encoding
MaulingMonkey opened this issue · 0 comments
MaulingMonkey commented
https://docs.oracle.com/javase/7/docs/technotes/guides/jni/spec/types.html#wp16542
- '\0' is encoded as two non-zero characters
- >FFFF is encoded as six characters
- I've probably messed up the encoding somewhere