Fancy quotes not displaying consistently on two pages in same website

Two test pages in a website I am building:
http://www.watkinsarchitect.com/beta/testimonials.asp
http://www.watkinsarchitect.com/beta/sustainability.asp

The have the exact same page template (header info, DocType, CSS, etc.). The first has garbage characters around the testimonials where fancy quotes should be. The second has fancy quotes which are displaying fine (see within the paragraph under What Is Leed?).

I copy-and-pasted the characters from one HTML document to the other.

I have dealt with character set issues before, but never had two pages in the same site, with the same page template, presumably same characters, not display the same way.

Perhaps another set of eyes on this would see something I am missing?

Thank you!
Brad BansnerWeb DeveloperAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Brad BansnerWeb DeveloperAuthor Commented:
UPDATE:

If I copy-and-paste a paragraph from the "good" page to the "bad", the paragraph becomes "bad".

If I copy-and-paste a paragraph from the "bad" page to the "good", the paragraph becomes "good".

So something in the page structure itself is causing this?
0
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
The issue is you are copy and pasting.

View the source of what you want to copy and copy just the html.   Make sure the html was not garbage to begin with.
0
Brad BansnerWeb DeveloperAuthor Commented:
I copied the source from one document to the other ("good" to "bad"), and its still "bad" text.
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
The code is not the same
<p>According to <a href="http://www.energystar.gov" target="_blank">www.energystar.gov</a>, “The Energy Star Service and Product Provider (SPP) partnership is available to organizations that provide energy efficiency services and/or products to commercial buildings and industrial manufacturing plants in the United States. Energy Star SPP partners are integral in helping clients to improve the energy performance of their commercial building portfolios and to adopt continuous improvement strategies for corporate-wide energy management in industrial manufacturing. SPPs use the Energy Star Guidelines for Energy Management to move customers towards greater successes.”</p>

Open in new window

vs
<p><em>�We want to commend Watkins Architect, LTD for the invaluable assistance they have provided to Tilden Township. Specifically, we are appreciative of their professionalism, planning, and execution of architectural design work. Their efforts helped Tilden Township immeasurably in bringing the most affordable and beneficial plans for our new building.�</em><br />
	<strong>Troy Hatt, Chairman<br />
	Board of Supervisors<br />
	Township of Tilden<br />
	Hamburg, PA</strong></p>

Open in new window

I would avoid copying html then pasting that  html to a WYSIWYG box, that will be your issue.   Instead, view the raw html, make sure it is good, then in your wysiwyg box, use the source button if it is available and  paste using that.  Or your wysiwyg box may have a "paste as text" button.  

Can you copy the same section of html from the original good and bad pages here to look at.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
Also, in the page you are pasting to, if it is  a cms, what is the character set?  Is it utf-8?
0
Brad BansnerWeb DeveloperAuthor Commented:
I found the problem. It was actually my text editor BB Edit (http://www.barebones.com/products/bbedit). I did a "save as" and had to change the encoding to UTF-8. I didn't realize the text editor had control over the character set, I thought that just depended on what characters you were typing/inserting.

There was no CMS involved, just FYI.
0
Scott Fell, EE MVEDeveloper & EE ModeratorCommented:
I understand.  It is the same issue though.  You have to use utf-8 as  you found out.  

Check out Ray's article about this too http://www.experts-exchange.com/Programming/Languages/Scripting/PHP/A_11880-Unicode-PHP-and-Character-Collisions.html
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.