Files
AnamayNarkar 5936fab3e6 tdf#106137 i18nutil: Add helper to process Unicode escapes
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>
2026-03-03 07:19:32 +01:00

21 lines
509 B
Makefile

#
# 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_Module_Module,i18nutil))
$(eval $(call gb_Module_add_targets,i18nutil,\
Library_i18nutil \
))
$(eval $(call gb_Module_add_check_targets,i18nutil,\
CppunitTest_i18nutil \
CppunitTest_i18nutil_unicodeescape \
))
# vim: set noet sw=4: