?
Solved

Spanish characters not displaying on one web page but fine on others

Posted on 2013-11-07
3
Medium Priority
?
284 Views
Last Modified: 2013-11-07
I have a client site that uses Spanish characters in some of the item names. These names are stored in a SQL DB as straight spanish characters (os opposed to their html encoding values), and they display just fine on most pages of the site...but on one or two pages they do not display correctly. Specifically when in the logged in student area.

Here's a working page:

http://aicme.com/catalog_cirriculum.asp?cid=23

And here's a non-working page:

http://aicme.com/AIBu/students/courses.asp  *

* Login with user 'gbtester' and password 'test', then click on 'My Courses', then look at the Nuerology section.

I have compared the above pages and they have identical character sets ie. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

They run under the same site in IIS 7.0 so the MIME Types set there apply to all pages.

So, what is the problem here?
0
Comment
Question by:worthyking1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 58

Accepted Solution

by:
Gary earned 2000 total points
ID: 39631848
Is that page actually saved as UTF-8? (I mean the actual courses.asp page)
I suspect the encoding is something else maybe ANSII
0
 
LVL 15

Expert Comment

by:pateljitu
ID: 39631899
Please add this on code on top pf the page:

<%
    Response.CharSet = "UTF-8"
    Response.CodePage = 65001
%>

Open in new window

0
 
LVL 6

Author Closing Comment

by:worthyking1
ID: 39632261
Thanks to GaryC123 for this simple answer that eluded me due to Adobe's fine work.

In Dreamweaver the page properties showed the file as having UTF-8 encoding so I had precluded that possibility; but after reading GaryC123's proposed solution I became suspicious and opened the file in Notepad, then re-saved it and explicitly set the encoding to UTF-8...and Voila! she works.
0

Featured Post

Percona Live Europe 2017 | Sep 25 - 27, 2017

The Percona Live Open Source Database Conference Europe 2017 is the premier event for the diverse and active European open source database community, as well as businesses that develop and use open source database software.

Question has a verified solution.

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

Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
Originally, this post was published on Monitis Blog, you can check it here . In business circles, we sometimes hear that today is the “age of the customer.” And so it is. Thanks to the enormous advances over the past few years in consumer techno…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
Suggested Courses

764 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