Mercurial > gftp.yaz
diff lib/gftp.h @ 184:65eb40fb4f03
2003-6-16 Brian Masney <masneyb@gftp.org>
* lib/gftp.h lib/misc.c lib/options.h lib/protocols.c
src/gtk/misc-gtk.c - added remote_charsets option. Whenever a file is
read in that is not in UTF-8, it will first attempt to convert it from
the local charset, and if that fails, it will try each of the locales
in this list. I have no idea if this even works, so if someone can test
this, please let me know.
author | masneyb |
---|---|
date | Tue, 17 Jun 2003 02:02:42 +0000 |
parents | 33b394ebba68 |
children | 13ca1defdc75 |
line wrap: on
line diff
--- a/lib/gftp.h Mon Jun 16 16:32:24 2003 +0000 +++ b/lib/gftp.h Tue Jun 17 02:02:42 2003 +0000 @@ -178,6 +178,9 @@ struct gftp_file_tag { char *file, /* Our filename */ + *utf8_file, /* UTF-8 encoded filename for display purposes + only. This is only set if file is not in + UTF-8 */ *user, /* User that owns it */ *group, /* Group that owns it */ *attribs, /* Attribs (-rwxr-x-rx) */ @@ -417,6 +420,11 @@ #ifdef USE_SSL SSL * ssl; #endif + +#if GLIB_MAJOR_VERSION > 1 + GIConv iconv; + unsigned int iconv_initialized : 1; +#endif };