[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Internal visibility
From: |
Ludovic Courtès |
Subject: |
Re: Internal visibility |
Date: |
Wed, 11 Jun 2008 14:20:59 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Hi,
Thien-Thi Nguyen <address@hidden> writes:
> I think the encoding of a string (or buffer or "character" array
> (or subsequence thereof)) needs to be explicit;
RnRS doesn't specify any encoding. R5RS Section 6.3.5 just says
"Strings are sequences of characters." R6RS Section 1 goes further by
saying "Strings are finite sequences of characters with fixed length and
thus represent arbitrary Unicode texts." None of them refers to
"encoding".
> All these programs chose not to expose many conversion functions
> in the programming interface. Instead, they expose few functions,
> each with an encoding parameter. That is surely a cleaner design.
Yes, that's probably a good idea. At any rate, we only have
`scm_to_locale_string ()' currently so it's not too late to add a single
function with an encoding parameter in lieu of the proposed
`scm_to_{utf8,utf16,utf32,ucs4,...}_string ()'.
But first of all, one needs to implement Unicode support. ;-)
Thanks,
Ludovic.
- Re: Internal visibility, (continued)
- Re: Internal visibility, Ludovic Courtès, 2008/06/01
- Re: Internal visibility, Han-Wen Nienhuys, 2008/06/01
- Re: Internal visibility, Neil Jerram, 2008/06/09
- Re: Internal visibility, Han-Wen Nienhuys, 2008/06/09
- Re: Internal visibility, Ludovic Courtès, 2008/06/10
- Re: Internal visibility, Thien-Thi Nguyen, 2008/06/10
- Re: Internal visibility, Ludovic Courtès, 2008/06/10
- Re: Internal visibility, Thien-Thi Nguyen, 2008/06/11
- Re: Internal visibility,
Ludovic Courtès <=
- Re: Internal visibility, Mike Gran, 2008/06/12
- Re: Internal visibility, Ludovic Courtès, 2008/06/23
- Re: Internal visibility, Han-Wen Nienhuys, 2008/06/11
- Re: Internal visibility, Ludovic Courtès, 2008/06/11
- Re: Internal visibility, Clinton Ebadi, 2008/06/11
- Re: Internal visibility, Ludovic Courtès, 2008/06/11
- Re: Internal visibility, Han-Wen Nienhuys, 2008/06/14
- Re: Internal visibility, Ludovic Courtès, 2008/06/23
- Re: Internal visibility, Neil Jerram, 2008/06/11