unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* displaying UTF8 characters in and out of a script (guile 2.0.5)
@ 2012-12-16 19:22 msematman
  2012-12-16 20:04 ` David Pirotte
  0 siblings, 1 reply; 7+ messages in thread
From: msematman @ 2012-12-16 19:22 UTC (permalink / raw)
  To: guile-user

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 output of UTF8 characters
in the case of the guile script.

In contrast, a similar bash script on my system (Debian Wheezy
GNU\Linux):

#!/bin/sh
echo "Ćićolina"

writes out the correct output. 

This indicates that there is probably nothing wrong with my locale
setting.

If anybody has any clue what actually went wrong , please let me know.

Cheers





-- 
  
  msematman@myopera.com



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-01-13 22:09 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-16 19:22 displaying UTF8 characters in and out of a script (guile 2.0.5) msematman
2012-12-16 20:04 ` David Pirotte
2012-12-16 20:31   ` Mark H Weaver
2012-12-17 12:18     ` msematman
2013-01-13 11:02     ` Andy Wingo
2013-01-13 18:12       ` Mark H Weaver
2013-01-13 22:09       ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).