guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: string-ports issue on Windows


From: Mark H Weaver
Subject: Re: string-ports issue on Windows
Date: Thu, 18 Apr 2019 15:29:32 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

Hi Christopher,

Christopher Lam <address@hidden> writes:

> Hi Mark
> Thank you so much for looking into this.
> I'm reviewing the GnuCash for Windows package (v3.5 released April 2019)
> which contains the following libraries:
> - guile 2.0.14

Ah, for some reason I thought you were using Guile 2.2.  That explains
the problem.

In Guile 2.0, string ports internally used the locale encoding by
default, which meant that any characters not supported by the locale
encoding would be munged.

Guile 2.2 changed the behavior of string ports to always use UTF-8
internally, which ensures that all valid Guile strings can pass through
unmunged.

So, this problem would almost certainly be fixed by updating to
Guile 2.2.

       Mark



reply via email to

[Prev in Thread] Current Thread [Next in Thread]