Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Special character in CMD prompt

807588Jul 11 2009 — edited Jul 14 2009
Hi!
I would like to know about a problem that occours always when I trying to use special character in Java, like "ã" or "é", then run it in MS-DOS prompt.

See:

public class test{
public static void main(String args[]){
System.out.println("Á á É é Í í Ó ó Ú ú");
}
}

Then compilates it with "*javac*" and run.
I just wanted to know WHY those symbols got truncated.
Thx.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 11 2009
Added on Jul 11 2009
4 comments
879 views