Parent: a7e0747e21de73b604e87f6b26355b0781469eb1
Author: Frédéric Danis <frederic.danis@collabora.com>
Committer: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Date: 2025-07-08 19:04:38
Tree: 01155496bbb040801599f37637fc10cc557966dd
shared/util: Add strtoutf8 function This adds the strtoutf8 function that truncate a string before the first non UTF-8 character. This truncation is done in place.
Diffstat
| M | src/shared/util.c | | | 42 | ++++++++++++++++++++++++++++++++++++++++ |
| M | src/shared/util.h | | | 1 | + |
2 files changed, 43 insertions(+), 0 deletions(-)