Solved

Chinese text showing characters ������

Posted on 2014-11-12
6
58 Views
Last Modified: 2014-11-22
Hi there,

On this page you can see we are trying to add Chinese text 测试。中国文字 but it is displaying weird characters ������

http://www.telfordsmith.com.cn/new-machine.asp?MachineryID=125

There has to be a simple explanation but I cannot work it out...please help?

Thanks in advance.
0
Comment
Question by:warkey
  • 3
  • 3
6 Comments
 
LVL 36

Expert Comment

by:Loganathan Natarajan
ID: 40439222
Is that file is saved as " utf-8 " way encoded?
0
 

Author Comment

by:warkey
ID: 40439224
<!DOCTYPE html>
<html lang="en">
<head>
<title>New Machine</title>
<meta charset="UTF-8">
<meta http-equiv="Content-Language" content="en" />
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

Yes, I believe it is according to the meta details?
0
 
LVL 36

Expert Comment

by:Loganathan Natarajan
ID: 40439230
You need to check the file stream. check the attachment.

also did you check the file data how it was saved for display?check this
0
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
LVL 36

Expert Comment

by:Loganathan Natarajan
ID: 40439254
It looks fine to me.. when i use note way. check the attachment.
encode-1.png
encode-2.png
0
 

Accepted Solution

by:
warkey earned 0 total points
ID: 40448709
Thanks anyway, Loganathan...I worked it out!

I used Server.HTMLEncode and a HTMLDecode function.
0
 

Author Closing Comment

by:warkey
ID: 40459207
I worked it out myself!
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now