swh:1:snp:ff2a11cd2e44dd19ec3814028ef2ce6605664e63
Raw File
Tip revision: 9a12a76855cdcaf41a6e9c0f501c0e7222de49c2 authored by Eric Fischer on 17 November 2017, 23:47:10 UTC
Fix overflow when iterating through 0-length lists backwards
Tip revision: 9a12a76
text.hpp
#ifndef TEXT_HPP
#define TEXT_HPP

#include <string>

std::string check_utf8(std::string text);
const char *utf8_next(const char *s, long *c);
std::string truncate16(std::string const &s, size_t runes);

#endif
back to top