Call setlocale in all methods, don't call bindtextdomain in http
[ntk/apt.git] / methods / ftp.cc
index cf2838e..0f22227 100644 (file)
@@ -1083,6 +1083,8 @@ bool FtpMethod::Fetch(FetchItem *Itm)
 
 int main(int argc,const char *argv[])
 { 
+   setlocale(LC_ALL, "");
+
    /* See if we should be come the http client - we do this for http
       proxy urls */
    if (getenv("ftp_proxy") != 0)