On Fri, Aug 26, 2011 at 10:24 AM, Matthew Mondor <span dir="ltr"><<a href="mailto:mm_lists@pulsar-zone.net">mm_lists@pulsar-zone.net</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

Although there are existing third-party libraries for character<br>
encoding conversions (including one personal implementation), since ECL<br>
has everything needed for UTF-8 encoding/decoding I think that it'd be<br>
nice if it could out-of-the-box permit conversion between bytes and<br>
strings with the wanted external-format.<br clear="all"></blockquote></div><br>I have long wanted to implement sequence-input/output-streams, which would be the generalization of string-input/output-streams to sequences. The idea would be to look at the latter and see how much of it can be refactored. That would be more or less what you need, am I wrong?<br>

<br>I have one caveat, though, I would not implement string streams using those sequence streams -- the external format of those string streams is fixed by the ECL's interpretation of the strings and should never be changed.<br>

<br>Cheers,<br><br>Juanjo<br><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com" target="_blank">http://juanjose.garciaripoll.googlepages.com</a><br>