locale
locale copied to clipboard
Boost.Locale
I'm using Ubuntu with full boost installation with ICU. The following code will always result in "Locale Name: *". It doesn't matter if it's a valid locale like "en_US.UTF-8", or...
We are having trouble building Boost.Locale for Conda forge (see https://github.com/conda-forge/boost-feedstock/pull/194) with `cxxstd=20` which is required for the Cobalt library, on osx (clang 16). I am not familiar with Locale,...
Boost 1.76 and 1.77 Boost.Locale doesn't create the static libraries (s, sd flavors) with build-type=complete on macOS (Mojave, Bug Sur, both arm & intel). I'm using boost.locale.icu=off boost.locale.iconv=on parameters and...
Currently there are defines like `BOOST_LOCALE_ENABLE_CHAR16_T` to enable `char16_t` and similar for others. I find that a bit... difficult. We have `BOOST_NO_CHAR16_T` and similar to detect the availability automatically. So...
Rebase of #65 onto develop with current changes incorporated. Hence closes #65 Contains the original commit(s) from @salvoilmiosi of #65 squashed and rebased onto develop to fix the conflicts. On...
#64 This PR attempts to fix the issue with the suggestion I've been making It removes the std::numpunct implementation and instead replaces it with a simple, custom class with a...
``` #include #include int main() { boost::generator gen; auto &facet = std::use_facet(gen("it_IT.UTF-8")); std::cout
I've just seen that the default flag for stream operations with locales generated by Boost.Locale is `posix`, i.e. "classic". This leads to the bug/inconsistency I've encountered at https://github.com/boostorg/locale/issues/64#issuecomment-873570242 Assume this:...
Trying to statically link Boost Locale with cmake returns an error. CMakeLists.txt ```cmake cmake_minimum_required(VERSION 3.16) project(main) #set(Boost_USE_STATIC_LIBS ON) find_package(Boost COMPONENTS locale REQUIRED) if(NOT Boost_FOUND) message(FATAL_ERROR "Some Boost libraries missing in...
During conversion between UTF encodings it might be desirable to replace invalid characters by a replacement character, e.g. `0xFFFD`. But the current methods only allow to skip or abort.