How to solve the problem with the encoding of a file name on the server ?

Hello , it happened that I need to keep the server files with Russian names , I do function copy( $upfile, $full_path ). But here's the problem , the name of the file $full_path becomes kryakozyabry and other encodings, this function refuses to work. When reading a file I can name the lead back to the normal Russian , but I need to create a link to view this file in google's street view, but it is not coming out , because I have a normal file name , and the server krakozyabry.
September 26th 19 at 11:29
2 answers
September 26th 19 at 11:31
SCP is not podderzivaet UTF8 encoding files.
winscp - sftp and choose see.
September 26th 19 at 11:33
On the server gibberish is seen through the SSH console? If Yes, then make sure the console in correct encoding on the server have the correct locale.

Find more questions by tags PHP