Hi, Simon -<div><br></div><div>I just added support to Data.Text for your new Unicode-based Handle implementation, and I&#39;d like to write some tests. The natural way to do this would be to create Handles that will write to, and read from, ByteStrings. Does any such code exist at the moment? I don&#39;t see it in base or bytestring, though all the necessary abstractions appear to be present.</div>
<div><br></div><div>Also, the place I hooked into the new I/O machinery was at the next level up from CharBuffer. Because the implementation of CharBuffer isn&#39;t abstract, I had no opportunity to put a text array in there, so there&#39;s an extra amount of copying that happens when going from byte buffer to char buffer to Text. It&#39;s a bit of a shame, but I don&#39;t see a way around it at the moment. Would you be interested in trying to remove that extra copy, or is the current interface set in stone?</div>
<div><br></div><div>Many thanks for your great work on this,</div><div>Bryan.</div>