From: Frank Lichtenheld Date: Sat, 13 Oct 2007 15:38:39 +0000 (+0200) Subject: create_index_pages: Fix charset X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=c82c758c851618e8bd68b858c432151f63ba6e0f;p=deb%2Fpackages.git create_index_pages: Fix charset charset was set by get_locale, which is obviously bogus. Reported by Tommi Vainikainen --- 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;