On Sat, 2013-09-07 at 11:07 +0200, Andy Wingo wrote:
> On Mon 02 Sep 2013 10:48, Richard Shann writes:
>
> > On Thu, 2013-08-22 at 12:14 -0700, Mike Gran wrote:
> >> >> 2. In the inner_main of your scm_with_guile call,
> >>
> >> >> try calling scm_setlocale. Maybe something like this?
> >> >
On Mon 02 Sep 2013 10:48, Richard Shann writes:
> On Thu, 2013-08-22 at 12:14 -0700, Mike Gran wrote:
>> >> 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 d
() l...@gnu.org (Ludovic Courtès)
() Mon, 02 Sep 2013 22:01:03 +0200
pt_BR.utf8 is not a supported locale on your system.
Could the spelling be part of the problem? On my computer,
i see:
$ locale -a
C
C.UTF-8
POSIX
it_IT.utf8
but also note that:
$ printenv | grep LANG
LANG=it_IT.UT
Richard Shann
skribis:
> rshann@DebianBox:~/local/bin$ export LANG=pt_BR.utf8
> rshann@DebianBox:~/local/bin$ ./denemo
>
> (process:7073): Gtk-WARNING **: Locale not supported by C library.
> Using the fallback 'C' locale.
> Backtrace:
> In ice-9/boot-9.scm:
> 149: 2 [catch #t # ...]
> 1
On Thu, 2013-08-22 at 12:14 -0700, Mike Gran wrote:
> >> 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_setl
Hello,
Richard Shann skribis:
> GNU/Denemo has a number of guile scripts in which wide characters are
> embedded in strings. These used to work in guile 1.8 but with guile 2.0
> I am seeing the following error message trying to use a string with "
> "
> in it (if that string will get through th
>> 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_local
On Thu, 2013-08-22 at 11:45 -0700, Mike Gran wrote:
> Hi Richard-
>
>
> > scheme@(guile-user)> (string-append " " "hello")
>
> > $1 = " \ue176hello"
> > scheme@(guile-user)> (display " ")
> > scheme@(guile-user)> (display (string-append " "
> > "hello"))
> > helloscheme@(guile-us
Hi Richard-
> scheme@(guile-user)> (string-append " " "hello")
> $1 = " \ue176hello"
> scheme@(guile-user)> (display " ")
> scheme@(guile-user)> (display (string-append " "
> "hello"))
> helloscheme@(guile-user)>
> I notice that I do not have LC_ALL set in my environment.
>
> F
I have been doing some experiments with the guile interpreter
guile --version
guile (GNU Guile) 2.0.5-deb+1-3
and it seems to understand the wide characters, using the unicode e176
character with the string "hello" attached I get this:
scheme@(guile-user)> (string-append " " "hello")
$1 = "
Thank you for your reply. I didn't try altering anything in the program,
because this problem has arisen when changing from guile-1.8 to
guile-2.0 and so I am hoping it is an understood problem.
FWIW I see that the following code is executed at Denemo program startup
setlocale (LC_ALL, "");
bi
2013/8/22 Richard Shann
> GNU/Denemo has a number of guile scripts in which wide characters are
> embedded in strings. These used to work in guile 1.8 but with guile 2.0
> I am seeing the following error message trying to use a string with "
> "
> in it (if that string will get through the email
12 matches
Mail list logo