Announcement

Collapse
No announcement yet.

Weird £ symbol problem

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Weird £ symbol problem

    Hi,

    please could someone take a look at our website as we have a weird issue with £ symbols being replaced by ?'s in component drop down choices.

    The £ sign is in the html code but the browser displays it as a ?

    This is happening on any dropdown with a £ symbol in it.

    Examples:

    http://www.prosport.uk.com/acatalog/...XR3_80-83.html

    http://www.prosport.uk.com/acatalog/...S_96_2001.html

    When I copy and paste the exact select form element from our website into a new html document and preview it works fine?

    I'm puzzled as to why the Actinic web page is confusing the browser.

    Thanks
    Steve
    <a href="http://www.stephenknott.me.uk">Stephen Knott - Freelance New Media Designer</a>

    #2
    Hi Steve,

    What program are you using to edit your templates? I had a similar problem recently when editing files in Dreamweaver. Whenever I ran a validation check it told me not to use ascii values above a certain number, so I went through the code and changed all the pound signs to:

    & pound ; (please note, this should be without spaces between the "&" "pound" and ";", but if I write it like that, it gets parsed and comes out as an actual £ sign, which is not very helpfulto you at all!)

    instead of the number value. But then when I saved it, it would automatically change them all back again. When these files were uploaded the browser displayed them all as "?".

    In the end I opened the files in notepad and found that it couldn't understand Dreamweaver's code either and also displayed them as question marks. So I had to go through and find the question marks which were supposed to be pound signs and change them manually.

    I suggest you try opening your templates in notepad and changing each pound sign to:

    & pound ; (without any spaces)

    I hope it works for you!

    Lizzy

    Comment


      #3
      Thanks Lizzy
      Your post has pointed me in the right direction.
      The templates are ok its the bit in Actinic that creates the dropdown menus which is at fault.
      If we enter our component choice as:

      Blue @ £5.99

      It gets coded by Actinic as a £ symbol in the html pages. Some browsers will display it as a £ symbol most won't they like you say need to see the ASCII equivalant.

      Solution = Don't put a £ symbol use:

      PHP Code:
      &pound
      unless were missing something of course
      <a href="http://www.stephenknott.me.uk">Stephen Knott - Freelance New Media Designer</a>

      Comment


        #4
        It's something wierd. Lots of people use a £ sign in the HTML for name field without any problems.

        When I looked at your page source via View / Source in IE6. The page opens in Notepad and there is the £ sign, even though that character displays as ?. There also seems to be some extra spaces in the HTML for these options.

        Perhaps you could paste into the forum exactly what you've got in one of these fields.

        Some thoughts.

        Are you typing that info into the Choice name only (this makes a copy into the HTML for Name field)?

        or

        Are you typing that info into the HTML for Name field?

        or

        Are you importing that field?

        Norman
        Norman - www.drillpine.biz
        Edinburgh, U K / Bitez, Turkey

        Comment


          #5
          It's something wierd. Lots of people use a £ sign in the HTML for name field without any problems.
          Can you show me some examples? I'd like to see others using £ in their drop downs so I can look at their code and see if it shows up as expected.

          Like I say some browsers will show the £ as that others won't. I'm on IE 6.0.26 which shows is at a £
          If I view it on Safari, IE and Firefox on a Mac the £ symbol gets replaced by a ? or is not shown at all.
          Macs are a pain but they usually do a good job of showing up non standard code. If you create a select element in Dreamweaver it will add the £ symbol as & pound ; which is correct as this will display correctly in all browsers. People often complain about dreamweaver changing code but it usually does it for good reason.

          There also seems to be some extra spaces in the HTML for these options
          That shouldn't and doesn't make any difference.

          In answer to your thoughts Norman:
          I right click add new choice and enter in the text which like you say automatically makes a copy.

          I've not noticed this problem before but thats because we have just upgraded all our network machines to the latest vesion of XP with IE6 and the problem has shown up. My home pc shows it as a £ sign my bosses home pc shows it as a £ sign. Come to think of it I've seen £ signs replaced with ? on other ecommerce sites I bet their webmasters were blissfully unaware too
          <a href="http://www.stephenknott.me.uk">Stephen Knott - Freelance New Media Designer</a>

          Comment


            #6
            There also seems to be some extra spaces in the HTML for these options
            I was just wondering if you had put any other characters in these fields that might have been affecting things. I guess not.

            The really wierd thing is that on this system (XP-Pro IE6.0.2800 + all critical patches) your fields show as ?. However when I made a test product with £ signs in the choice on the same system the £ displayed OK.

            So same system, same browser but it's only your pages that fail.

            Now I'm wondering if there is something wrong in the <HEAD> section in that perhaps you've somehow defined a different character set than usual.

            When I looked at your meta tags I see

            <META http-equiv=Content-Type content="text/html; charset=utf-8">


            Now my Actinic is generating


            <META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">

            which is the normal code in Act_Primary.html - so this may well be the problem.

            Norman

            PS Just patched that charset=iso-8859-1 into a save of your page source and it started working OK.
            Norman - www.drillpine.biz
            Edinburgh, U K / Bitez, Turkey

            Comment


              #7
              I had a similar problem in January
              The off line preview was fine but site html displayed the pound symbol as a question mark in some browsers. The main HTML was OK as it used the ISO numeric entity, but the search result and postage charge was affected. I edited all component text to use & # 163 ; to get round the problem, but it went away as I added more content to my site so I never got to the bottom.

              Thread

              Comment


                #8
                Norman, the charset is ok in both the pages I've given as examples??

                <META HTTP-EQUIV="Content-Type" content="text/html; charset=iso-8859-1">

                All I know now is if I put & pound ; instead of £ it works ok in all browsers, so from now on I'm going to use that instead

                If you could show me some other examples of people using the £ symbol in drop downs we'd probably find the same problem with their sites in certain browsers
                <a href="http://www.stephenknott.me.uk">Stephen Knott - Freelance New Media Designer</a>

                Comment


                  #9
                  Steve
                  My recommendation is to use an alternative to the £ in Component html text, just in case.....

                  I removed the price display from view | search settings | Results, as this also generates html with the £ symbol.

                  This leaves the price for shipping options in checkout.


                  Stephen

                  Comment


                    #10
                    I am using the £ symbol with no problems,
                    take a look at the code of my page and compair it with yours


                    http://www.xcopyproducts.co.uk/acata..._Software.html

                    Comment


                      #11
                      Perhaps it's to do with the Compact HTML/CGI (in Design / Options / Miscellaneous). The misbehaving site is including all the extra comments and the working site isn't.

                      I have seen problems in the past with comments and JavaScript within <select> ... </select> blocks.

                      Norman
                      Norman - www.drillpine.biz
                      Edinburgh, U K / Bitez, Turkey

                      Comment


                        #12
                        Still a problem?

                        Did anyone ever find the solution to this?

                        We have just changed servers and upgraded to v7. Now we have this problem - we didn't have it before.

                        It only occurs in the box where customers select shipping rate, in the shopping cart process. All the other £ signs on the site are fine, it's just in the drop-down box where it comes out as ?. The source code shows £.

                        I've tried putting "& pound ;" in the shipping rate tables, but Actinic just changes it back to £.

                        The box text should read "UK RATE A (£5.06)" where UK RATE A is the name of my rate and £5.06 is the rate. I could possibly get round it by adding the £ to the html bit with the brackets - but i just can't find the relevant html fragment anywhere.

                        Can anyone help?
                        Lisa
                        www.alanaecology.com

                        Comment


                          #13
                          Hi Lisa

                          Could you try the Perl fix which James suggests in http://community.actinic.com/showthread.php?t=9023 I strongly suspect you both are experiencing the same issue.

                          Comment


                            #14
                            Yes! Yes! Yes!

                            Yo! Thanks Chris.
                            Lisa
                            www.alanaecology.com

                            Comment


                              #15
                              Have just discovered that ? is appearing in brochure fragments where £ has been used in the text.
                              I've got round this by wrapping the text in !!< >!! and using & pound ; but this is a bit of drag - any ideas?
                              Lisa
                              www.alanaecology.com

                              Comment

                              Working...
                              X