[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: charset conversion
From: |
William Xu |
Subject: |
Re: charset conversion |
Date: |
Fri, 10 Feb 2006 15:32:44 +0800 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
Kevin Ryde <address@hidden> writes:
> William Xu <address@hidden> writes:
>>
>> Does guile support charset conversion? e.g., Display a string using
>> my-charset coding system,
>
> The short answer is no. Strings are just byte sequences, which is ok
> if your input and output codings are the same, but needs an add-on if
> you have to convert.
Does guile provide this "add-on" ?
> I did some bits for my charting program, converting to and from utf8
> using the libc iconv() stuff (plus some ascii-only fallbacks). You
> could also run the iconv command-line program from within guile if you
> don't want C code, and only have a few bits to convert.
Hmm, yeah, a scheme wrapper around iconv() works okay. Thanks.
--
William