UTF-8 cannot display Chinese

G

Guest

Hi,

I built a aspx web page which the charset is UTF-8. I need to present the
same Chinese content to both Traditional and Simplified Chinese. However, it
shows error code for UTF-8, Big 5 or GB2312. All Chinese text cannot be
displayed.

I installed dot net framework 1.1 with traditional chinese language pack.
The server OS is english windows 2000.

How can I fix it?

I cannot build the same content for 2 language code and run on 2 servers.

Thanks for help.
 
A

Aquila Deus

Tom said:
Hi,

I built a aspx web page which the charset is UTF-8. I need to present the
same Chinese content to both Traditional and Simplified Chinese. However, it
shows error code for UTF-8, Big 5 or GB2312. All Chinese text cannot be
displayed.

I installed dot net framework 1.1 with traditional chinese language pack.
The server OS is english windows 2000.

You don't need the .net language pack.
How can I fix it?

I cannot build the same content for 2 language code and run on 2 servers.

Thanks for help.

Your .aspx must be saved as utf-8 format, and you may add this line after
<%@ Page ...>:
<?xml version="1.0" encoding="utf-8"?>

In your web.config (or machine.config):
<configuration>
<system.web>
<globalization
requestEncoding="utf-8"
responseEncoding="utf-8"
fileEncoding="utf-8"/>
</system.web>
</configuration>
 
G

Guest

Hi Tom,

Can you let me know how do you solve this problem? I'm developing a
multi-language web site and I had difficulty in displaying Simp/Trad Chinese
and English. I use utf-8 as request & responseEncoding in my Web.config file
with no luck...

My email: (e-mail address removed)

Thanks!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top