not being displayed properly

前端 未结 5 1975
无人及你
无人及你 2021-01-07 01:35

I am having problem in displaying the   in my web page, after using utf8_decode() in PHP it gets displayed as �.

i have been using



        
5条回答
  •  再見小時候
    2021-01-07 02:06

    Have you checked the encoding of the php file itself?

    In some windows editors (like notepad++) you can have some utf-8 character problems when you check the wrong encoding for your file - even if you set your meta tag correctly.

    In notepad++ you can change it in this section:

    Change notepad++ file encoding http://img198.imageshack.us/img198/9081/notepadp.png

    If you're not using notepad++, we'll need some more detailed information from your setup, like Operating System used, IDE, etc.

提交回复
热议问题