UTF-8 utils.
Copyright (c) 2018 Microchip Technology Inc. and its subsidiaries.
#include "asf.h"
#include "FreeRTOS.h"
#include <string.h>
#include <stdio.h>
#include <stdlib.h>
#include <wchar.h>
Functions | |
int | u8_convert (char *dest, int sz, unsigned int *src, int srcsz) |
unsigned int * | u8_encode (const wchar_t line[]) |
int | u8_get_req_len (unsigned int *src, int sz) |
int u8_convert | ( | char * | dest, |
int | sz, | ||
unsigned int * | src, | ||
int | srcsz | ||
) |
Referenced by u8_encode().
unsigned int* u8_encode | ( | const wchar_t | line[] | ) |
References NULL, pvPortMalloc(), u8_convert(), u8_get_req_len(), and vPortFree().
int u8_get_req_len | ( | unsigned int * | src, |
int | sz | ||
) |
Referenced by u8_encode().