[Nix-dev] Re: Compiling Nix code

Ludovic Courtès ludo at gnu.org
Thu Feb 25 15:46:24 CET 2010


Hi,

Michael Raskin <7c6f434c at mail.ru> writes:

> Unicode-capable? Please make Unicode-capable version of Guile the
> default in Nixpkgs. (string-length "я") -> 2.

It works for me:

--8<---------------cut here---------------start------------->8---
scheme@(guile-user)> (setlocale LC_ALL "")
$3 = "LC_CTYPE=en_US.UTF-8;LC_NUMERIC=en_US.UTF-8;LC_TIME=en_US.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=en_US.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=fr_FR.UTF-8;LC_NAME=en_US.UTF-8;LC_ADDRESS=en_US.UTF-8;LC_TELEPHONE=en_US.UTF-8;LC_MEASUREMENT=en_US.UTF-8;LC_IDENTIFICATION=en_US.UTF-8"
scheme@(guile-user)> (string-length "я")
$4 = 1
--8<---------------cut here---------------end--------------->8---

Please direct bug reports to ‘bug-guile at gnu.org’ and gratuitous bashing
to /dev/null.

Thanks,
Ludo’.




More information about the nix-dev mailing list