Report this

What is the reason for this report?

Error to access File and Directory names with accents

Posted on September 15, 2014

I have a documentation tool daux.io that uses directory and file names as titles, like /docs/Catálogo/Extensões.md, so I need to write with accents, but it makes files and directories not accessible to other tools like FTP transfer, they doesn’t transfer these files because they got error trying to open directory. Looking at directory I see a different name /docs/Cata'logo/Extenso~es.md. Can I solve this?



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I have the same Issue here

The FTP protocol only supports ASCII and UTF-8 encodings.

The output of the locale command will show you what you are currently using:

# locale
LANG=en_US.UTF-8
LANGUAGE=en_US:en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=

To change the locale, run:

sudo locale-gen pt_BR.UTF-8
sudo update-locale LANG=pt_BR.UTF-8 LANGUAGE:pt_BR:pt

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.