[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with wide characters on upgrading to guile 2.x
From: |
Mike Gran |
Subject: |
Re: Problem with wide characters on upgrading to guile 2.x |
Date: |
Thu, 22 Aug 2013 12:14:02 -0700 (PDT) |
>> 2. In the inner_main of your scm_with_guile call,
>> try calling scm_setlocale. Maybe something like this?
>> (This shouldn't make a difference, I think.
>> But, if it does, it says something interesting.)
>>
>> scm_setlocale( scm_variable_ref(scm_c_lookup("LC_ALL")),
> scm_from_locale_string("") );
>
>> If that actually works, lemme know.
>
> I just pasted the above into the start of inner_main() and like magic,
> it has fixed the problem. Is this call ok for guile-1.8 linking too?
I'm not 100% sure, but, I think so.
-Mike
Re: Problem with wide characters on upgrading to guile 2.x, Ludovic Courtès, 2013/08/23