guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Ludovic Courtès
Subject: Re: displaying UTF8 characters in and out of a script (guile 2.0.5)
Date: Sun, 13 Jan 2013 23:09:27 +0100
User-agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux)

Andy Wingo <address@hidden> skribis:

> On Sun 16 Dec 2012 21:31, Mark H Weaver <address@hidden> 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’.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]