I manage a website that is based on directory listings (dessin.acswift.com).
The website is in French, and many of the urls contain accents:
/leçon 1 - identification & vocabulaire.html
I would like to be able to work on the site using SSH and SFTP, using Terminal on a Mac.
The problem is that when I SSH/SFTP to the server, the address above becomes:
/le?on 1 - identification & vocabulaire.html
The ç becomes a ?.
So, for example, when I want to SFTP a file to:
le?on 4 - origine, terminaison & action
I cannot figure out how to CD to the directory I want -- I can't type the ç character in a way that the server will recognize. The asterisk wildcard helps sometimes but not always.
Is there a way to use SSH/SFTP using UTF-8 characters?
[update] Here is the output of locale (my local computer which displays the accents correctly):
LANG="en_US.UTF-8" LC_COLLATE="en_US.UTF-8" LC_CTYPE="en_US.UTF-8" LC_MESSAGES="en_US.UTF-8" LC_MONETARY="en_US.UTF-8" LC_NUMERIC="en_US.UTF-8" LC_TIME="en_US.UTF-8" LC_ALL=
The Apache server doesn't recognize lang or locale.