5aee16cf09
It is wrong to iterate over UTF-16 code units one by one. We have OUString::iterateCodePoints() to iterate over Unicode code points. The two UTF-16 code units of a surrogate pair (for a non-BMP code point) should not be encoded separately to UTF-8 bytes. It is the code point that should be encoded (to four bytes). Change-Id: Ica4341308deb6618c9c2da8dcee8a11ef4e8238d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109318 Tested-by: Jenkins Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Reviewed-by: Tor Lillqvist <tml@collabora.com> |
||
---|---|---|
.. | ||
inc | ||
qa | ||
source | ||
CppunitTest_tools_config.mk | ||
CppunitTest_tools_test.mk | ||
CustomTarget_reversemap.mk | ||
Executable_bestreversemap.mk | ||
IwyuFilter_tools.yaml | ||
Library_tl.mk | ||
Makefile | ||
Module_tools.mk | ||
README | ||
StaticLibrary_ooopathutils.mk |
Predates sal - string functions, url manipulation, stream stuff, polygons, etc. Exact history is lost before Sept. 18th, 2000, but old source code comments show that part of the tools library dates back until at least April 1991. This directory will be removed in the near future (see fdo#39445 or fdo#63154).