summaryrefslogtreecommitdiff
path: root/methods/file.cc
diff options
context:
space:
mode:
authorMatt Zimmerman <matt.zimmerman@canonical.com>2004-11-27 22:11:03 +0000
committerMatt Zimmerman <matt.zimmerman@canonical.com>2004-11-27 22:11:03 +0000
commitb25423f6636a17f61a50ea03ad6bda42125f0323 (patch)
tree58eb307a6a7743dd4e55902646f9c6a1b8d52330 /methods/file.cc
parentf09ed20d3c489419d920f9a27149f4da8ca22f36 (diff)
Call setlocale in all methods, don't call bindtextdomain in http
Diffstat (limited to 'methods/file.cc')
-rw-r--r--methods/file.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/methods/file.cc b/methods/file.cc
index 9fc5764d6..76fd64d86 100644
--- a/methods/file.cc
+++ b/methods/file.cc
@@ -83,6 +83,8 @@ bool FileMethod::Fetch(FetchItem *Itm)
int main()
{
+ setlocale(LC_ALL, "");
+
FileMethod Mth;
return Mth.Run();
}