mysql - PHP encoding issues -
i uploaded new site, , having strangest issue. have ajax/php search box displays search results user typing. reason on live site search results aren't encoded properly. @ times displays correctly, 2 seconds later results this:
���ak� ��
�a<��l��&c-�f�2j�m����v��_ �]v��x���x�q���(|ȩΜo����-x������q�ʎ�(n��(�����s�8�u��
�}¸�l���:(�j��n����c����:��u�x�=���9se-�j�{����� r�՞b1ؑ�ov�*[nzp"t5�(�h�� mh���mg��̆1z�����"�p��g�9e�dd_r�����8n%���.j^������g7��c8�hs��}�qa�$
i uploaded site different web host during development , did not have issue. i've tried utf8_encode()
doesn't help. else on site looks fine, it's search results. suggestions appreciated.
you may need add following between head tags.
<meta http-equiv="content-type" content="text/html; charset=utf-8">
Comments
Post a Comment