Why would someone use the meta utf-8 tag inside the script tag?

I have run into a number of sites that use the <meta utf-8> tag inside the <script> tag what is the use of it.
How dose one write the utf-8 inside the script tag?

csteinola wrote:
> If I CFINCLUDE that cache file, the characters come out
munged (non-utf-8
> encoded).
try prepending a <cfprocessingdirective
pageencoding="utf-8"> to the file.

Similar Messages

  • Why would someone use x:ClassModifier="internal" ?

    I was looking through some views and one was marked at the top with "internal".
    It's a bit confusing because isn't it internal by default?

    Nope. The other way round.
    The default for a XAML based class is Public.
    The person who wrote that page chose the VB version of syntax.
    https://msdn.microsoft.com/en-us/library/ms754029%28v=vs.110%29.aspx?f=255&MSPPError=-2147217396
    Default is:
    <object x:Class="namespace.classname" x:ClassModifier="Public">
    </object>
    Presumably what you're seeing:
    <object x:Class="namespace.classname" x:ClassModifier="Internal">
    </object>
    I can't really see why anyone would bother.  Can't recall ever seeing that used in a project I've worked on or code reviewed. There again it'd be up the top where I wouldn't usually pay much attention.
    If you're working on a project and you don't know the reason then maybe there is actually no good reason.
    Devs will sometimes see something and they use it just because they can.  I see all sorts of odd things and there's no real reason at all for using them other than "because I could".
    Hope that helps.
    Recent Technet articles: Property List Editing;
    Dynamic XAML

  • Why the iPhone gets heated when someone uses the internet?

    Why the iPhone gets heated when someone uses the internet?

    because that's what happens when use electronic devices...they warm up.

  • Why can someone use same icloud e-mail address as mine?

    Why can someone use same icloud e-mail address as mine?
    I Have found that the new facebook account has been set up in someone's name using my iclound e-mail.

    Do a backup.
    Try System Preferences/iCloud and sign out. Then sign in with your new Apple ID.

  • Cannot eject the start-up disk from my PowerBook G4 (laptop). Can anyone help me? My screen is blank too, that's why I'm using the start-up disk. MacBook Pro (17-inch 2.4 GHz), Mac OS X (10.7.4)

    Cannot eject the start-up disk from my PowerBook G4 (laptop). Can anyone help me? My screen is blank too, that's why I'm using the start-up disk.
    MacBook Pro (17-inch 2.4 GHz), Mac OS X (10.7.4)

    Try holding down the trackpad button while starting up the PowerBook.  Holding down mouse button during start up ejects the disc in the optical drive, so I'm guessing it would work the same with the button the the trackpad.

  • Our granddaughter has a ipod. She's getting a iphone and a mini idpad.  what is the best way to set them up. Does she need a new apple id and password or would she use the same one she has for her ipod

    our granddaughter has a ipod. She's getting a iphone and a mini idpad.  what is the best way to set them up. Does she need a new apple id and password or would she use the same one she has for her ipod

    Just use the same one on all devices.

  • T530 with NVS5400M - would ExpressCard use the CPU or GPU, when attaching a extenral monitor?

    Curiousity is
    attaching a Asus MB MB168B+ (external FHD USB 3.0 monitor), and having it use the NVS 5400M, rather than the CPU.
    Had read that attaching it via the laptop's USB 3.0 would process the graphics using the CPU.
    How about.. attaching a ExpressCard to USB 3.0 adapter.  Would that use the NVS GPU?

    Obviously heat is a big enemy of electronics but people make too big of an issue about it, I think. Your computer's fans rev up as the heat goes up and if the computer approaches dangerous temps it will shut off. My 2011 doesn't seem to be any hotter when connected to the electricty than when on battery power.
    Using it on battery at a desk or table you shouldn't need to be worried. If you intend to keep it on your lap just from the stand point of your own comfort a lap table with fan or fanless is a good idea.
    Heat vents out the top and back - I'd recommend against using it shut while gaming. Obviously most games dont take advantage of having a second display but when I'm connected to my external monitor for non-gaming purposes I like having the second monitor.

  • Hi, why do we use the break and continue structure?

    Hi, I was wondering why do we use the break and continue structure in some program such as:
    for ( int i = 1; i <= 10; i++ ) {
    if ( i == 5 )
    break;
    So, now why do we use those codes, instead of achiving the same results by not using the if structure.
    I am new in java so I can be totaly wrong that is why my question come to you guys.
    I will appriciate if you let me understand more.

    I may not completely understand your question, but - imagine the following scenario:
    // Looking for some value in a long, unsorted list
    Object target = null;
    int index = -1;
    for (int i = 0; i < list.size(); i++) {
        Object curObject = list.get(i);
        if (curObject.equals(source)) {
            target = source;
            index = i;
    if (target != null){
        System.out.println("Found it at " + index);
    }You will always run through the entire long list, even if the thing you are looking for is the first thing in the list. By inserting a break statement as:
    // Looking for some value in a long, unsorted list
    Object target = null;
    int index = -1;
    for (int i = 0; i < list.size(); i++) {
        Object curObject = list.get(i);
        if (curObject.equals(source)) {
            target = source;
            index = i;
            break;
    if (target != null){
        System.out.println("Found it at " + index);
    }You can skip whatever's left in the list.
    As for continue, yes, I suppose you could use a big if, but that can get burdensome - you end up with code like:
    for (int i = 0; i < list.size(); i++) {
        Object curObject = list.get(i);
        // you want to do the rest only if some condition holds
        if (someCondition) {
            // do some stuff -
            // And you end up with lots of code
            // all in this if statement thing
            // which is ok, I suppose
            // but harder to read, in my opinion, than the
            // alternative
    }instead of
    for (int i = 0; i < list.size(); i++) {
        Object curObject = list.get(i);
        // you want to do the rest only if some condition holds
        if (!someCondition) {
            continue;
        // do some stuff -
        // And you end up with lots of code
        // all outside of any if statement thing
        // which is easier to read, in my opinion, than the
        // alternative
    }Hope that helped
    Lee

  • Can I convert the optical output to analog for a zone 2 audio? I would continue using the HDMI for the main zone. Can I use both of these simultaneously? Zone 2 only supports analog on this receiver.

    Can I convert the optical output to analog via a converter for  zone 2 audio? I would continue using the HDMI for the main zone. Can I use both of these simultaneously? Zone 2 only supports analog on this receiver.

    These will probably help.
    [http://www.jsresources.org/examples/audio_conversion.html]

  • HT6114 Why would i lose the ability to send mail via my mac? smtp is offline

    Why would i lose the ability to send mail via my mac? smtp is offline and cannot get it to respond.  I have web mail with o2, which is working fine, and i can send and receive on my iPhone!! yet i cannot send on any of the four accounts i have via mac?

    Troubleshooting sending and receiving email messages
    Troubleshooting sending email messages

  • Why when i use the the speaker in my i-phone 5 and i finish the call i hear strange voices ?

    why when i use the the speaker in my i-phone 5 and i finish the call i hear strange voices ?

    Another way. You can use a USB flash drive & the camera connection kit.
    Plug the USB flash drive into your computer & create a new folder titled DCIM. Then put your movie/photo files into the folder. The files must have a filename with exactly 8 characters long (no spaces) plus the file extension (i.e., my-movie.mov; DSCN0164.jpg).
    Now plug the flash drive into the iPad using the camera connection kit. Open the Photos app, the movie/photo files should appear & you can import. (You can not export using the camera connection kit.)
    Secrets of the iPad Camera Connection Kit
    http://howto.cnet.com/8301-11310_39-57401068-285/secrets-of-the-ipad-camera-conn ection-kit/
     Cheers, Tom

  • Help! I am trying to use the scripts image processor in Photoshop CC.

    Help! I am trying to use the scripts>image processor in Photoshop CC. When I click on it it comes up with an error saying that it cannot find the Javascript Plug In. I have the newest version of Java installed. How do I get it to work in Photoshop. Do I have to download a separate plug in? Any help would be greatly appreciated.

    Java is not Javascript.
    Do you have a Mac or PC?
    If PC, do you have this file on your system?
    C:\Program Files\Adobe\Adobe Photoshop CC (64 Bit)\Required\Plug-Ins\Extensions\ScriptingSupport.8li
    If not, you've got a corrupted installation of Photoshop.  Uninstalling and reinstalling may help.
    -Noel

  • How to use the script placemultipagePDF with reduction?

    In need to use the script placemultipagePDF, but in need this have a reduction 77%

    try below code, i modifide sample cone provide adobe as per ur requirement.
    main();
    function main(){
        //var myCounter = 1;   
        var myDocument = app.documents.item(0);
        var myPage = myDocument.pages;
        var myPDFFile = new File("E:\\Work\\Scripting InDesign CS3-4 with JavaScript April 2009.pdf");
            if((myPDFFile != null)){
                for (var p=0; myPage.length>p; p++){
            myPlacePDF(myDocument, myPage[p], myPDFFile);
    function myPlacePDF(myDocument, myPage, myPDFFile){
        var myPDFPage;
        app.pdfPlacePreferences.pdfCrop = PDFCrop.cropMedia;
        var myCounter = 1;
        var myBreak = false;
        while(myBreak == false){
            if(myCounter > 1){
                myPage = myDocument.pages.add(LocationOptions.after, myPage);
            app.pdfPlacePreferences.pageNumber = myCounter;
            myPDFPage = myPage.place(File(myPDFFile), [0,0])[0];
            myPDFPage.verticalScale =77;
            myPDFPage.horizontalScale = 77;
            if(myCounter == 1){
                var myFirstPage = myPDFPage.pdfAttributes.pageNumber;
            else{
                if(myPDFPage.pdfAttributes.pageNumber == myFirstPage){
                    myPage.remove();
                    myBreak = true;
            myCounter = myCounter + 1;

  • Why would you use a managed service account rather than a virtual account in SQL Server 2012?

    In SQL Server 2012, service accounts are created as
    virtual accounts (VAs), as described
    here, as opposed to
    managed service accounts (MSAs).
    The important differences I can see for these, based on the descriptions:
    MSAs are domain accounts, VAs are local accounts
    MSAs use automagic password management handled by AD, VAs have no passwords
    in a Kerberos context, MSAs register SPNs automatically, VAs do not
    Are there any other differences? If Kerberos is not in use, why would a DBA ever prefer an MSA?
    UPDATE:
    Another user has noted a
    possible contradiction in the MS docs concerning VAs:
    The virtual account is auto-managed, and the virtual account can access the network
    in a domain environment.
    versus
    Virtual accounts cannot be authenticated to a remote location. All virtual accounts
    use the permission of machine account. Provision the machine account in the format
    <domain_name>\<computer_name>$.
    What is the "machine account"? How/when/why does it get "provisioned"? What is the difference between "accessing the network in a domain environment" and "authenticating to a remote location [in a domain environment]"?

    Hi,
    “Virtual accounts cannot be authenticated to a remote location. All virtual accounts use the permission of machine account. Provision the machine account in the format <domain_name>\<computer_name>$.”
    “The virtual account is auto-managed, and the virtual account can access the network in a domain environment. If the default value is used for the service accounts during SQL Server setup on Windows Server 2008 R2 or Windows 7, a virtual account
    using the instance name as the service name is used, in the format NT SERVICE\<SERVICENAME>”
    Per the above description, they are two concepts and not conflict with each other.
    As you understand, virtual account access network resources by using the credentials of the computer account. Generally, computer account will not be granted permission unless giving the computer account permission on the shared folder manually.
    Thanks.
    Tracy Cai
    TechNet Community Support

  • In the OSPF routing, Why can't use the command "no auto-summary"?

    Hello
    I will post the article here because this question.
    The question for OSPF.
    Am I more than trying a variety of routing's a wonder suddenly become, OSPF is why there is no "no auto-summary" of commands like protocols such as RIP and EIGRP?
    It's strange grammar?
    Yes, using the Google Translator.
    Please consider it.

    ckfurtn01,
    By default, RIP and EIGRP summarize networks to their classful boundaries.  No auto-summary disables that feature.  
    In OSPF, we need to configure wildcard masks to identify our networks.  For example, in EIGRP network 10.1.1.0/24, with auto-summary enabled, will advertise a 10.0.0.0/8 network.  In OSPF, to identify the same 10.1.1.0/24 network we would advertise 10.1.1.0 0.0.0.255 area X.  If we wanted to do the classful boundary then it would be 10.0.0.0 0.255.255.255 area X.
    OSPF, in short, does not perform auto-summarization so it is not a needed command.  Hope this helps.
    v/r
    Mike

Maybe you are looking for

  • Table Scroll down using a button

    Hi, Can some expert Webdynpro consultant try out this weird requirement and give me the solution. ( Its for an app to be used on Mobile which is why asking for it. Its working fine on computers/Laptops) Create a table and bind it with a child node an

  • Apple TV Hooked up to two receivers-Ad wireless speakers?

    Presently I have my 5.1 HDMI receiver hooked up to my AppleTV with wired speakers in my den. I also have another old receiver that also runs my AppleTV (analog) with speakers in my sunroom which are also wired. I am able to play my AppleTV music to b

  • Drop Shadow etc in Illustrator cc

    My version of Illustrator CC doesn't have any options for drop shadows etc. under stylise - is there something else I should download?

  • Remove more than one columns simultaneously

    In our reports we want to give the user the option to remove a list of selected columns simultaneously. First the user should be able to select the list of columns which needs to be removed. Then the selected columns should be removed on the next cli

  • Openbox, undecorated windows by default.

    I'd like to set my windows in Openbox undecorated by default: after all the title is visible in the programs bar and the menu is reachable with alt+space... So what is the title bar for? So, do you know how to set the windows undecorated by default?