We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 25551 ☆ A M B ☆
    • 1,231 Posts
    Hello,

    I am starting to see more and more issues with funny characters in my source which is knocking elements out and there’s no reason for them appearing. I seem to get ​ a lot in my source for no particular reason, I’ve googled it and don’t seem to be able to find an explanation for it.

    Does any one know what it is and what is causing it?

    Thanks


    Here is the source taken from Firefox...

    <!DOCTYPE html>
    <html lang="en">
    <head> </head>
    <body>
    ​
    <div> test </div>
    ​
    </body>
    </html>
    


    &#8203; appears as "" in Chrome and in IE. It’s happened before on a completely different server setup and I issued a bug as I thought it was related to Wayfinder.

    I have tried creating a new template, using XHTML Strict and checked the DB and there’s no sign of these characters anywhere but they appear in the browsers. It seems a bit odd...
      Ross Sivills - MD AugmentBLU Edinburgh, Scotland UK
      AugmentBLU - MODX Partner

      BLUcart - MODX Revolution E-Commerce & Shopping Cart
      • 34061
      • 9 Posts
      Hello, Rossco,

      Not sure if you found your answer, yet, but this page has some older (10/2010) but solid information:
      http://www.hadermann.be/blog/48/modx-character-encoding/

      Was experiencing the same issue after the push of a patched version of one of my client sites and the developer with whom I was working said it was a result of the database character encoding being incorrect.

      Cheers,
      Leigh
        • 3749
        • 24,544 Posts
        Definitely looks like a character encoding issue.

        A number of people have found this helpful: http://bobsguides.com/convert-db-utf8.html
          Did I help you? Buy me a beer
          Get my Book: MODX:The Official Guide
          MODX info for everyone: http://bobsguides.com/modx.html
          My MODX Extras
          Bob's Guides is now hosted at A2 MODX Hosting