Skip to content
Commit 5cb72d21 authored by Emil Gydesen's avatar Emil Gydesen Committed by Carles Cufí
Browse files

zephyr: Add function to properly truncate UTF-8 strings



Add a function that can properly truncate UTF-8 strings
without leaving unterminated started characters,
as UTF-8 characters can be 1-4 bytes long.

Signed-off-by: default avatarEmil Gydesen <emil.gydesen@nordicsemi.no>
parent 7e318b5e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment