#include <inttypes.h>
#include <assert.h>
#include <stdbool.h>
#include "utils/utf8.h"
Go to the source code of this file.
◆ atari_to_ucs4()
int atari_to_ucs4 |
( |
unsigned char |
atarichar | ) |
|
◆ utf8_from_local_encoding()
nserror utf8_from_local_encoding |
( |
const char * |
string, |
|
|
size_t |
len, |
|
|
char ** |
result |
|
) |
| |
Convert a string encoded in the system local encoding to UTF-8.
- Parameters
-
string | The string to convert |
len | The length (in bytes) of the string, or 0 |
result | Pointer to location in which to store result |
- Returns
- An nserror code
Definition at line 80 of file utf8.c.
◆ utf8_to_local_encoding()
nserror utf8_to_local_encoding |
( |
const char * |
string, |
|
|
size_t |
len, |
|
|
char ** |
result |
|
) |
| |
Convert a UTF-8 encoded string into the system local encoding.
- Parameters
-
string | The string to convert |
len | The length (in bytes) of the string, or 0 |
result | Pointer to location in which to store result |
- Returns
- An nserror code
Definition at line 89 of file utf8.c.
◆ atari_utf8_table