Re: displaying UTF8 characters in and out of a script (guile 2.0.5)

2013-01-13 Thread Ludovic Courtès
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 >>

Re: displaying UTF8 characters in and out of a script (guile 2.0.5)

2013-01-13 Thread Mark H Weaver
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 >>

Re: displaying UTF8 characters in and out of a script (guile 2.0.5)

2013-01-13 Thread Andy Wingo
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

Re: displaying UTF8 characters in and out of a script (guile 2.0.5)

2012-12-17 Thread msematman
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

Re: displaying UTF8 characters in and out of a script (guile 2.0.5)

2012-12-16 Thread Mark H Weaver
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

Re: displaying UTF8 characters in and out of a script (guile 2.0.5)

2012-12-16 Thread David Pirotte
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

displaying UTF8 characters in and out of a script (guile 2.0.5)

2012-12-16 Thread msematman
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