summaryrefslogtreecommitdiff
path: root/methods
diff options
context:
space:
mode:
Diffstat (limited to 'methods')
-rw-r--r--methods/http.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/methods/http.cc b/methods/http.cc
index 3bb29cde0..68653fbb3 100644
--- a/methods/http.cc
+++ b/methods/http.cc
@@ -1183,6 +1183,9 @@ int HttpMethod::Loop()
int main()
{
+ setlocale(LC_ALL, "");
+ bindtextdomain(APT_DOMAIN, Cnf.FindDir("Dir::Locale").c_str());
+
HttpMethod Mth;
return Mth.Loop();