guile-user
[Top][All Lists]
Advanced

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

Re: unicode support


From: Ludovic Courtès
Subject: Re: unicode support
Date: Mon, 31 Mar 2014 14:36:23 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Игорь Гайсин <address@hidden> 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 via email to

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