Hello,
On 11/16/12 13:23, Mark H Weaver wrote:OK, so I tried latin1, too. (replacing scm_from_utf3_string with
>> Actually, it was scm_from_utf8_string, since GUILE_VERSION was 200005
>
> Okay, that's the problem. You told Guile that the C string was encoded
> in UTF-8, but actually it was encoded in Latin-1:
scm_from_latin1_string). That also does not work. It replaced the
0xA9 character with '?'.
What it all boils down to is that
I am looking for string handling functions that will handle the
NUL terminated list of bytes and keep its nose out of the contents
of the string. Period. Full stop.