changeset 568:3adfe34b1a77

2004-9-27 Brian Masney <masneyb@gftp.org> * lib/protocols.c (gftp_string_from_utf8) - fixes for encoding the strings in the users' locale
author masneyb
date Tue, 28 Sep 2004 01:54:46 +0000
parents b505daaccb92
children 6dcef47f3187
files ChangeLog lib/protocols.c
diffstat 2 files changed, 4 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Tue Sep 28 01:39:50 2004 +0000
+++ b/ChangeLog	Tue Sep 28 01:54:46 2004 +0000
@@ -1,4 +1,7 @@
 2004-9-27 Brian Masney <masneyb@gftp.org>
+	* lib/protocols.c (gftp_string_from_utf8) - fixes for encoding the
+	strings in the users' locale
+
 	* lib/rfc959.c (rfc959_connect) - return GFTP_EFATAL if the initial FTP
 	response is not 2xx
 
@@ -2863,7 +2866,7 @@
 
 	* cvsclean - added this script
 
-	* *.[ch] - added $Id: ChangeLog,v 1.329 2004/09/28 01:39:50 masneyb Exp $ tags
+	* *.[ch] - added $Id: ChangeLog,v 1.330 2004/09/28 01:54:46 masneyb Exp $ tags
 
 	* debian/* - updated files from Debian maintainer
 
--- a/lib/protocols.c	Tue Sep 28 01:39:50 2004 +0000
+++ b/lib/protocols.c	Tue Sep 28 01:54:46 2004 +0000
@@ -517,8 +517,6 @@
   if (request->iconv_initialized)
     return (g_convert_with_iconv (str, -1, request->iconv, &bread, &bwrite, 
                                   &error));
-  else if (g_utf8_validate (str, -1, NULL))
-    return (NULL);
 
   gftp_lookup_request_option (request, "remote_charsets", &tempstr);
   if (*tempstr == '\0')