boost: use utf-8 encoding for unknown locales.
commitfecc5c6f3891324ffbed2e0c8f94dad9b824d860
authorMichael Meeks <michael.meeks@collabora.com>
Thu, 17 Feb 2022 22:44:25 +0000 (17 22:44 +0000)
committerAndras Timar <andras.timar@collabora.com>
Fri, 18 Feb 2022 22:07:21 +0000 (18 23:07 +0100)
tree709ac57a8f4c63fdd2a5ac12e4fa3c773c352958
parent8dbd94b017a7a6935d5a6f1eeff847d7e852e08a
boost: use utf-8 encoding for unknown locales.

More exotic locales like es-419 cannot be parsed by boost, so we
fall-back to the default encoding. This avoids an exception:
invalid_charset_error of the form:

"Invalid or unsupported charset:us-ascii or UTF-8"

for this case.

Change-Id: I6796dd893ec774b221956ea9febbcc19495d47b5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130102
Tested-by: Jenkins
Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/130146
Reviewed-by: Andras Timar <andras.timar@collabora.com>
external/boost/UnpackedTarball_boost.mk
external/boost/boost.fallback.encoding.patch [new file with mode: 0644]