Page 1 of 1

BIG Quotations replaced with "?"

Posted: Mon Nov 15, 2010 7:40 pm
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.

Re: BIG Quotations replaced with "?"

Posted: Mon Nov 15, 2010 9:43 pm
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;

Re: BIG Quotations replaced with "?"

Posted: Tue Nov 16, 2010 4:16 pm
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.