Re: [Ecls-list] Character encoding/decoding utilities

2011-08-26 Thread Matthew Mondor
On Fri, 26 Aug 2011 05:52:07 -0400 Matthew Mondor wrote: > In other words, if I understand, something similar would become > possible? > > ;;; Write a unicode character string to an UTF-8 encoded bytes vector > (let ((v (make-array 16 ; Expect implementation to adjust ^2 or *2 as needed >

Re: [Ecls-list] Character encoding/decoding utilities

2011-08-26 Thread Juan Jose Garcia-Ripoll
On Fri, Aug 26, 2011 at 11:52 AM, Matthew Mondor 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

Re: [Ecls-list] Character encoding/decoding utilities

2011-08-26 Thread Matthew Mondor
On Fri, 26 Aug 2011 11:00:12 +0200 Juan Jose Garcia-Ripoll wrote: > On Fri, Aug 26, 2011 at 10:24 AM, Matthew Mondor > wrote: > > > Although there are existing third-party libraries for character > > encoding conversions (including one personal implementation), since ECL > > has everything neede

Re: [Ecls-list] Character encoding/decoding utilities

2011-08-26 Thread Juan Jose Garcia-Ripoll
On Fri, Aug 26, 2011 at 10:24 AM, Matthew Mondor wrote: > Although there are existing third-party libraries for character > encoding conversions (including one personal implementation), since ECL > has everything needed for UTF-8 encoding/decoding I think that it'd be > nice if it could out-of-the

[Ecls-list] Character encoding/decoding utilities

2011-08-26 Thread Matthew Mondor
Hello, Although there are existing third-party libraries for character encoding conversions (including one personal implementation), since ECL has everything needed for UTF-8 encoding/decoding I think that it'd be nice if it could out-of-the-box permit conversion between bytes and strings with the