ESPHome 2026.11.0-dev
Loading...
Searching...
No Matches
unicode.h
Go to the documentation of this file.
1#pragma once
2
3#include <cstddef>
4#include <cstdint>
5
6namespace esphome::unicode {
7
18uint32_t extract_unicode_codepoint(const char *utf8_str, size_t *length);
19
20} // namespace esphome::unicode
uint32_t extract_unicode_codepoint(const char *utf8_str, size_t *length)
Attempt to extract a 32 bit Unicode codepoint from a UTF-8 string.
Definition unicode.cpp:5
static void uint32_t
uint16_t length
Definition tt21100.cpp:0