utf 8 in scripting terminal window
I know this is talked about in some threads before, but i found no real solution
to my question
while you say in the documentation that winscp defaults to utf-8 i cannot agree with that
writing some german chars and redirecting them to a file with "echo äöüß > testumlaute.txt"
results in
XXX@myserver.de ~ $ hexdump -C testumlaute.txt
00000000 e4 f6 fc df 0a |.....|
00000005
checking which encoding this is results in
>>> chardet.detect(chr(0xe4)+chr(0xf6)+chr(0xfc)+chr(0xdf))
{'confidence': 0.99, 'encoding': 'windows-1255'}
cp1255 is not utf-8.
this was tested with a freshly installed winscp 5.7, which was mentioned as using utf8
per default if i read it right?
So how can I configure winscp to use utf-8 for the whole communication?
locale is /root$ locale
LANG=de_DE.utf8
LANGUAGE=
LC_CTYPE="de_DE.utf8"
LC_NUMERIC="de_DE.utf8"
LC_TIME="de_DE.utf8"
LC_COLLATE="de_DE.utf8"
LC_MONETARY="de_DE.utf8"
LC_MESSAGES="de_DE.utf8"
LC_PAPER="de_DE.utf8"
LC_NAME="de_DE.utf8"
LC_ADDRESS="de_DE.utf8"
LC_TELEPHONE="de_DE.utf8"
LC_MEASUREMENT="de_DE.utf8"
LC_IDENTIFICATION="de_DE.utf8"
LC_ALL=
Thanks and
best regards
to my question
while you say in the documentation that winscp defaults to utf-8 i cannot agree with that
writing some german chars and redirecting them to a file with "echo äöüß > testumlaute.txt"
results in
XXX@myserver.de ~ $ hexdump -C testumlaute.txt
00000000 e4 f6 fc df 0a |.....|
00000005
checking which encoding this is results in
>>> chardet.detect(chr(0xe4)+chr(0xf6)+chr(0xfc)+chr(0xdf))
{'confidence': 0.99, 'encoding': 'windows-1255'}
cp1255 is not utf-8.
this was tested with a freshly installed winscp 5.7, which was mentioned as using utf8
per default if i read it right?
So how can I configure winscp to use utf-8 for the whole communication?
locale is /root$ locale
LANG=de_DE.utf8
LANGUAGE=
LC_CTYPE="de_DE.utf8"
LC_NUMERIC="de_DE.utf8"
LC_TIME="de_DE.utf8"
LC_COLLATE="de_DE.utf8"
LC_MONETARY="de_DE.utf8"
LC_MESSAGES="de_DE.utf8"
LC_PAPER="de_DE.utf8"
LC_NAME="de_DE.utf8"
LC_ADDRESS="de_DE.utf8"
LC_TELEPHONE="de_DE.utf8"
LC_MEASUREMENT="de_DE.utf8"
LC_IDENTIFICATION="de_DE.utf8"
LC_ALL=
Thanks and
best regards