Is there a way to probe the ICU library for all UChar’s representing currency symbols supported by the library?
My current solution is iterating through all locales and for each locale, doing something like this:
const DecimalFormatSymbols *formatSymbols = formatter->getDecimalFormatSymbols();
UnicodeString currencySymbol = formatSymbols->getSymbol(DecimalFormatSymbols::kCurrencySymbol);
Then saving off each UChar in currencySymbol into a map (so no duplicates).
All currency symbols have the category Sc (Symbol, Currency), so you can just enumerate all characters from that category.