From 667230810b2ef95b6e8ee0b33ff1cdb61cc3ca21 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 24 Jan 2011 23:37:46 +0100 Subject: [PATCH] Install the current locale when starting the REPL. * module/ice-9/top-repl.scm (top-repl): Install the current locale. --- module/ice-9/top-repl.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/module/ice-9/top-repl.scm b/module/ice-9/top-repl.scm index c5039f534..291d9e538 100644 --- a/module/ice-9/top-repl.scm +++ b/module/ice-9/top-repl.scm @@ -1,7 +1,7 @@ ;;; -*- mode: scheme; coding: utf-8; -*- -;;;; Copyright (C) 1995,1996,1997,1998,1999,2000,2001,2002,2003,2004,2005,2006,2007,2008,2009,2010 -;;;; Free Software Foundation, Inc. +;;;; Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, +;;;; 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. ;;;; ;;;; This library is free software; you can redistribute it and/or ;;;; modify it under the terms of the GNU Lesser General Public @@ -64,6 +64,8 @@ (call-with-sigint (lambda () + (and (defined? 'setlocale) + (setlocale LC_ALL "")) (let ((status (start-repl 'scheme))) (run-hook exit-hook) status)))))