chicken-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-users] UTF-8 support


From: felix winkelmann
Subject: Re: [Chicken-users] UTF-8 support
Date: Thu, 13 Dec 2007 14:39:09 +0100

On Dec 13, 2007 1:46 PM, Tobia Conforto <address@hidden> wrote:
>
> For example, the following fails without the directives and succeeds
> with them, at least in a UTF-8 terminal / source code file:
>
>         (string=? "à" (string (integer->char 224)))
>
> Question: is this the recommended approach?

I'd say so. Thre where (still are?) some plans to make it more
easy to use, but the author of the utf8 egg has to comment on
that.

>
> Suggestion: this is all probably quite obvious to Chicken veterans, but
> it took a bit to discover, or to "stumble upon".  Could it be made a bit
> more prominent, for example by placing in the FAQ?

Good idea. You could help us by adding an entry to the FAQ yourself.

>
> Also, does anybody know whether and how is the 4th parameter of (regexp)
> to be used?

AFAIK, if the 4th parameter is true, then the regexp is treated as being
UTF8 encoded.


cheers,
felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]