Andy Wingo skribis:
> On Sun 16 Dec 2012 21:31, Mark H Weaver writes:
>
>> Also, since your script contains non-ASCII characters, you should place
>> a coding declaration in the file so that Guile will know what encoding
>> to use when reading it. If your script is in UTF-8, then put this in
>>
Andy Wingo writes:
> On Sun 16 Dec 2012 21:31, Mark H Weaver writes:
>
>> Also, since your script contains non-ASCII characters, you should place
>> a coding declaration in the file so that Guile will know what encoding
>> to use when reading it. If your script is in UTF-8, then put this in
>>
On Sun 16 Dec 2012 21:31, Mark H Weaver writes:
> Also, since your script contains non-ASCII characters, you should place
> a coding declaration in the file so that Guile will know what encoding
> to use when reading it. If your script is in UTF-8, then put this in
> the first 500 characters of
On Sun, Dec 16, 2012, at 09:31 PM, Mark H Weaver wrote:
> David Pirotte writes:
>
> >> However, the same command in a script:
> >>
> >> #!/usr/bin/guile \
> >> -s
> >> #!
> >> (display "Ćićolina")
> >>
> >> writes this out: ?i?olina
> >
> > you need to set the port encoding first [for further
David Pirotte writes:
>> However, the same command in a script:
>>
>> #!/usr/bin/guile \
>> -s
>> #!
>> (display "Ćićolina")
>>
>> writes this out: ?i?olina
>
> you need to set the port encoding first [for further info see section '6.14.1
> Ports'
> of the manual]:
Unfortunately that is only
Hello,
> However, the same command in a script:
>
> #!/usr/bin/guile \
> -s
> #!
> (display "Ćićolina")
>
> writes this out: ?i?olina
you need to set the port encoding first [for further info see section '6.14.1
Ports'
of the manual]:
#!/bin/sh
# -*- mode: scheme; coding: utf
Dear all,
(display "Ćićolina") from the interactive session with the guile
interpreter correctly writes
Ćićolina to the standard output.
However, the same command in a script:
#!/usr/bin/guile \
-s
#!
(display "Ćićolina")
writes this out: ?i?olina
Obviously, there is something wrong with the o