All auto-generated files are created by running ./build-aux/bootstrap
with Gnulib as at commit a7967a2cf0998b6c157c7cf8e1d8d9d11dab30b0 (with a
date stamp of Thu Mar 15 08:46:29 2012 -0700), Autoconf 2.68, Automake
1.11.3 and Gettext 0.18.1.1.
In particular, bankruptcy affects both players and companies, and the
strings may need to be translated differently. Also update PO files
appropriately.
Firstly, Ncurses addchstr() and family do not work, it seems, with
multibyte strings, so use addch() instead. Secondly, PRINTABLE_MAP_VAL
returns a wchar_t wide character, not a byte-sized char.
The %lc format is actually of type wint_t, according to printf(3), not
wchar_t, even though these are of the same underlying type on most (all?)
platforms.
The auto-generated files are created by running ./build-aux/bootstrap
with Gnulib as at commit 84b1687bd51d4d47773a434ec12812292c4c0942 (with a
date stamp of Thu Aug 25 15:24:28 2011 -0700), Autoconf 2.68, Automake
1.11.1 and Gettext 0.18.1.1.
In particular, the various printf-posix modules are not needed as %ls and
the ' flag (thousands separator) is supported on all modern platforms (it
is needed on Cygwin 1.5.x, for example, but the 1.5.x series do not
support swprintf() anyway). Similarly, OpenBSD 3.8 (released November
2005) is not supported: it does not have <monetary.h>. A number of
modules (locale, string, unistd, wchar) are only required for NetBSD 5.0
(c. 2009: quite recent). We try to support MacOS X 10.5 (October 2007),
but it may require GNU libiconv.
Wide-char character constants is not strictly needed for most (all?)
modern C compilers, as ASCII maps to wchar_t directly (as long as
__STDC_ISO_10646__ is defined). However, it doesn't hurt to be pedantic!
Move the keycode_company, printable_map_val, chtype_map_val,
keycode_game_move, printable_game_move and chtype_game_move global
variables to intf.c and intf.h.
Convert all input routines, and most internal strings, to use
wide-character functions. All extended characters are supported,
including those having column widths of zero (eg, combining characters),
one (eg, normal Western characters) and two (eg, many East Asian
characters). This was quite a major undertaking!