links in tweets not displaying correct after storing twitter widget.js locally

Posted on 2011-05-13
Last Modified: 2012-05-11

I downloaded and stored the script locally so i doesn't have to be grabbed from the internet every time.

But if i use the local version of this file the links in the tweets are displayed like this:
and "@"- signs are added in various places.

How can this be corrected / fixed?

Question by:peps03
    LVL 36

    Accepted Solution

    After doing some research, I found that the problem is caused by Twitter's JavaScript having Unicode characters as part of a regular expression. The simplest way to correct your issue is to load in your browser with the UTF-8 character encoding, and then saving it. In Firefox, you can change the page encoding by going to View->Character Encoding. You may need to set the encoding when saving in your text editor as well if you do it by copying and pasting.

    Author Closing Comment

    Wow! Thanks very much Zyloch!!

    That did the trick!! This really helps me a lot!

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Someone recently asked me about how to display a progress indicator on a page while an iframe is loading. And I remember when I first came across this myself. It was a bit tricky to get my head around, but really, it's very simple. The most impor…
    SASS allows you to treat your CSS code in a more OOP way. Let's have a look on how you can structure your code in order for it to be easily maintained and reused.
    In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
    In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now