09d58c
--- netkit-ftp-0.17/ftp/main.c.locale	2004-12-15 16:52:14.504193752 +0000
09d58c
+++ netkit-ftp-0.17/ftp/main.c	2004-12-15 16:52:51.719133655 +0000
09d58c
@@ -51,6 +51,7 @@
09d58c
 
09d58c
 /* #include <arpa/ftp.h>	<--- unused? */
09d58c
 
09d58c
+#include <locale.h>
09d58c
 #include <signal.h>
09d58c
 #include <unistd.h>
09d58c
 #include <string.h>
09d58c
@@ -109,6 +110,7 @@
09d58c
 
09d58c
 	tick = 0;
09d58c
 
09d58c
+	setlocale (LC_ALL, "");
09d58c
 	sp = getservbyname("ftp", "tcp");
09d58c
 	if (sp == 0) {
09d58c
 		fprintf(stderr, "ftp: ftp/tcp: unknown service\n");