title: Chrome extension: Get charset of current page
body: <p>How can I tell <strong>within the background code</strong> with which charset the current page is defined.</p>
  
  <p>More specifically: I'm using context menu and I want to know whether the selected text is encoded in utf-8 or not.</p>