From f118ad25a9cdfdd6ed96922f27dc59c2f42ccb7e Mon Sep 17 00:00:00 2001 From: John Zaitseff Date: Tue, 19 Jan 2021 15:18:36 +1100 Subject: [PATCH] Document known bugs in NetBSD --- INSTALL | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/INSTALL b/INSTALL index 0ad14d1..0ae6151 100644 --- a/INSTALL +++ b/INSTALL @@ -254,6 +254,16 @@ Cygwin 3.1.7 (Win7 SP1) i686 GNU C Compiler 10.2.0 ./configure LDFLAGS=-L/usr/pkg/lib + Note that current versions of NetBSD have a known bug in their + :code:`strfmon()` function: if the locale is not ``C`` or ``C.UTF-8``, + amounts may be displayed incorrectly. For example, under the + ``en_US.UTF-8`` locale, an amount of $6000 is displayed as + ``$6,000.0,000.00`` instead of ``$6,000.00``. + + If the current locale is ``C``, game loads and saves may fail with the + error message ``trader: iconv_open: Invalid argument``. The + ``C.UTF-8`` locale works correctly. + .. [#macos1] macOS with Xcode command line tools, with the ``gettext`` package installed with Homebrew, using::