Skip to main content
prh108
Participating Frequently
September 12, 2018
Answered

Rogue A with caret appearing

  • September 12, 2018
  • 4 replies
  • 1278 views

On some pages after loading them up, a capital A with a caret symbol above appears before the £ symbol which stops the shopping cart functions.

what causes this, and how do I resolve the problem?

thanks

    This topic has been closed for replies.
    Correct answer osgood_

    www.harristweedshop.com/xx-rpd.html

    www.harristweedshop.com/xx-alex.html

    Both work fine

    Sent from my iPad


    You dont have much meta data information at the top of the xx-alex.html page.

    Try including the charset below and see what happens:

    <meta charset="UTF-8">

    4 replies

    prh108
    prh108Author
    Participating Frequently
    September 23, 2018

    I have adjusted the pages so that they both have the same information in the head area and closed that with </head>

    in the case of harristweedshop.com/xx-rpd.html

    everything works fine in relation to the shopping cart and the £ symbol

    on harristweedshop.com/xx-alex.html

    it still does not work

    I have tried adding

    <meta charset="utf-8">

    and

    <meta http-equiv="content-type" content="text/html; charset=iso-8859-1">

    to this page and it makes no difference.

    Interestingly adding either of these statements to the rpd.html page stops that page working !

    BenPleysier
    Community Expert
    Community Expert
    September 23, 2018

    Please have a look at Showing results for https://www.harristweedshop.com/xx-alex.html - Nu Html Checker and Showing results for https://www.harristweedshop.com/xx-rpd.html - Nu Html Checker

    What you have achieved so far is that both documents have the same fatal error. If I was being facetious I would say 'well done'.

    Instead I'll be brutally honest and say that both documents are a complete schlemazel. When looking at the code in the so-called working document, I immediately ask, "where are the closing tags?" and "what are those rogue characters?"

    <option>No Thanks - Standard Lining Please

    <option>T121 Fancy Lining - Golfers +£135.00

    <option>T1022 Fancy Lining - Skulls +£135.00

    <option>Suit with standard Lining +£500.00

    <option>Suit with Fancy Lining +£600.00

    If you do not want to correct the code, as you have defiantly shown, could I at least urge you to remove the rogue characters in the non-working document to prove to you that they are not the culprit.

    In the non-working document do a Find and Replace (find  and replace with nothing). If you want to remove the rogue characters in the working document, you will need to find Â.

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    prh108
    prh108Author
    Participating Frequently
    September 24, 2018

    I have not done anything defiantly!

    If you actually checked the code then you would see the correct tags are present

    ie <select> </select> and everything between <form></form>

    Clearly you know better than the person who wrote the original program for the cart, which was by the way not me, I will pass on your condescending information to them.

    The whole reason for asking the community (he says sarcastically) was that no one appears to know why this is happening in html 5, as the cart has performed extremely well for a number of years.

    If I knew what caused the problem then yes  I could use find and replace

    BenPleysier
    Community Expert
    Community Expert
    September 13, 2018

    Both URL's lead to a 404 error.

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    pziecina
    Legend
    September 12, 2018

    prh108  wrote

    On some pages after loading them up, a capital A with a caret symbol above appears before the £ symbol which stops the shopping cart functions.

    what causes this, and how do I resolve the problem?

    thanks

    The capital A with caret will be in the relevant pages code. If the code is provided by the people providing the shopping cart, the you would be better advised contacting them.

    If it is in the html code you have written, then it will in the relevant position to where it appears in the page.

    Jon Fritz
    Community Expert
    Community Expert
    September 12, 2018

    If it's stopping your shopping cart from functioning, you should ask the shopping cart maker what needs to be done to fix it. They've likely come across the issue many times.

    I'll submit a couple of guesses though...

    One guess would be that whatever you're using to create the symbol doesn't match the charset of your page. You might be able to replace the symbol with a code entity for the same thing...

    & pound;

    & #163;

    & #xa3;

    (without the space) are a few options. Changing your charset meta tag to <meta charset="utf-8"> in the <head> of the page is another possible fix. Though if the cart system isn't in your page, that may not do the trick.

    It may be that having the symbol in with the price is causing some kind of calculation problem with your cart system scripts. in that case, you could add it using css ::before or ::after on the selector for the price container...

    .price::before {

         content:"\00a3";

    }

    <p class="price">(price goes here)</p>

    That will place the symbol before the price using css, so it won't affect a calculation script.

    It's pretty hard to say how to fix it without knowing what "it " is. Can you post a link to your work in progress?

    prh108
    prh108Author
    Participating Frequently
    September 13, 2018

    Here is 2 links to the problem, the first red worked fine, the secend Alex does not even though the code was simply copied across, from the test page.

    www.harristweedshop.com/xx-rod.html

    www.harristweedshop.com/xx-Alex.html

    thanks

    Jon Fritz
    Community Expert
    Community Expert
    September 13, 2018

    Both of those links are 404 File Not Found.