[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: |
Tue, 10 Jun 2008 14:09:33 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
Hi,
Thien-Thi Nguyen <address@hidden> writes:
> Unfortunately, that position doesn't provide a clean path
> towards an encoding-knowledgable API.
Perhaps I shouldn't have qualified the API as "encoding-oblivious".
What I really meant is that the API should not expose the *internal*
string representation. But of course, it should allow the user to
transfer a Scheme string to a C string with a given representation.
Currently, Guile only supports `scm_to_locale_string ()', which means
the returned C string is encoded in the current locale's encoding.
Eventually, new functions may be added: `scm_to_utf8_string ()', etc.
This was Marius' original plan [0], and I think it remains valid.
Thanks,
Ludovic.
[0] http://thread.gmane.org/gmane.lisp.guile.devel/3588
- Re: Internal visibility, Neil Jerram, 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 <=
- Re: Internal visibility, Thien-Thi Nguyen, 2008/06/11
- Re: Internal visibility, Ludovic Courtès, 2008/06/11
- 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