Announcement

Collapse
No announcement yet.

Why does miva script change the registered trade mark symbol (®) into a �

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

    Why does miva script change the registered trade mark symbol (®) into a �

    as stated in the title when i put a ® miva script does not recognize it and it converts it into a character shaped like a diamond with a ? in the middle of it. Here is a link to a product live on my site that its happening to see the product description "8pk 9 inch Krazy Straws�" is there a way to get miva to show it correctly?

    http://store.krazystraws.com/product/608-04N.html

    #2
    Re: Why does miva script change the registered trade mark symbol (®) into a �

    Adjust the charset in the head tag section
    i.e.
    <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
    Andreas Toman
    PCINET, LLC

    Miva Merchant Design, Development, Integration & Support
    We built over 200 Miva Merchant stores!
    Miva shopping cart design & integration service and see our Portfolio!


    e-mail: [email protected]
    web: www.pcinet.com
    LinkedIn: Andreas Toman
    phone: (786) 250-2056 (Miami, FL)

    Comment


      #3
      Re: Why does miva script change the registered trade mark symbol (®) into a �

      Andreas,

      There's a field in the admin to control that, why do it via template code?
      Thanks,

      Rick Wilson
      CEO
      Miva, Inc.
      [email protected]
      https://www.miva.com

      Comment


        #4
        Re: Why does miva script change the registered trade mark symbol (®) into a �

        is the head tag section in here somewhere? Sorry im not finding it.

        Comment


          #5
          Re: Why does miva script change the registered trade mark symbol (®) into a �

          You are right but what if this isn't a new store; then it's in the templates.
          Andreas Toman
          PCINET, LLC

          Miva Merchant Design, Development, Integration & Support
          We built over 200 Miva Merchant stores!
          Miva shopping cart design & integration service and see our Portfolio!


          e-mail: [email protected]
          web: www.pcinet.com
          LinkedIn: Andreas Toman
          phone: (786) 250-2056 (Miami, FL)

          Comment


            #6
            Re: Why does miva script change the registered trade mark symbol (®) into a �

            Depending on your store version it maybe in every template. As Rick pointed out, new versions have this in a global field. Best, take a look at any of your main templates (SFNT, CTGY or PROD) and check the HTML code if it contains the line I copied in my first reply.
            Andreas Toman
            PCINET, LLC

            Miva Merchant Design, Development, Integration & Support
            We built over 200 Miva Merchant stores!
            Miva shopping cart design & integration service and see our Portfolio!


            e-mail: [email protected]
            web: www.pcinet.com
            LinkedIn: Andreas Toman
            phone: (786) 250-2056 (Miami, FL)

            Comment


              #7
              Re: Why does miva script change the registered trade mark symbol (®) into a �

              guys sorry im kinda getting lost here. Is it in this global section?

              <mvt:if expr="l.settings:page:code NE 'PROD'">
              <!-- BEGIN: Miva Merchant Social Network Buttons -->
              <meta property="og:title" content="&mvte:global:store:name;" />
              <meta property="og:url" content="http://&mvt:global:domain:name;/" />
              <meta property="og:site_name" content="&mvt:global:store:name;" />
              <meta property="og:image" content="http://store.krazystraws.com/merchant2/graphics/00000001/snb_logo.png" />
              <meta property="og:description" content="Offical Website of the Krazy Straw" />
              <meta property="og:type" content="website" />
              <meta property="fb:app_id" content="140564426092980" />
              <link type="text/css" href="http://store.krazystraws.com/merchant2/css/00000001/socialite-g.css" rel="stylesheet" />
              <!-- END: Miva Merchant Social Network Buttons -->
              </mvt:if>

              Comment


                #8
                Re: Why does miva script change the registered trade mark symbol (®) into a �

                If changing the page's charset doesn't resolve your issue, try using the HTML entity code of &reg; instead of ®.

                It looks like the code would be in your Navigation Bar element, but it's a category link so you may need to change it on the category name itself.

                Because it's a category name and might be placed on the page via a variable rather than plaintext, you might see "&reg;" instead of ® after making this change. If so, you will need to find the code in your Navigation Bar which renders that and change the variable call from &mvte to &mvt.
                Last edited by KNewbrough; 06-03-13, 11:43 AM.
                Kyle Newbrough
                Technical Support / Web Developer
                Miva Merchant

                Comment


                  #9
                  Re: Why does miva script change the registered trade mark symbol (®) into a �

                  Keep in mind this can also be an issue of the charset the web server is set to as well as the charset of the mysql server (or individual database tables) that store the data in the template.

                  The real solution is to never use the registered trademark symbol because not all character sets have that symbol present, and you may find some web servers and some installations of MySQL that do not behave as expected when you attempt to use the actual character. The safe solution is to always use &reg; and &trade; for registered and non-registered trademarks. You can of course also use ASCII codes: (ignore it saying 'php code' below, it was the only vbulletin tag I could use to have it not try to interpret these codes)

                  PHP Code:
                  &trade;
                  &
                  #153;

                  &reg;
                  &
                  #174;

                  &copy;
                  &
                  #169; 
                  David Hubbard
                  CIO
                  Miva
                  [email protected]
                  http://www.miva.com

                  Comment


                    #10
                    Re: Why does miva script change the registered trade mark symbol (®) into a �

                    I'm having a related issue trying to import product and category names that use special characters (foreign languages).

                    The characters appear properly in the file we are using for the import.
                    We have tried importing using the new csv import module, xml import, and tab delimited import. In all cases the characters get corrupted during import.
                    After import the characters do not display properly in admin or on the site.

                    If I copy and paste the characters directly into the product name in miva admin they display properly within admin and on the site.

                    Character encoding for the site is set to utf-8.

                    Comment


                      #11
                      Re: Why does miva script change the registered trade mark symbol (®) into a �

                      We have the same issue with the fed ex web server. The registered trade mark is built in. It prints the strange symbol with the ? on the customers copy. It looks bad. Where would I go to change it?

                      Thanks,
                      Donna
                      Donna Bunnell
                      Treasures of the Southwest
                      www.treasuresofthesouthwest.com

                      Comment


                        #12
                        Re: Why does miva script change the registered trade mark symbol (®) into a �

                        Donna,

                        That comes from the Fed Ex web server. And just goes to show, that even the big boys can overlook things.
                        Bruce Golub
                        Phosphor Media - "Your Success is our Business"

                        Improve Your Customer Service | Get MORE Customers | Edit CSS/Javascript/HTML Easily | Make Your Site Faster | Get Indexed by Google | Free Modules | Follow Us on Facebook
                        phosphormedia.com

                        Comment

                        Working...
                        X