title: ruby `encode': "\xC3" from ASCII-8BIT to UTF-8 (Encoding::UndefinedConversionError)
body: <p>Hannibal episodes in tvdb have weird characters in them.</p>
  
  <p>For example:</p>
  
  <pre><code>Œuf
  </code></pre>
  
  <p>So ruby spits out:</p>
  
  <pre><code>./manifesto.rb:19:in `encode': "\xC3" from ASCII-8BIT to UTF-8 (Encoding::UndefinedConversionError)
      from ./manifesto.rb:19:in `to_json'
      from ./manifesto.rb:19:in `&lt;main&gt;'
  </code></pre>
  
  <p>Line 19 is:</p>
  
  <pre><code>puts @tree.to_json
  </code></pre>
  
  <p>Is there a way to deal with these non utf characters? I'd rather not replace them, but convert them? Or ignore them? I don't know, any help appreciated.</p>
  
  <p>Weird part is that script works fine via cron. Manually running it creates error.</p>