Home  >  Q&A  >  body text

About is_readable and is_writeable functions

Use is_readable or is_writeable function. All files containing Chinese characters are unreadable and unwritable. What is the situation?

LyLy2498 days ago1260

reply all(1)I'll reply

  • ringa_lee

    ringa_lee2018-01-07 18:22:54

    First of all, it is not recommended to use Chinese file names! Because Chinese will be sent in URL encoding, it will be decoded when sent to the server, but if it is inconsistent with your encoding, it will not be decoded. Simply put, in common browsers, the Chinese in the URL will be encoded in UTF-8 encoding by default and sent to the server! In the Chinese windows environment server, when decoding the URL, gb2312 encoding is used for decoding, which results in the inability to get the original Chinese text you entered in the address bar!

    reply
    1
  • Cancelreply