I have written some croatian language in my page.But when i m seeing result some unsupported text is not com开发者_Go百科ing on browser.This is replacing "?" there.what i have to do ?
I suggest using UTF-8 character encoding.
You should also convert your HTML files to UTF-8 character set (without BOM). You can do this using Notepad++ for example.
I have tested the following code and it is working:
<html>
<head>
<title>title</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>
<body>
vaše
</body>
</html>
Add encoding to your page, depending on what encoding you used to create your page, you need to add the following:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Or it's HTML5 equivalant
<meta charset="utf-8" />
精彩评论