GNU bug report logs - #25397
guile-2.2 regression in utf8 support in scm_puts scm_lfwrite scm_c_put_string

Previous Next

Package: guile;

Reported by: linasvepstas <at> gmail.com

Date: Sun, 8 Jan 2017 18:17:01 UTC

Severity: normal

Full log


Message #8 received at 25397 <at> debbugs.gnu.org (full text, mbox):

From: Andy Wingo <wingo <at> pobox.com>
To: Linas Vepstas <linasvepstas <at> gmail.com>
Cc: 25397 <at> debbugs.gnu.org
Subject: Re: bug#25397: guile-2.2 regression in utf8 support in scm_puts
 scm_lfwrite scm_c_put_string
Date: Mon, 09 Jan 2017 23:03:27 +0100
On Sun 08 Jan 2017 19:16, Linas Vepstas <linasvepstas <at> gmail.com> writes:

> There appears to be a regression in guile-2.2 with utf8 handling
> in the scm_puts() scm_lfwrite() and scm_c_put_string() functions.
>
> In guile-2.0, one could give these utf8-encoded strings, and these
> would display just fine.  In 2.2 they get mangled.

Could it be this from NEWS:

  ** Better locale support in Guile scripts

  When Guile is invoked directly, either from the command line or via a
  hash-bang line (e.g. "#!/usr/bin/guile"), it now installs the current
  locale via a call to `(setlocale LC_ALL "")'.  For users with a unicode
  locale, this makes all ports unicode-capable by default, without the
  need to call `setlocale' in your program.  This behavior may be
  controlled via the GUILE_INSTALL_LOCALE environment variable; see the
  manual for more.




This bug report was last modified 8 years and 106 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.