Click here to Skip to main content
15,919,931 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi..
I am using IE7 and windows 2008 while i am trying to give Hindi text in <title></title> i didn't get in ie7 it shows some boxes
Posted
Comments
Rajini.Y 22-Jun-12 9:37am    
Thanks for your Quick Response but it didn't resolved my problem
Here is my .aspx code:


<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<html xmlns="http://www.w3.org/1999/xhtml">

<head runat="server">
<style type="text/css">
title
{
font-family:Arial Unicode MS;
}

</style>
<title xml:lang="hi"> प्रतिशत </title>

</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Label ID="lblhindi" runat="server" Text="प्रतिशत से कम या 100 के लिए बराबर होना चाहिए">
</div>
</form>
</body>
</html>

1 solution

Have you specified an appropriate charset in your Content-Typeresponse headers?
You need a charset that includes the characters you want to display (probably UTF-8 or maybe UTF-16).

If you already have a good charset value, does it work in other browsers?
If so, then try the IE7 menu >> view >> encoding.

Peter
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900