guile-user
[Top][All Lists]
Advanced

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

Re: unicode support


From: Mark H Weaver
Subject: Re: unicode support
Date: Mon, 31 Mar 2014 17:41:24 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux)

Игорь Гайсин <address@hidden> writes:

> Hi, dmitriy. Try to add this line to head your scripts
>
> (setlocale LC_ALL "")
> (set-port-encoding! (current-input-port) "utf-8")
> (set-port-encoding! (current-output-port) "utf-8")

The 'setlocale' call is indeed important.

The next two lines shouldn't be needed, and would cause breakage on
non-utf8 locales.

     Regards,
       Mark


> Dima <address@hidden> writes:
>
>> Hi.
>>    Did something change from guile 1.8.x to 2.0 with regards to unicode 
>> support.
>>
>> I have a script that has strings written on russian without much care, and 
>> it does not work on 2.0.
>>
>> I want to make sure whether there are changes in guile or something else.
>>
>> Thanks, regards,
>>   Dima.



reply via email to

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