BIG Quotations replaced with "?"

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
jperri
Forum Newbie
Posts: 1
Joined: Mon Nov 15, 2010 7:38 pm

BIG Quotations replaced with "?"

Post by jperri »

I am not PHP coordinated...

I have a page that I can’t fix.

It’s: http://www.scdlifestylebook.com/freeb.php
The question marks are supposed to be quotes.

I don’t know what I did? I just opened it up in notepad to look at it and then when I closed it, it got all funky. They were "Quotes" - the curly kind - before. It's not an image, just BIG quotes.

And it is not that I copied from word and ended up with weird characters.
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: BIG Quotations replaced with "?"

Post by Christopher »

The copy/paste changed you stylesheet. See the content: tags:

Code: Select all

<style type="text/css">
#bigcopy:before {
	content: '?';
	display: block;
	margin-left: -.7em;
	float: left;
	font-size: 2em;
	margin-top: -.2em;
}

#bigcopy:after {
	content: '?';
	display: block;
	float: right;
	font-size: 2em;
	margin-right: .75em;
	margin-top: 0;
}
You may want to replace the ?'s with the metacharacters &ldquo; and &rdquo;
(#10850)
thinsoldier
Forum Contributor
Posts: 367
Joined: Fri Jul 20, 2007 11:29 am
Contact:

Re: BIG Quotations replaced with "?"

Post by thinsoldier »

Your file was probably originally authored in UTF8.

Notepad.exe is a useless waste of bytes. Don't use it for anything important ever.

When you saved it via notepad it didn't know what to do with the curly quotes character.

Download jEdit or something.
Warning: I have no idea what I'm talking about.
Post Reply