Ring Daemon 16.0.0
Loading...
Searching...
No Matches
utf8_utils.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 1999 Tom Tromey
3 * Copyright (C) 2000 Red Hat, Inc.
4 * Copyright (C) 2004-2025 Savoir-faire Linux Inc.
5 *
6 * Author: Pascal Potvin <pascal.potvin@extenway.com>
7 *
8 * This program is free software: you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation, either version 3 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program. If not, see <https://www.gnu.org/licenses/>.
20 */
21#pragma once
22
23#include <cstdlib>
24#include <string>
25
26namespace jami {
27
41bool utf8_validate(std::string_view str);
42
53std::string utf8_make_valid(std::string_view str);
54
55} // namespace jami
bool utf8_validate(std::string_view str)
utf8_validate:
void emitSignal(Args... args)
Definition ring_signal.h:64
std::string utf8_make_valid(std::string_view name)