summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmenu.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/menu.pl b/menu.pl
index 8fecdf32..f0e918e4 100755
--- a/menu.pl
+++ b/menu.pl
@@ -87,7 +87,7 @@ use DBI qw(:sql_types);
# check for user config file, could be missing or ???
eval { require("$userspath/$form->{login}.conf"); };
if ($@) {
- $locale = LedgerSMB::Locale->get_handle("fr_CA");
+ $locale = LedgerSMB::Locale->get_handle($myconfig{countrycode});
$form->{charset} = $locale->encoding;
$form->{charset} = 'UTF-8';
$locale->encoding('UTF-8');