summaryrefslogtreecommitdiffstats
path: root/jv_unicode.h
blob: 78c7a40d19b70440533330e7b7eb02684959bf4c (plain)
1
2
3
4
5
6
7
8
9
10
11
#ifndef JV_UNICODE_H
#define JV_UNICODE_H

const char* jvp_utf8_next(const char* in, const char* end, int* codepoint);


int jvp_utf8_decode_length(char startchar);

int jvp_utf8_encode_length(int codepoint);
int jvp_utf8_encode(int codepoint, char* out);
#endif