diff options
Diffstat (limited to 'src/lngconfig.c')
-rw-r--r-- | src/lngconfig.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/lngconfig.c b/src/lngconfig.c index 39fca76..4ac16c1 100644 --- a/src/lngconfig.c +++ b/src/lngconfig.c @@ -311,6 +311,11 @@ rcc_charset_id rccConfigGetCurrentCharset(rcc_language_config config, rcc_class_ charset_id = rccConfigGetLocaleCharset(config, defvalue); if ((charset_id != 0)&&(charset_id != (rcc_charset_id)-1)) return charset_id; + if (cl->defvalue) { + charset_id = rccConfigGetCharsetByName(config, defvalue); + if ((charset_id != 0)&&(charset_id != (rcc_charset_id)-1)) return charset_id; + } + defcharset = cl->defcharset; if (defcharset) { lang = config->language->sn; |