: This article mainly introduces how to convert files that the Nginx server cannot read. if you are interested in the PHP Tutorial, refer to it. I. Windows file encoding for GBK encoding, now copied to Linux, Linux use UTF-8 encoding, leading to Nginx server can not read, you can use convmv to modify the file encoding:
The detailed parameters of the convmv command are as follows:
Convmv-f GBK-t UTF-8 *. mp3
However, this command does not convert directly. you can see the comparison before and after conversion. If you want to add the parameter -- notest to the direct conversion
Convmv-f GBK-t UTF-8 -- notest *. mp3
-F indicates the encoding before conversion, and-t indicates the encoding after conversion. Do not make a mistake. Otherwise it may be garbled.
Copyright Disclaimer: This article is an article by Dr. Jian Binyuan, and cannot be reproduced without the permission of the blogger.
The above describes how to convert files that the Nginx server cannot read, including some content. if you are interested in the PHP Tutorial.