![]() |
ArkScript
A small, lisp-inspired, functional scripting language
|
#include <array>#include <cstdint>Go to the source code of this file.
Namespaces | |
| namespace | utf8 |
| namespace | utf8::details |
Enumerations | |
| enum class | utf8::Utf8Type { utf8::Ascii = 0 , utf8::LatinExtra = 1 , utf8::BasicMultiLingual = 2 , utf8::OthersPlanesUnicode = 3 , utf8::OutRange = 4 } |
Functions | |
| Utf8Type | utf8::utf8type (const char *input, int32_t *out=nullptr) |
| void | utf8::decode (const char *input, char *dest) |
| Convert hex string to utf8 string. | |
| bool | utf8::isValid (const char *str) |
| Check the validity of a given string in UTF8. | |
| int32_t | utf8::codepoint (const char *str) |
| Compute the UTF8 codepoint for a given UTF8 char. | |
| void | utf8::codepointToUtf8 (const int32_t codepoint, char *dest) |
| Generate an UTF8 character from a given codepoint. | |
Variables | |
| constexpr char | utf8::details::no = static_cast<char>(-1) |
| constexpr std::array< char, 128 > | utf8::details::ASCIIHexToInt |