[Ecls-list] Character encoding/decoding utilities

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Fri Aug 26 10:18:47 UTC 2011

On Fri, Aug 26, 2011 at 11:52 AM, Matthew Mondor
<mm_lists at pulsar-zone.net>wrote:

> If the output elt type can be byte, and the input elt type be
> character, as well as the converse, and that external-format is taken
> in consideration (and configurable) with encoding happening during
> character->byte and decoding during byte->character, then indeed this
> would work.

They would work as current character streams, which accept both character
and byte input and outputs. The tricky part is guessing the appropriate
character and byte sizes for arbitrary sequences, and make sure the user
supplies the right values for formats. Quite boring to code but would
exactly implement what you wrote in the previous email.


Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20110826/4bbb14d5/attachment.html>

More information about the ecl-devel mailing list