teditor
1.8.0@@fee5e94
Terminal based editor written in C++
src
core
utf8.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <stdint.h>
4
5
namespace
teditor
{
6
namespace
Utf8 {
7
8
uint8_t
charLen
(
char
c);
9
int
char2unicode
(uint32_t* out,
const
char
* c);
10
int
unicode2char
(
char
* out, uint32_t c);
11
12
};
// end namespace Utf8
13
};
// end namespace teditor
teditor::Utf8::Mask
const unsigned char Mask[]
Definition:
utf8.cpp:17
teditor::Utf8::char2unicode
int char2unicode(uint32_t *out, const char *c)
Definition:
utf8.cpp:23
teditor::Utf8::charLen
uint8_t charLen(char c)
Definition:
utf8.cpp:19
teditor::Utf8::unicode2char
int unicode2char(char *out, uint32_t c)
Definition:
utf8.cpp:37
utf8.h
teditor::Utf8::Length
const unsigned char Length[]
Definition:
utf8.cpp:6
teditor
Definition:
any.hpp:10
Generated by
1.8.17