[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: UTF-8 regression in guile 1.9.5
From: |
Linas Vepstas |
Subject: |
Re: UTF-8 regression in guile 1.9.5 |
Date: |
Sun, 6 Dec 2009 13:33:25 -0600 |
2009/12/6 Mike Gran <address@hidden>:
>> From: Linas Vepstas <address@hidden>
>
>
>> Then, from the guile prompt, I can evaluate the following:
>>
>> (new-node "てみました。")
>>
>> and get the output "The name is てみました。"
>>
>>
>> However, in guile-1.9.5, the above gives me:
>>
>> "The name is ã¦ã¿ã¾ããã"
>
> Hmm. The "ã" is a dead giveaway that you are printing a UTF-8 string
> that is being interpreted as a ISO-8859-1 string.
>
> You've already said that you're in a UTF-8 locale. It could be that you
> need to call (setlocale LC_ALL "")
That cured it.
> as well as having a setlocale call in your program.
Doesn't seem to be required, after the above.
Thanks!
Why this happened is strange; I'm now investigating. Sorry to
have bothered you with something that is dohh .. basic.
--linas
- UTF-8 regression in guile 1.9.5, Linas Vepstas, 2009/12/06
- Re: UTF-8 regression in guile 1.9.5, Mike Gran, 2009/12/06
- Re: UTF-8 regression in guile 1.9.5,
Linas Vepstas <=
- Re: UTF-8 regression in guile 1.9.5, Mike Gran, 2009/12/06
- Re: UTF-8 regression in guile 1.9.5, Linas Vepstas, 2009/12/06
- Re: UTF-8 regression in guile 1.9.5, Andy Wingo, 2009/12/11
- Re: UTF-8 regression in guile 1.9.5, Mike Gran, 2009/12/11
- Re: UTF-8 regression in guile 1.9.5, Linas Vepstas, 2009/12/11
- Re: UTF-8 regression in guile 1.9.5, Ludovic Courtès, 2009/12/11