summaryrefslogtreecommitdiff
path: root/methods/http.cc
diff options
context:
space:
mode:
Diffstat (limited to 'methods/http.cc')
-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..e53667c07 100644
--- a/methods/http.cc
+++ b/methods/http.cc
@@ -1183,6 +1183,9 @@ int HttpMethod::Loop()
int main()
{
+ setlocale(LC_ALL, "");
+ bindtextdomain(APT_DOMAIN, _config->FindDir("Dir::Locale").c_str());
+
HttpMethod Mth;
return Mth.Loop();