title: how to decode ubyte[] to a specified encoding?
body: <p><strong>The problem is</strong>: how to parse a file when encoding is set at runtime?</p>
  
  <p>encoding could be: <em>utf-8</em>, <em>utf-16</em>, <em>latin1</em> or <em>other</em></p>
  
  <p>The goal it is to convert ubyte[] to a string from the selected encoding. Because when you use std.stdio.File.byChunk or std.mmFile.MmFile you have ubyte[] as data.</p>