projects
/
deb
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47effee
)
create_index_pages: Fix charset
author
Frank Lichtenheld
<frank@lichtenheld.de>
Sat, 13 Oct 2007 15:38:39 +0000
(17:38 +0200)
committer
Frank Lichtenheld
<frank@lichtenheld.de>
Sat, 13 Oct 2007 15:38:39 +0000
(17:38 +0200)
charset was set by get_locale, which is obviously
bogus.
Reported by Tommi Vainikainen <thv -at- iki fi>
bin/create_index_pages
patch
|
blob
|
history
diff --git
a/bin/create_index_pages
b/bin/create_index_pages
index 8586671bdbbffb52616d7d331ab4d6255ebb02f1..72498e9299669f6a931171b84f441433340773d4 100755
(executable)
--- 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;