From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.user Subject: Re: displaying UTF8 characters in and out of a script (guile 2.0.5) Date: Sun, 13 Jan 2013 23:09:27 +0100 Message-ID: <87fw24razs.fsf@gnu.org> References: <1355685754.7015.140661166743981.0F8ECFCA@webmail.messagingengine.com> <20121216180452.0820b094@capac> <871uep4u3s.fsf@tines.lan> <87vcb1uz0l.fsf@pobox.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1358147490 9875 80.91.229.3 (14 Jan 2013 07:11:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Jan 2013 07:11:30 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Mon Jan 14 08:11:48 2013 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TueCv-0006T3-KW for guile-user@m.gmane.org; Mon, 14 Jan 2013 08:11:45 +0100 Original-Received: from localhost ([::1]:38112 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TueCf-0001Uz-Bj for guile-user@m.gmane.org; Mon, 14 Jan 2013 02:11:29 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:45397) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TuVkU-0006TA-9z for guile-user@gnu.org; Sun, 13 Jan 2013 17:09:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TuVkK-0005nO-Tc for guile-user@gnu.org; Sun, 13 Jan 2013 17:09:50 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:59161) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TuVkK-0005nI-N7 for guile-user@gnu.org; Sun, 13 Jan 2013 17:09:40 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TuVkX-0003Qg-8h for guile-user@gnu.org; Sun, 13 Jan 2013 23:09:53 +0100 Original-Received: from reverse-83.fdn.fr ([80.67.176.83]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Jan 2013 23:09:53 +0100 Original-Received: from ludo by reverse-83.fdn.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 13 Jan 2013 23:09:53 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 21 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: reverse-83.fdn.fr X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 24 =?utf-8?Q?Niv=C3=B4se?= an 221 de la =?utf-8?Q?R?= =?utf-8?Q?=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) Cancel-Lock: sha1:YIkqBsQBPFtCNTaKLtOT/vNX5ZY= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-Mailman-Approved-At: Mon, 14 Jan 2013 02:11:25 -0500 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:9853 Archived-At: 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 >> the first 500 characters of the file: >> >> ;;; coding: utf-8 > > I think the default is utf-8 now, correct? Yes. I just noticed that it’s only stealthily mentioned under “Compilation”: Each FILE is assumed to be UTF-8-encoded, unless it contains a coding declaration as recognized by `file-encoding' (*note Character Encoding of Source Files::). Ludo’.