Solved

Chinese text showing characters ������

Posted on 2014-11-12
6
66 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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
html / css issue / div issue. stuck, help needed 2 25
Hide file extensions in Notepad++ tabs 2 57
Hit counters in SharePoint 2013 2 30
w3c parsing errors 4 22
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

696 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