10 декабря 2008 г. 1:17 пользователь Neil Jerram
<[EMAIL PROTECTED]>написал:
> 2008/12/8 Stanislav Ievlev <[EMAIL PROTECTED]>:
> >
> > I think this is a bug, because different symbols has different external
> > representation ;)
>
> Not sure I'm understanding you. Clearly lack of Unicode/UTF-8
2008/12/8 Stanislav Ievlev <[EMAIL PROTECTED]>:
> Greetings!
>
> Why results of (display) and (write) functions on same utf-8 string are too
> different?
Because Guile knows nothing at all about UTF-8, I'm afraid. To the
extent that anything works at all with UTF-8 strings, that's just
luck.
(Fo
This is a guile 1.8.5
2008/12/8 Stanislav Ievlev <[EMAIL PROTECTED]>
>
>
> 2008/12/8 Stanislav Ievlev <[EMAIL PROTECTED]>
>
>> Greetings!
>>
>> Why results of (display) and (write) functions on same utf-8 string are
>> too different?
>
> It's very strange that one symbols ('о' - russian 'o') I s
2008/12/8 Stanislav Ievlev <[EMAIL PROTECTED]>
> Greetings!
>
> Why results of (display) and (write) functions on same utf-8 string are too
> different?
It's very strange that one symbols ('о' - russian 'o') I see without
changes, but others ('с' - russian 's') in quoted form.
>
>
> --
> $ gui
Greetings!
Why results of (display) and (write) functions on same utf-8 string are too
different?
--
$ guile
guile> (define a "строка")
guile> (display a)
строкаguile> (write a)
"�x81�x82�x80ока"guile>
--
--
With best regards
Stanislav Ievlev.