[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Guile-commits] GNU Guile branch, master, updated. release_1-9-4-55-
From: |
Ludovic Courtès |
Subject: |
Re: [Guile-commits] GNU Guile branch, master, updated. release_1-9-4-55-gb158c2c |
Date: |
Wed, 28 Oct 2009 14:45:21 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) |
Hello!
"Michael Gran" <address@hidden> writes:
> commit 3a5bc4fadac5b1574f081e7ecd3a043cbd395794
> Author: Michael Gran <address@hidden>
> Date: Wed Oct 28 06:24:23 2009 -0700
>
> Modify bytevectors/string conversions to allow wide strings
>
> The bytevector to string conversion functions were accomplished
> by converting via locale strings. This did not allow conversions
> of wide strings in an 8-bit locale. This is avoided by using knowledge
> of the storage format of the string.
>
> * libguile/bytevectors.c (STRING_TO_UTF, scm_string_to_utf8): modify
> string to bytevector conversion to use internal string information
> (UTF_TO_STRING, scm_utf8_to_string): modify bytevector to string
> conversion
Excellent, thanks! Could you add a couple of tests for this one (say,
one or two with a narrow string, and one or two with a wide string)?
Ludo’.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [Guile-commits] GNU Guile branch, master, updated. release_1-9-4-55-gb158c2c,
Ludovic Courtès <=