Вопрос

I have used Tamil fonts and it is displaying the correct font when I run it in local server. But it is showing like X.Ã.uhkrhä bu£oah® in webpage. How to solve this? Please help.

Это было полезно?

Решение 2

try this ,

<meta charset="UTF-8" />

Другие советы

Add the below code on your php script.

<?php
header('Content-Type: text/html;charset=utf-8');

You need to do two things

  1. set meta data to utf-8 (as given in answers here)
  2. Save the page in UTF-8 encoding instead of ASCII (then browser will know this page contains UTF-8 content)
Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top