1
12
13
14
15
16
17
18
19
20
27
28
29
30
34
35
36
37
/* ... */
#ifndef OPENOCD_HELPER_UNICODE_H
#define OPENOCD_HELPER_UNICODE_H
#include <stdint.h>
#include <stdlib.h>
/* ... */
int utf8_to_text(const uint8_t *utf_8, char* buf, size_t buflen);
/* ... */
int utf16le_to_utf8(const uint8_t *utf_16le, size_t len, uint8_t* buf, size_t buflen);
/* ... */
#endif