Игорь Гайсин <[email protected]> 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