Spanish Characters not Displaying Correctly

后端 未结 7 1975
心在旅途
心在旅途 2021-02-08 12:24

I am getting the lovely � box where spanish characters should be displayed. (ie: ñ, á, etc). I have already made sure that my meta http-equiv is set to utf-8:

&         


        
7条回答
  •  既然无缘
    2021-02-08 13:15

    Kindly check your file ENCODING. It must be in UTF-8 or UTF-8 without BOM.

    To change you file encoding. Use Notepad++(you can use also other editor where you can change the file encoding). In menu bar > Choose ENCODING > Choose any UTF-8 or UTF-8 without BOM.

    See link for the difference of UTF-8 and UTF-8 without BOM. What's different between UTF-8 and UTF-8 without BOM?

    Hope it can help. :)

提交回复
热议问题