Control Panel
Forum
Hosting Help
ASP.NET 4 & SQL 2008 R2 Hosting
Resources
Notice
Login
Members
Shared Hosting
|
Upgrade
|
Advertise
|
Tutorials
|
AdSense revenue sharing sites
|
Exam 70-680 Practice Tests
|
Silverlight games
Total
members
:
210363
Average new registrations per day (in last 7 days):
16
New Registration:
Open
Register Now
Home
»
Questions & Answers
»
Unicode Character
Unicode Character
9/2/2010
Author:
Van Hua
I writed a simple aspx page like below, when i'm run on visual studio server, the browser can display that unicode character, but when i upload that file on aspspider and try to preview it, this times the broswer CAN'T display that unicode character, anyone can tell me how to display that unicode character :(
<!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd>
<html
xmlns=
http://www.w3.org/1999/xhtml
>
<head runat=server>
<title></title>
</head>
<body>
<form id=form1 runat=server>
<div style=font-family: Arial>
??? // this is chinese word
</div>
</form>
</body>
</html>
Answers .............
Author:
Tarik Okur
Istanbul Commerce University
Posted Date: 12/11/2010
You'll need to add a globalization tag in your web.config file, somewhere after configuration tag. Example;
<globalization fileEncoding=iso-8859-9 responseEncoding=iso-8859-9 requestEncoding=iso-8859-9/>
The iso-8859-9 thing here is for Turkish characters, google Chinese character sets, and change the fields in the example accordingly. I hope this is the fix you're looking for, have a nice day.
(PS. Write the character set codes between double quotation marks, for some reason they are removed from the example when I submit the message)
You must
login
to post answer for this question.
Advertise
Privacy Policy
Terms of use
Contact Us
SpiderWorks Technologies Pvt Ltd.
All Rights Reserved.