[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: other unicode things to think about
From: |
Ludovic Courtès |
Subject: |
Re: other unicode things to think about |
Date: |
Thu, 29 Jan 2009 20:02:59 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.3 (gnu/linux) |
Hello,
Andy Wingo <address@hidden> writes:
> Just a random thought: we'll have to deal with unicode ports, and the
> byte-order-mark, and read-char consuming more than a byte. But perhaps
> that work can come after Guile actually supports UTF-32 internally. R6RS
> is probably a good guide in this regard, cleanly distinguishing bytes
> from characters, and specifying the codecs for ports.
Yes, definitely. The `(rnrs io ports)' R6RS library has the notion of
"codecs", so it may be that we should just follow this design.
However, it will probably be hard to provided a compatibility wrapper
for our current port "API" such that existing third-party port
implementations can be recompiled without any change.
Thanks,
Ludo'.