guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wide strings


From: Andy Wingo
Subject: Re: Wide strings
Date: Tue, 27 Jan 2009 10:50:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

On Tue 27 Jan 2009 06:52, Mike Gran <address@hidden> writes:

> I said
>
>> (Though, such a scheme would force scm_take_locale_string to become
>> scm_take_iso88591_string.)
>
> which is incorrect.  Under the proposed scheme, scm_take_locale_string 
> would only be able to  use that storage directly if it happened to be 
> ASCII or 8859-1.

Perhaps as part of this, we should add
scm_{from,take}_{ascii,iso88591,ucs32}_string. This would help greatly
when you know the format of data that you're writing to object code or
in C, but you don't know the locale of the user.

Andy

ps. Good luck! Having this problem looked at, with an eye to solutions,
makes me very happy :-))
-- 
http://wingolog.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]