|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (3 bit)
Join Date: Dec 2000
Posts: 4
|
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 @(--)@ |
|
|
|
|
|
#2 |
|
Registered User
Join Date: Dec 2000
Location: where justice defined.
Posts: 174
|
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.
|
|
|
|
|
|
#3 |
|
Member (12 bit)
Join Date: Mar 1999
Location: MN or WI
Posts: 3,017
|
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.
__________________
Paul M. Victorey ------------------ I am not responsible for any problems that may arise as a result of following my advice. This includes, but is not limited to, computer failure, loss of data, nuclear war, famine, boils, no clean laundry, your daughter running off with a biker gang, or armageddon. Take my advice at your own risk. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|