title: Adding UTF-8 BOM to string/Blob
body: <p>I need to add a UTF-8 byte-order-mark to generated text data on client side. How do I do that?</p>
  
  <p>Using <code>new Blob(['\xEF\xBB\xBF' + content])</code> yields <code>'ï»¿"my data"'</code>,  of course.</p>
  
  <p>Neither did <code>'\uBBEF\x22BF'</code> work (with <code>'\x22' == '"'</code> being the next character in <code>content</code>).</p>
  
  <p>Is it possible to prepend the UTF-8 BOM in JavaScript to a generated text?</p>
  
  <p><sup>Yes, I really do need the UTF-8 BOM in this case.</sup></p>