Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 934381
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T20:59:26+00:00 2026-05-15T20:59:26+00:00

I’m implementing Bing Maps on a page (I’d prefer Google Maps, but it’s not

  • 0

I’m implementing Bing Maps on a page (I’d prefer Google Maps, but it’s not my choice). I’m following the tutorial MS provides here: http://msdn.microsoft.com/en-us/library/bb412551.aspx

Using MS’s code, everything worked just fine. Fleshing it out with some of my own jQuery code, I found that I was getting a “Permission Denied” error every time I ran $.get(); I assumed this was some sort of “Same Origin” conflict, but after much checking, I determined that I wasn’t requesting anything from any other host (not even http://www.example.com vs. example.com – everything was on the SAME host).

After much frustration, I finally whittled the cause down to the META tag in MS’s code:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

This was towards the bottom of my HEAD section. In reading the spec. for the META tag (which I wasn’t very familiar with), I found that some servers may translate http-equiv tags directly into HTTP headers, while others may just send them as-is. Since I believe headers must be sent before any content, I moved the META tag to the BEGINING of the HEAD section, and everything worked fine.

Another detail: I only had problems in IE7. When I tested in FF, I had no problems at all.

So here’s my question: Are META tags with the http-equiv attribute SUPPOSED to be at the begining of the HEAD section? Was IE just being weird? Or was FF just being particularly forgiving?

Thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T20:59:27+00:00Added an answer on May 15, 2026 at 8:59 pm

    From the HTML5 draft spec (http://dev.w3.org/html5/spec/semantics.html#charset):

    4.2.5 The meta element

    [snip]

    4.2.5.5 Specifying the document’s character encoding

    Status: Last call for comments

    A character encoding declaration is a mechanism by which the character encoding used to store or transmit a document is specified.

    The following restrictions apply to
    character encoding declarations:

    * The character encoding name given must be the name of the character encoding 
      used to serialize the file.
    * The value must be a valid character encoding name, and must be an ASCII
      case-insensitive match for the preferred MIME name for that encoding. 
      [IANACHARSET]
    * The character encoding declaration must be serialized without the use of 
      character references or character escapes of any kind.
    * The element containing the character encoding declaration must be serialized
      completely within the first 512 bytes of the document.
    * There can only be one character encoding declaration in the document.
    

    Note the fourth bullet point. I believe that the 512 byte rule was a compromise between the legacy browsers which have in the past chosen different limits, but all, I think, had a byte limit of some length. This may be the reason, though why it should cause a “Permission Denied” error, I’ve no idea.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.