ZF-6208: Currency symbol not correctly parsed from locale files
At least two currencies (RON and INR) don't have the correct symbol when calling toCurrency on a Zend_Currency object. The specific issue is that the symbol value in the XML isn't parsed at all, so unparsed text is added to the currency string. As a result, one ends up with "formatted" currency values which look like this:
For the en_IN locale, for a INR ISO currency code value. In addition to breaking for the Indian Rupee, this breaks in similar ways for other locales and for the Romania Leu.
The issue is that the value is encoded per this specification: http://unicode.org/reports/tr35/#Choice_Patterns
Since this effects a small number a currencies at the moment, it would seem the simplest thing to do is to special case them rather than build a general purpose parser because the XML format in this case is clearly sub-par.