View Full Version : £ sign in java
Does any one know how to display the '£' sign in java, so far i,ve tried:
String p = "£"
\u0186 the unicode char but no luck, i,m trying to print the sign in front of a value.
System.out.println("£" + value):
Regards
Bull
@(--)@
c-learner
01-25-2001, 10:49 AM
Lets see, if you're using notepad to write your source code then there is no luck. I have try other symbols but it never work.
Paul Victorey
02-06-2001, 04:59 PM
Well, the first thing is, if you're using a console display it probably does not support all unicode characters. It does little good to add them to a string if your command line won't print them out.
The methods you list should certainly work, IF your display uses full unicode fonts. A web applet and a version 5 or higher browser would probably display the sign correctly.
vBulletin® v3.7.0, Copyright ©2000-2008, Jelsoft Enterprises Ltd.