// This script changes the UTF-16 encoding to UTF-8.  
// It was specifically for sharing links on Facebook but should fix any issues related to the UTF-16



 // First, get the array of meta-tag elements

    metatags = document.getElementsByTagName("meta");



    // Iterate through the array, listing them all

    // Update only the Title meta tag

    for (cnt = 0; cnt < metatags.length; cnt++)

    {

        //var name = metatags[cnt].getAttribute("name");

        var content = metatags[cnt].getAttribute("content");



        // List the original meta tag name=content

        //document.write(name + " = " + content + "

        // Update the Title meta tag

        if (metatags[cnt].getAttribute("content") == "text/html; charset=utf-16") {

              metatags[cnt].setAttribute("content", "text/html; charset=utf-8");

//alert("HI");

    }
}

