From c82c758c851618e8bd68b858c432151f63ba6e0f Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Sat, 13 Oct 2007 17:38:39 +0200 Subject: [PATCH] create_index_pages: Fix charset charset was set by get_locale, which is obviously bogus. Reported by Tommi Vainikainen --- bin/create_index_pages | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/create_index_pages b/bin/create_index_pages index 8586671..72498e9 100755 --- a/bin/create_index_pages +++ b/bin/create_index_pages @@ -67,7 +67,7 @@ foreach my $s (@SUITES) { mkpath ( "$wwwdir/source/$key" ); foreach my $lang (@LANGUAGES) { my $locale = get_locale( $lang ); - my $charset = get_locale( $lang ); + my $charset = get_charset( $lang ); setlocale ( LC_ALL, $locale ) or do { warn "couldn't set locale ($lang/$locale)\n"; next; -- 2.39.2