unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: msematman@myopera.com
To: guile-user@gnu.org
Subject: displaying UTF8 characters in and out of a script (guile 2.0.5)
Date: Sun, 16 Dec 2012 20:22:34 +0100	[thread overview]
Message-ID: <1355685754.7015.140661166743981.0F8ECFCA@webmail.messagingengine.com> (raw)

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



             reply	other threads:[~2012-12-16 19:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-16 19:22 msematman [this message]
2012-12-16 20:04 ` displaying UTF8 characters in and out of a script (guile 2.0.5) 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1355685754.7015.140661166743981.0F8ECFCA@webmail.messagingengine.com \
    --to=msematman@myopera.com \
    --cc=guile-user@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).