Using RAD EDITOR (RadControls_Q2_2007_SP1_dev):
When I paste this text into my rad editor:
目睹了中国在全球市场的日趋重要的地位,我们也通过协助美国企业建立和扩展在中国的业务紧紧地跟进这一进程。如今,通过与中国顶级律所及其知识产权公司结成战略联盟,Bullivant具备了更好地协助中国商业企业开拓美国市场的实力。
It displays the chinese text fine within my rad editor window after pasting. However when the content gets written out to SQL:
When I save the content to the SQL database, and retrieve the content, it becomes:
??????????????????????????????????????????????????????????????????...
I am using IIS/ASP.net 1.1
My web.config file begins with:
<?xml version="1.0" encoding="utf-8" ?>
I have made the following change to my web.config file:
<globalization requestEncoding="utf-8" responseEncoding="utf-8" fileEncoding="utf-8"
responseHeaderEncoding="utf-8" enableBestFitResponseEncoding="false" />
I also set the following tags on my page which has the rad editor in use or inputting the field:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
and
<head>
...
<meta http-equiv="content-type" content="text/html; charset=utf-8">
...
</head>
The database column bieng used to store the rad editor value is of type NTEXT.
Please let me know how I can solve this problem.
Thank you.
