cartridge
cartridge copied to clipboard
Currency not displayed correctly on Windows.
I use Windows and the Format is set to "English (United States)", but the currency symbol is set ₪. but in shop_tags.py the value is not encoded currently. Suggested fix:
value = str(value, encoding=locale.getdefaultlocale()[1])
What do you have SHOP_CURRENCY_LOCALE set to?
It is not set, so Cartridge uses system locale. The symbol is correct but in order to display it correctly the value must be encoded with an encoding that has the correct symbol.. On May 5, 2014 12:42 AM, "molokov" [email protected] wrote:
What do you have SHOP_CURRENCY_LOCALE set to?
— Reply to this email directly or view it on GitHubhttps://github.com/stephenmcd/cartridge/issues/188#issuecomment-42146173 .