0x0a is CR (carriage return). Newline is 0x0d, which is LF (line feed). On unix, LF (0x0d) is the newline. On windows, you need both CR and LF (0x0a, followed by 0x0d).
D'oh... you're absolutely right! I'm guessing javac must be rather liberal in what it accepts as a line terminator. I know older Macs used only CR as a line delimiter. It's a big mess.
12
u/JerksToSistersFeet May 10 '18
Why is it u000d instead of u000a. Isn't newline 0x0a?