gnucash/libgnucash
John Ralls b4fedff90e Provide a single static instance of C++ locale.
We can't use std::locale::global because all streams imbue it by
default and if it's not 'C' (aka std::locale::classic) then we
must imbue all the streams that we don't want localized, and that's
most of them.

Provides error checking for setting the C++ locale from the environment.
This is necessary both because the environment might have an invalid
locale, which would cause an unhandled exception crash.

On windows std::locale("") can't handle some Microsoft-style locale
strings (e.g. Spanish_Spain) so we use boost::locale's gen("") function
to set the locale--though even that can't handle a Microsoft-style
locale string with an appended charset (e.g. Spanish_Spain.1252) and
that's what glibc's setlocale(LC_ALL, NULL) emits.
2019-01-06 10:13:01 -08:00
..
app-utils [income-gst-statement] rename options 2018-12-29 04:03:45 +01:00
backend Implement a faster date-time serialization function. 2019-01-04 16:34:33 -08:00
core-utils Provide a single static instance of C++ locale. 2019-01-06 10:13:01 -08:00
doc Bug 796820 - References to 'Gnome Bugzilla' should be changed to 'GnuCash Bugzilla' 2018-09-28 15:00:43 +02:00
engine Provide a single static instance of C++ locale. 2019-01-06 10:13:01 -08:00
gnc-module Lowercase cmake commands 2018-05-03 23:18:15 +02:00
quotes Lowercase cmake commands 2018-05-03 23:18:15 +02:00
scm Bug 794617 - Can't compile with -DWITH_GNUCASH=NO due to scm-gnome-utils 2018-06-07 14:17:49 -07:00
tax Lowercase cmake commands 2018-05-03 23:18:15 +02:00
CMakeLists.txt Lowercase cmake commands 2018-05-03 23:18:15 +02:00