unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: guile-user@gnu.org
Subject: Re: unicode support
Date: Mon, 31 Mar 2014 14:36:23 +0200	[thread overview]
Message-ID: <87d2h2h7eg.fsf@gnu.org> (raw)
In-Reply-To: 87fvly230x.fsf@WS-IT-19-15.tts.loc

Игорь Гайсин <igor.gajsin@tts.tv> skribis:

> Hi, dmitriy. Try to add this line to head your scripts
>
> (setlocale LC_ALL "")
> (set-port-encoding! (current-input-port) "utf-8")
> (set-port-encoding! (current-output-port) "utf-8")

Also, note that by default the source file is expected to be
UTF-8-encoded.

You can use a different encoding, but then the file needs to contain a
‘coding:’ cookie (info "(guile) Character Encoding of Source Files").

Ludo’.




  reply	other threads:[~2014-03-31 12:36 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-31  5:18 unicode support Dima
2014-03-31  8:19 ` support Игорь Гайсин
2014-03-31 12:36   ` Ludovic Courtès [this message]
2014-03-31 21:41   ` unicode support Mark H Weaver
2014-04-02  7:48     ` Nala Ginrut

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=87d2h2h7eg.fsf@gnu.org \
    --to=ludo@gnu.org \
    --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).