title: How to use TextEncoder and TextDecoder from bootstrap addon
body: <p>Following OS.file example it uses TextEncoder however from bootstrap scope this is not available.</p>
  
  <p><a href="https://developer.mozilla.org/en-US/docs/JavaScript_OS.File/OS.File_for_the_main_thread#Example.3A_Read_the_contents_of_a_file_as_text" rel="nofollow">https://developer.mozilla.org/en-US/docs/JavaScript_OS.File/OS.File_for_the_main_thread#Example.3A_Read_the_contents_of_a_file_as_text</a></p>
  
  <p>Only way I could access it is by going <code>decoder = new Services.appShell.hiddenDOMWindow.TextDecoder();</code> but is thi the only way?</p>