RetroArch
Enumerations | Functions
utf.h File Reference
#include <stdint.h>
#include <stddef.h>
#include <boolean.h>
#include <retro_common_api.h>
Include dependency graph for utf.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum  CodePage { CODEPAGE_LOCAL = 0, CODEPAGE_UTF8 = 65001 }
 

Functions

size_t utf8_conv_utf32 (uint32_t *out, size_t out_chars, const char *in, size_t in_size)
 
bool utf16_conv_utf8 (uint8_t *out, size_t *out_chars, const uint16_t *in, size_t in_size)
 
size_t utf8len (const char *string)
 
size_t utf8cpy (char *d, size_t d_len, const char *s, size_t chars)
 
const char * utf8skip (const char *str, size_t chars)
 
uint32_t utf8_walk (const char **string)
 
bool utf16_to_char_string (const uint16_t *in, char *s, size_t len)
 
char * utf8_to_local_string_alloc (const char *str)
 
char * local_to_utf8_string_alloc (const char *str)
 
wchar_t * utf8_to_utf16_string_alloc (const char *str)
 
char * utf16_to_utf8_string_alloc (const wchar_t *str)
 

Enumeration Type Documentation

◆ CodePage

enum CodePage
Enumerator
CODEPAGE_LOCAL 
CODEPAGE_UTF8 

Function Documentation

◆ local_to_utf8_string_alloc()

char* local_to_utf8_string_alloc ( const char *  str)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ utf16_conv_utf8()

bool utf16_conv_utf8 ( uint8_t out,
size_t *  out_chars,
const uint16_t in,
size_t  in_size 
)
Here is the caller graph for this function:

◆ utf16_to_char_string()

bool utf16_to_char_string ( const uint16_t in,
char *  s,
size_t  len 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ utf16_to_utf8_string_alloc()

char* utf16_to_utf8_string_alloc ( const wchar_t *  str)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ utf8_conv_utf32()

size_t utf8_conv_utf32 ( uint32_t out,
size_t  out_chars,
const char *  in,
size_t  in_size 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ utf8_to_local_string_alloc()

char* utf8_to_local_string_alloc ( const char *  str)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ utf8_to_utf16_string_alloc()

wchar_t* utf8_to_utf16_string_alloc ( const char *  str)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ utf8_walk()

uint32_t utf8_walk ( const char **  string)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ utf8cpy()

size_t utf8cpy ( char *  d,
size_t  d_len,
const char *  s,
size_t  chars 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ utf8len()

size_t utf8len ( const char *  string)
Here is the caller graph for this function:

◆ utf8skip()

const char* utf8skip ( const char *  str,
size_t  chars 
)
Here is the caller graph for this function: