Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Java in General and the fly likes how to show all countries currency symbols Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "how to show all countries currency symbols" Watch "how to show all countries currency symbols" New topic
Author

how to show all countries currency symbols

zimbu bolleddu
Ranch Hand

Joined: Jan 14, 2008
Posts: 35
hi all ,

hers is my question :

how to display all countries currency codes :

as of now I'm showing like


but Locale is not supported for all the counties in the world,

webpage

so how to resolve this problem

please give code examples

Thanks & regards,
zimbu
here are listed countries I have to show the currency symbols


http://www.xe.com/iso4217.php
Sebastian Janisch
Ranch Hand

Joined: Feb 23, 2009
Posts: 1183
I'm confused ... do you mean currency codes or symbols ?


JDBCSupport - An easy to use, light-weight JDBC framework -
Ireneusz Kordal
Ranch Hand

Joined: Jun 21, 2008
Posts: 423
zimbu bolleddu
Ranch Hand

Joined: Jan 14, 2008
Posts: 35
Thank you Ireneusz Kordal,

In which java version it will works fine .> ?

and Im using java 6 so it is not supported isEmpty() method , so I modified to equals(""), then it works for me

the resulting is showing is below :

but it is giving me some question marks how to avoid it .> ?



Thank you very much
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 38075
    
  22
Is that a printout from the command line? Which operating system are you using? It worked all right when I tried it on Ubuntu, but the Windows command window may not support all the symbols. Try again with something which support Unicode.
zimbu bolleddu
Ranch Hand

Joined: Jan 14, 2008
Posts: 35
Yeah I tried in windows machine,

I don't have any other machine, but I want it in web application will it work on unix server,

I mean my apps are deployed on Unix machine, but most of the clients use windows machines only

so will it work accordingly .. ?

thanks

zimbu
 
jQuery in Action, 2nd edition
 
subject: how to show all countries currency symbols
 
Similar Threads
c�25-45k DOE how much in indian currency
Trying to understand NZ to US currency issues
Weakest currency in world
Currency conversions
why $ only ???