Adds a new utility function processUnicodeEscapes() to i18nutil. This supports parsing: * Standard escapes: \uhhhh (e.g. \u0041) * Extended escapes: \Uhhhhhhhh (e.g. \U0001F600) * Escaped backslashes: \\ Change-Id: I589eb2403376c8cef694f52f1c785d42fba94ff9 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/198777 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
26 lines
748 B
Makefile
26 lines
748 B
Makefile
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
|
|
#
|
|
# This file is part of the LibreOffice project.
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
#
|
|
|
|
$(eval $(call gb_CppunitTest_CppunitTest,i18nutil_unicodeescape))
|
|
|
|
$(eval $(call gb_CppunitTest_use_external,i18nutil_unicodeescape,boost_headers))
|
|
|
|
$(eval $(call gb_CppunitTest_add_exception_objects,i18nutil_unicodeescape, \
|
|
i18nutil/qa/cppunit/test_unicodeescape \
|
|
))
|
|
|
|
$(eval $(call gb_CppunitTest_use_libraries,i18nutil_unicodeescape, \
|
|
cppu \
|
|
cppuhelper \
|
|
i18nutil \
|
|
sal \
|
|
))
|
|
|
|
# vim: set noet sw=4 ts=4:
|