GNU Octave  6.2.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
uniconv-wrappers.c File Reference
#include <stdlib.h>
#include <string.h>
#include <wchar.h>
#include "uniconv.h"
#include "uniconv-wrappers.h"
Include dependency graph for uniconv-wrappers.c:

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)
 

Function Documentation

◆ octave_u32_conv_to_encoding_strict()

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().

◆ octave_u8_conv_from_encoding()

uint8_t* octave_u8_conv_from_encoding ( const char *  fromcode,
const char *  src,
size_t  srclen,
size_t *  lengthp 
)

◆ octave_u8_conv_to_encoding()

char* octave_u8_conv_to_encoding ( const char *  tocode,
const uint8_t *  src,
size_t  srclen,
size_t *  lengthp 
)

◆ u8_from_wchar()

char* u8_from_wchar ( const wchar_t *  wc)

◆ u8_to_wchar()