Hi, Michael Raskin <[email protected]> writes:
> On 02/25/2010 05:46 PM, Ludovic Courtès wrote: >>> 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 ‘[email protected]’ and gratuitous bashing >> to /dev/null. > > So I have to explicitly set locale inside Guile for it to take the > locale from environment? Yes, like in C on POSIX systems. Thanks, Ludo’. _______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
