UTF-8 issue in Firefox - response header overriding meta tag?

前端 未结 2 1457
甜味超标
甜味超标 2021-01-20 04:26

I have a page with the following meta tag:


I thought this w

2条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-20 05:19

    The URL alias http://monthlymixup.com/mixups/july_2012/media/nick/Guessi-Gu%C3%A9r%C3%A9-Guessi%20%28Pop%20Bariba%29.mp3 works OK on Firefox, too. So the problem is appearently on the linking page. The problem can be reproduced using the following test page:

    
    
    
    link
    

    Thus, the problem is in the PHP code that generates the linking page. It seems to % encode the letter “é” on its own, using the ISO-8859-1 based encoding %e9 instead of the proper UTF-8 based encoding.

    Make sure that the linking page is generated correctly, with the letter “é” rather than any % encoded form or the UTF−8 based encoding %C3%A9.

提交回复
热议问题