* Re: [Guile-commits] GNU Guile branch, master, updated. release_1-9-4-55-gb158c2c
[not found] <E1N38fn-00058F-8J@cvs.savannah.gnu.org>
@ 2009-10-28 13:45 ` Ludovic Courtès
0 siblings, 0 replies; only message in thread
From: Ludovic Courtès @ 2009-10-28 13:45 UTC (permalink / raw)
To: Michael Gran; +Cc: guile-devel
Hello!
"Michael Gran" <spk121@yahoo.com> writes:
> commit 3a5bc4fadac5b1574f081e7ecd3a043cbd395794
> Author: Michael Gran <spk121@yahoo.com>
> 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’.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-10-28 13:45 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <E1N38fn-00058F-8J@cvs.savannah.gnu.org>
2009-10-28 13:45 ` [Guile-commits] GNU Guile branch, master, updated. release_1-9-4-55-gb158c2c Ludovic Courtès
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).