I tried to separate my java output with this Code in Eclipse:
But I always get the console output:
Why I get this sign "?" instead of " ' "??!! I want to see:
Pperhaps I had set the wrong code point in Eclipse. But I tried every known cp (850, 1252, ISO-8859-1, UTF-8, UTF-16) in Eclipse Windows-Preferences-Workspace but i've alwas the same wrong output. Perhaps it's an Eclipse problem because when I enter the source code in a text file and save it as Test.java and compile it with javac an run with java Test, the output is what I want: 15’536’714’310’352’335’821’263’449’270’861
I saw somewhere in a forum, that I can set the code point in the source code globally but I' forgot how and where I saw it. But I remember the Code started with system......
Yes, the question mark does indicate that the encoding you chose can't render that character.
Which is strange because the ' character is in the ASCII character set, and it's basically impossible to choose an encoding which doesn't extend ASCII. So you must have used some obscure character instead of the ordinary ' character.
It is no measure of health to be well adjusted to a profoundly sick society. -Krishnamurti Tiny ad: