summarylogtreecommitdiffstats
path: root/infekt_forgiving_utf8.h
blob: aa39bcd63c5c71760117bb42bec1f98bbba93865 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// forgiving_utf8.h
#ifndef FORGIVING_UTF8_H
#define FORGIVING_UTF8_H

#include <cstddef> // For size_t

#ifdef __cplusplus
extern "C" {
#endif

// Function prototype
size_t utf8_to_latin9(char *output, const char *input, size_t length);

#ifdef __cplusplus
}
#endif

#endif // FORGIVING_UTF8_H