libreoffice-online/common
Caolán McNamara 24317d555f ensure we don't split a utf-8 sequence when logging message
Given a well-formed utf-8 string 'message' of messageLen bytes and a
desire to truncate to approximately abbrevLen bytes return the shortest
string greater or equal to abbrevLen that does not split a utf-8
sequence.

Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com>
Change-Id: Ie623d8c1027bb4724485cab5b0bb6d3d1cd3d9ab
2023-08-25 08:41:46 +02:00
..
Authorization.cpp
Authorization.hpp
Clipboard.hpp
CommandControl.cpp
CommandControl.hpp
Common.hpp
ConfigUtil.cpp
ConfigUtil.hpp
Crypto.cpp
Crypto.hpp
DummyTraceEventEmitter.cpp
FileUtil.cpp
FileUtil.hpp
JailUtil.cpp
JailUtil.hpp
JsonUtil.hpp
LangUtil.hpp
Log.cpp
Log.hpp
Message.hpp
MessageQueue.cpp
MessageQueue.hpp
MobileApp.cpp
MobileApp.hpp
Png.hpp
Protocol.cpp
Protocol.hpp ensure we don't split a utf-8 sequence when logging message 2023-08-25 08:41:46 +02:00
Rectangle.hpp
RenderTiles.hpp
Seccomp.cpp
Seccomp.hpp
security.h
Session.cpp
Session.hpp
SigUtil.cpp
SigUtil.hpp
SpookyV2.cpp
SpookyV2.h
StateEnum.hpp
StringVector.cpp
StringVector.hpp
TraceEvent.cpp
TraceEvent.hpp
Unit.cpp
Unit.hpp
Util.cpp
Util.hpp