[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] utf8 egg and byte-* procedures
From: |
Peter Bex |
Subject: |
Re: [Chicken-users] utf8 egg and byte-* procedures |
Date: |
Thu, 25 Mar 2010 23:35:45 +0100 |
User-agent: |
Mutt/1.4.2.3i |
On Thu, Mar 25, 2010 at 06:56:18PM -0300, Jeronimo Pellegrini wrote:
>
> Anyway, I tried what you suggested but it didn't work:
>
> #;1> (import utf8)
> #;4> (string-length "áé")
>
> Error: unbound variable: utf8#string-length
>
> Call history:
>
> <syntax> (string-length "áé")
> <eval> (string-length "áé") <--
>
> Not sure what todo...
It looks like you loaded the import library for utf8 but forgot to
load the actual library containing the code for utf8.
Try putting (require-library utf8) before (import utf8) or replacing it
with (use utf8)
Cheers,
Peter
--
http://sjamaan.ath.cx
--
"The process of preparing programs for a digital computer
is especially attractive, not only because it can be economically
and scientifically rewarding, but also because it can be an aesthetic
experience much like composing poetry or music."
-- Donald Knuth