cpforum
2017-12-17 17:41:57 UTC
With fr_FR.UTF-8 locale and some others I think :
$ locale
LANG=fr_FR.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_ALL=
gftp display incorrect size for example 49?958 instead of 49958, 4?478?629 instead of 4478629 etc.
A workaround is to launch with LC_NUMERIC=C. and edit /usr/bin/gftp
#!/bin/sh
prefix=/usr
exec_prefix=${prefix}
LC_NUMERIC=C; export LC_NUMERIC <<<<<<<
if [ "$DISPLAY " != " " ] && [ -f /usr/bin/gftp-gtk ]; then
exec /usr/bin/gftp-gtk ${1+"$@"}
elif [ -f /usr/bin/gftp-text ]; then
exec /usr/bin/gftp-text ${1+"$@"}
else
echo "Error: Can't find gFTP binaries installed in /usr/bin"
fi
$ locale
LANG=fr_FR.UTF-8
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_ALL=
gftp display incorrect size for example 49?958 instead of 49958, 4?478?629 instead of 4478629 etc.
A workaround is to launch with LC_NUMERIC=C. and edit /usr/bin/gftp
#!/bin/sh
prefix=/usr
exec_prefix=${prefix}
LC_NUMERIC=C; export LC_NUMERIC <<<<<<<
if [ "$DISPLAY " != " " ] && [ -f /usr/bin/gftp-gtk ]; then
exec /usr/bin/gftp-gtk ${1+"$@"}
elif [ -f /usr/bin/gftp-text ]; then
exec /usr/bin/gftp-text ${1+"$@"}
else
echo "Error: Can't find gFTP binaries installed in /usr/bin"
fi