Forum Moderators: phranque

Message Too Old, No Replies

Currency Symbols in ASCII?

         

neophyte

4:02 am on Feb 3, 2010 (gmt 0)

10+ Year Member



I've already posted this in the water cooler section, but didn't get any real response so maybe that was the wrong place - so I'm trying it here.

I'm on a project where I need to load a database with the ascii codes for the currency symbols of over a hundred currencies - as well as currency numeric formats for each.

For example: ascii for the US Dollar symbol is #36 ascii for the Philippine peso is #8369 and so on. This is what I'm in need of for the Slovenian Tolar, the Moroccan Dirham, the Libyan Dinar and others.

I'm also looking for the a description of number formats for many of these currencies - i.e. US dollar is #,###.##, Syrian Pound is # ###,### and so on.

After searching through a ton of sites (particularly foreign exchange venues) I've found most of what I need, but there's about 15 (mostly Arabic) currencies I just can't find the ascii symbols or numeric currency formats for.

Anyone know of the definitive site that has "all" currency symbols in ascii format - as well as currency numeric patterns for each currency?

All guidance greatly appreciated!

Neophyte

phranque

10:14 am on Feb 26, 2010 (gmt 0)

WebmasterWorld Administrator 10+ Year Member Top Contributors Of The Month



not all currency symbols have a unicode assignment.
you can use the source of this perl package as a reference:
"Locale::Currency::Format" [cpan.uwinnipeg.ca]