Is it possible to invoke the copyright symbol with javascript code, instead of "& copy" ? Whenever I attempt the latter, it is replaced in the code with the symbol, and then displays as a ? in Internet Explorer.
Is it possible to invoke the copyright symbol with javascript code, instead of "& copy" ? Whenever I attempt the latter, it is replaced in the code with the symbol, and then displays as a ? in Internet Explorer.
Check your encoding in IE.
(testing: © )
filburt1, Web Design Forums.net founder
Site of the Month contest: submit your site or vote for the winner!
You could also hold <ALT> and type 169 on the Num Lock pad, and that'll often work.
If I've helped you out in any way, please pay it forward. My wife and I are walking for Autism Speaks. Please donate, and thanks.
If someone helped you out, be sure to "Like" their post and/or help them in kind. The "Like" link is on the bottom right of each post, beside the "Share" link.
My stuff (well, some of it): My bowling alley site | Canadian Postal Code Info (beta)
well the problem is, I can see the symbol. ©
But when I type out the code & c o p y ; and save my webpage, the actual code within my webpage is changed from & c o p y ; to © . So the symbol appears within the HTML instead of the code.
I'm not sure why this is happening. lol. But whenever it does, then for some even stranger reason Internet Explorer will not show the symbol © when I attempt to view my webpage as normal on the web, it will instead show a ?, that is, an actual question mark. However, all copyright symbols I have seen on other pages always appear fine. Again, I don't understand it. So I figure if I use Javascript instead of & c o p y ; the javascript code won't be replaced like the HTML code is.
The problem is that you're using FrontPage, or some other WYSIWYG editor that is transposing the HTML as you go. Since FrontPage and other editors save the file as an ASCII SBCS (Single Byte Character System) format, special characters don't get recognized. However, when it sees the © text, it replaces it automatically in the source with the symbol (because that's the way the dumb things work).
My suggestion is that you either:
- Start scripting your HTML instead of using WYSIWYGs,
- Try looking for the setting in the Options or Preferences to turn off the code swapping, or
- Try (in HTML mode) typing Alt + 0169 - which will enter the ASCII / SBCS version of the Copyright symbol, instead of the Unicode (Multi-Byte Character System) version which will not be recognized later.
If you try #3 and it transposes the character again, you should [insert random violent act here] whoever created the app.
Just my thoughts![]()