Consider the simple example:
System.out.println("¬");
System.out.println((int)(('¬')));
System.out.println((char)170);
The output I get is as follows (in order from the sample code):
¬
172
ª
Why is this occurring? I looked into the ASCII chart for character 170, and it says that it is indeed a ¬. Even (on Windows), when one does Alt+170, I get ¬.
Is there something that I'm missing?
 
     
     
     
    