Question
Error on filename encoding (utf-8)
I’ve migrate a website from hostgator to digital ocean and I have filenames like:
11-01-03-La-Gr#U00e1fica-Completa.jpg
and in hostgator I’ve see it like:
11-01-03-La-Gráfica-Completa.jpg
I’ve tried to change it within the console like:
convmv -r -f ISO-8859-1 -t UTF-8 .
convmv -r -f ascii -t UTF-8 .
and so…
But I can’t change it. I don’t know what to do, the are almost 3000 files like that.
Thanks
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.
×
First, see what your current setting is by running the command locale , then set and export your LANG environment variable. For example in bash:
NOTE: this is a temporary fix/test. If it works for you, then you’ll have to do the next step and configure either your system or your account to use it.
I’ve made that, and…
The first 3 lines are the problem? the last one? I can’t figure out what is the problem.