| Author |
Null Characters not printing on the console on Eclipse 3.3 on Linux
|
Campbell Ritchie
Sheriff
Joined: Oct 13, 2005
Posts: 32654
|
|
Has anybody come across this before? It only seems to happen on Eclipse on Linux, not on Windows, nor a shell on Linux nor NetBeans on Linux. I copied a little class from Bruce Eckels, Thinking in Java 4/e, page 956-7, which prints out bytes in different formats; at one stage it prints out two "zero" bytes as a char which ought to be the null character '\0', followed by 97 or 0x61 which should be the letter 'a'. But no 'a' appeared. I have tried it with a couple of other test apps, and it appears that printing the '\0' character on the console on Ec3.3 on Linux causes the remainder of the line to vanish. Then the next line prints normally. Has anybody else see this behaviour? I have reported it as a potential bug.
|
 |
 |
|
|
subject: Null Characters not printing on the console on Eclipse 3.3 on Linux
|
|
|