Spanish Characters not Displaying Correctly

后端 未结 7 1989
心在旅途
心在旅途 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条回答
  •  -上瘾入骨i
    2021-02-08 12:53

    Use utf8mb4 or Windows-1252

    ini_set('default_charset', 'utf8mb4');
    

    or

    header('Content-Type: text/html; charset=utf8mb4');
    

    then use tag,

    
    

提交回复
热议问题