Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 5 of 5

Thread: copyright ©

  1. #1
    Member
    Join Date
    Oct 2002
    Location
    USA
    Posts
    94
    Member #
    237

    Current Rating

    Visual Appeal:
    0.0 out of 5

    Accessibility:
    0.0 out of 5

    Website Speed:
    0.0 out of 5

    Compatibility:
    0.0 out of 5

    Overall Rating:
    0.0 out of 5

    Rate This Site


    Advertisement (login to hide this!)


    You must be logged in to view this site

    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.

  2.  

  3. #2
    Senior Member filburt1's Avatar
    Join Date
    Jul 2002
    Location
    Maryland, US
    Posts
    11,774
    Member #
    3
    Liked
    21 times
    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!

  4. #3
    Unpaid WDF Intern TheGAME1264's Avatar
    Join Date
    Dec 2002
    Location
    Not from USA
    Posts
    14,483
    Member #
    425
    Liked
    2783 times
    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)

  5. #4
    Member
    Join Date
    Oct 2002
    Location
    USA
    Posts
    94
    Member #
    237
    well the problem is, I can see the symbol. &copy;
    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 &copy; . 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 &copy 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.

  6. #5
    WDF Staff smoseley's Avatar
    Join Date
    Mar 2003
    Location
    Boston, MA
    Posts
    9,729
    Member #
    819
    Liked
    205 times
    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 &copy; 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:
    1. Start scripting your HTML instead of using WYSIWYGs,
    2. Try looking for the setting in the Options or Preferences to turn off the code swapping, or
    3. 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


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:10 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com