On the hosting, the names of files and directories are encoded in UTF-8 encoding, so if you copy files with the name encoding to CP-1251 (which is used in Windows) and there are Cyrillic characters in their name, they need to be recoded.
To convert the encoding, do the following:
convmv -r -f cp1251 -t utf8 --notest ~/path/to/files/*.png
-r- means recursive change of the encoding of names in all subdirectories.
-fthe initial encoding is indicated.
-tindicates the encoding that should be installed as a result. (We recommend using UTF-8 encoding.)
–notest- sets the parameter to immediately change the encoding of names without further confirmation.
~/path/to/files/*.pngyou need to specify the path and file extension:
~/path/to/files- the path to the files to be converted.
~/stands for the user's root directory. For example, the directory
*.png- means that you need to convert all files with the extension
.png... To convert the names of absolutely all files, you must specify the symbol