Subject: Re: bug#10742: It's creativity demanding to find a good title

From: [email-masked] (Ludovic Courtès)
Date: Fri, 17 Feb 2012 23:18:24 +0100

Hi Alírio,

And thanks for your perseverance!  :-)

Alírio Eyng <[email-masked]> skribis:

> bash-4.1# meta/guile
> encoding: `en_US'
> Backtrace:
> In ice-9/boot-9.scm:
>  149: 2 [catch #t #<catch-closure 81d8580> ...]
>  157: 1 [#<procedure 80c92a8 ()>]
> In unknown file:
>    ?: 0 [catch-closure]
>
> ERROR: In procedure catch-closure:
> ERROR: Throw to key `decoding-error' with args `("scm_from_stringn"
> "input locale conversion error" 22 #vu8(47 114 111 111 116 47 97 47
> 122 47 103 117 105 108 101 47 108 105 98 103 117 105 108 101 47 46 108
> 105 98 115 47 108 116 45 103 117 105 108 101))'.

I’ve finally reproduced the bug:

--8<---------------cut here---------------start------------->8---
$ LC_ALL=en_US ./meta/guile
Backtrace:
In ice-9/boot-9.scm:
 149: 2 [catch #t #<catch-closure f15920> ...]
 157: 1 [#<procedure eb10f0 ()>]
In unknown file:
   ?: 0 [catch-closure]

ERROR: In procedure catch-closure:
ERROR: Throw to key `decoding-error' with args `("scm_from_stringn" "input locale conversion error" 22 #vu8(47 104 111 109 101 47 108 117 100 111 47 115 114 99 47 103 117 105 108 101 47 108 105 98 103 117 105 108 101 47 46 108 105 98 115 47 103 117 105 108 101))'.
--8<---------------cut here---------------end--------------->8---

I’ll work on a fix.

In the meantime, a workaround it to use a locale name that includes the
encoding, such as ‘en_US.UTF-8’.

Thanks!

Ludo’.