office-gobmx/i18npool
Stephan Bergmann 5d8f0fad50 Adapt CPPUNIT_ASSERT to C++20 deleted ostream << for sal_Unicode (aka char16_t)
<http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2019/p1423r3.html> "char8_t
backward compatibility remediation", as implemented now by <https://gcc.gnu.org/
git/?p=gcc.git;a=commit;h=0c5b35933e5b150df0ab487efb2f11ef5685f713> "libstdc++:
P1423R3 char8_t remediation (2/4)" for -std=c++2a, deletes operator << overloads
that would print an integer rather than a (presumably expected) character.

But for simplicity (and to avoid issues with non-printing characters), keep
printing an integer here.

Change-Id: I751b99ee32d418eb488131ffa130d6f7d6d38dc7
Reviewed-on: https://gerrit.libreoffice.org/84348
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-12-03 21:18:57 +01:00
..
inc remove some useless comment lines 2019-12-03 12:46:27 +01:00
qa/cppunit Adapt CPPUNIT_ASSERT to C++20 deleted ostream << for sal_Unicode (aka char16_t) 2019-12-03 21:18:57 +01:00
source remove some useless comment lines 2019-12-03 12:46:27 +01:00
util
CppunitTest_i18npool_test_breakiterator.mk
CppunitTest_i18npool_test_characterclassification.mk
CppunitTest_i18npool_test_ordinalsuffix.mk
CppunitTest_i18npool_test_textsearch.mk
CustomTarget_breakiterator.mk tdf#124536 android: fix breakiterator mismatch (separate data files for zh/ja) 2019-11-19 15:20:50 +01:00
CustomTarget_collator.mk
CustomTarget_indexentry.mk
CustomTarget_localedata.mk
CustomTarget_textconversion.mk
Executable_gencoll_rule.mk
Executable_genconv_dict.mk
Executable_gendict.mk tdf#124536 android: fix breakiterator mismatch (separate data files for zh/ja) 2019-11-19 15:20:50 +01:00
Executable_genindex_data.mk
Executable_saxparser.mk
IwyuFilter_i18npool.yaml
Library_collator_data.mk
Library_dict_ja.mk
Library_dict_zh.mk
Library_i18npool.mk
Library_i18nsearch.mk
Library_index_data.mk
Library_localedata_en.mk
Library_localedata_es.mk
Library_localedata_euro.mk
Library_localedata_others.mk
Library_textconv_dict.mk
Makefile
Module_i18npool.mk tdf#124536 android: fix breakiterator mismatch (separate data files for zh/ja) 2019-11-19 15:20:50 +01:00
Rdb_saxparser.mk
README

Internationalisation (i18npool) framework ensures that the suite is adaptable to the requirements of different
native languages, their local settings and customs, etc without source code modification. (Wow, that is such marketing-speak...)

Specifically for locale data documentation please see i18npool/source/localedata/data/locale.dtd

See also [http://wiki.documentfoundation.org/Category:I18n]

On iOS we put the largest data generated here, the dict_ja and dict_zh
stuff, into separate files and not into code to keep the size of an
app binary down. Temporary test code:

    static bool beenhere = false;
    if (!beenhere) {
        beenhere = true;
        uno::Reference< uno::XComponentContext > xComponentContext(::cppu::defaultBootstrap_InitialComponentContext());
        uno::Reference< lang::XMultiComponentFactory > xMultiComponentFactoryClient( xComponentContext->getServiceManager() );
        uno::Reference< uno::XInterface > xInterface =
            xMultiComponentFactoryClient->createInstanceWithContext( "com.sun.star.i18n.BreakIterator_ja", xComponentContext );
    }