Solved

Chinese text showing characters ������

Posted on 2014-11-12
6
60 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
In this tutorial viewers will learn how to embed an audio file in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: : The declaration should display (CODE) HTML5 is supported by the most recent versions of all major browsers…

911 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

14 Experts available now in Live!

Get 1:1 Help Now