Click to See Complete Forum and Search --> : Strange characters coming up instead of quotation marks and apostrophe's.
hAppY pAppY
12-17-2004, 05:21 AM
Hey all.
I've recently switched to using Mac, and since then, I've been having issues. Anytime I use quotations or apostrophe's (in dreamweaver) it ends up putting these strange characters in instead.
Also note, that these changes only happen once it's been ftp'd.
See below for an example:
http://synergydistribution.com/downloads/problem.gif
coconut
12-17-2004, 07:21 PM
taking text from a mac and putting it into html alot of the times will cause this to happen, clean up your code. Are you taking your text from notepad? It might render cleaner. I work on a pc, but I know when I cut and past text from a mac given file and place it on the page on my pc, i will have that problem. The way to fix that for me is to cut and paste the text into a notepad program, clean up the extra and paste into my page.
What do I look like a smoken monkey?
hAppY pAppY
12-17-2004, 09:22 PM
coconut said...
taking text from a mac and putting it into html alot of the times will cause this to happen, clean up your code. Are you taking your text from notepad? It might render cleaner. I work on a pc, but I know when I cut and past text from a mac given file and place it on the page on my pc, i will have that problem. The way to fix that for me is to cut and paste the text into a notepad program, clean up the extra and paste into my page.
It even happens when I type something from scratch, not just from copying and pasting. It's annoying as hell.
coconut
12-17-2004, 09:56 PM
Are you using CSS
What do I look like a smoken monkey?
hAppY pAppY
12-17-2004, 10:42 PM
coconut said...
Are you using CSS
not on this particular site, but I usually do.
coconut
12-17-2004, 11:44 PM
that might fix the problem.
What do I look like a smoken monkey?
hAppY pAppY
12-18-2004, 12:26 AM
coconut said...
that might fix the problem.
I'll give it a shot! thanks.
Benjamin
12-21-2004, 01:20 AM
You need to use HTML codes for characters outside the ISO character set, like apostraphes('), amphersands (&) etc.
In Dreamweaver go to Insert -> HTML Special Character -> Other.
http://www.jackfruitdesign.com/
Om Namah Shivaya
Invader Xan
12-21-2004, 04:19 AM
That used to confuse me as well... All to do with character coding. It seems a silly thing to ask these days, but I assume you're using UTF-8 (Unicode) character coding? I used to have th trouble, because Windows-based machines use Western (ISO-) encoding of one kind or another, and Apples use Western (MacRoman).
Admittedly, I haven't done any HTML in years (literally!), but I was under the impression that the newer versions of Dreamweaver and/or Go Live had settings to solve the problem. If there is, it'll be a solitary checkbox somewhere in the preferences labelled 'Fix Quotes' or somesuch. Of course, I could be wrong.
'Imagination is more important than intelligence'
-- Albert Einstein
Patrick Shannon
12-22-2004, 09:50 PM
I would even avoid using something like Notepad to write something like CSS in. When I started with CSS on my website, I was going batty trying to figure why my Notepad saved pages was not working correctly. I then found out that even Notepad adds some extra overhead junk (whatever you want to call it) in their document (although this wasn't obvious even when searching through the saved code). The website I learned this from recommended BBEdit (which is tailored towards script writing) instead. I switched over to this and resaved everything through BBEdit, and my problems were solved.
--
Patrick Shannon
http://www.patrickshannon.com/mwwc_sm.gif
My War With Culture (http://www.mywarwithculture.com)
The Positively Eclectic Online Comic!
coconut
12-22-2004, 11:44 PM
I have used notepad C+ as well. There are some good free note pads for writing code, just do a search.
What do I look like a smoken monkey?