mirror of
https://git.zap.org.au/git/trader.git
synced 2024-11-03 17:27:29 -05:00
Add checks for the C.UTF-8 (C.utf8) locale for adding a currency symbol
This commit is contained in:
parent
601678313d
commit
1e7c6c098a
@ -321,7 +321,9 @@ void init_locale (void)
|
||||
string returned by setlocale() is supposed to be opaque. */
|
||||
add_currency_symbol = false;
|
||||
if ( strcmp(current_mon_locale, "POSIX") == 0
|
||||
|| strcmp(current_mon_locale, "C") == 0) {
|
||||
|| strcmp(current_mon_locale, "C") == 0
|
||||
|| strcmp(current_mon_locale, "C.UTF-8") == 0
|
||||
|| strcmp(current_mon_locale, "C.utf8") == 0) {
|
||||
|
||||
add_currency_symbol = true;
|
||||
lconvinfo.currency_symbol = MOD_POSIX_CURRENCY_SYMBOL;
|
||||
|
Loading…
Reference in New Issue
Block a user