The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2001



This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.


re : ro in the console

Posted by pierre on June 22, 2001 at 3:14 AM

> Hi all!
> My question is as follows: how can I get an � symbol in my console?
> Thanks!
Well the System.out.println translate the String into ASCII.
So to get � in your console, you should have the corresponding
symbol in you ASCII table (or a font in your console that
substitute another symbol to �).
Note that the JVM use the country
code of your system to determine which ASCII to use.
You can't use unicode in the console


Sponsored Links

Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us