#include <stdlib.h>
#include <string.h>
#include <wchar.h>
#include "uniconv.h"
#include "uniconv-wrappers.h"
Go to the source code of this file.
Functions | |
char * | octave_u32_conv_to_encoding_strict (const char *tocode, const uint32_t *src, size_t srclen, size_t *lengthp) |
uint8_t * | octave_u8_conv_from_encoding (const char *fromcode, const char *src, size_t srclen, size_t *lengthp) |
char * | octave_u8_conv_to_encoding (const char *tocode, const uint8_t *src, size_t srclen, size_t *lengthp) |
char * | u8_from_wchar (const wchar_t *wc) |
wchar_t * | u8_to_wchar (const char *u8) |
char* octave_u32_conv_to_encoding_strict | ( | const char * | tocode, |
const uint32_t * | src, | ||
size_t | srclen, | ||
size_t * | lengthp | ||
) |
Definition at line 60 of file uniconv-wrappers.c.
Referenced by octave::file_editor_tab::check_valid_codec().
uint8_t* octave_u8_conv_from_encoding | ( | const char * | fromcode, |
const char * | src, | ||
size_t | srclen, | ||
size_t * | lengthp | ||
) |
Definition at line 44 of file uniconv-wrappers.c.
Referenced by octave::sys::canonicalize_file_name(), F__native2unicode__(), octave::string::u8_from_encoding(), octave::sys::u8_from_wstring(), and octave::string::u8_validate().
char* octave_u8_conv_to_encoding | ( | const char * | tocode, |
const uint8_t * | src, | ||
size_t | srclen, | ||
size_t * | lengthp | ||
) |
Definition at line 52 of file uniconv-wrappers.c.
Referenced by octave::sys::canonicalize_file_name(), F__unicode2native__(), main(), octave::string::u8_to_encoding(), and octave::sys::u8_to_wstring().
char* u8_from_wchar | ( | const wchar_t * | wc | ) |
Definition at line 68 of file uniconv-wrappers.c.
References free(), octave::jit_convention::length, malloc(), and retval.
Referenced by octave::sys::env::do_get_user_config_directory(), and octave_getcwd_wrapper().
wchar_t* u8_to_wchar | ( | const char * | u8 | ) |
Definition at line 95 of file uniconv-wrappers.c.
References free(), octave::jit_convention::length, malloc(), retval, and strlen().
Referenced by octave_chdir_wrapper(), octave_lstat_wrapper(), octave_mkdir_wrapper(), octave_rmdir_wrapper(), octave_stat_wrapper(), octave_unlink_wrapper(), octave::popen(), and octave::sys::putenv_wrapper().