2025-10-09 10:46:09 +00:00
|
|
|
/* $Id$ */
|
|
|
|
|
/*!
|
|
|
|
|
* %file Mw/Unicode.h
|
|
|
|
|
* %brief Handles UTF8 stuff
|
|
|
|
|
*/
|
|
|
|
|
#ifndef __MW_UNICODE_H__
|
|
|
|
|
#define __MW_UNICODE_H__
|
|
|
|
|
|
|
|
|
|
#include <Mw/MachDep.h>
|
|
|
|
|
#include <Mw/TypeDefs.h>
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
extern "C" {
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
/*!
|
|
|
|
|
* %brief Converts UTF-8 to UTF-32
|
|
|
|
|
* %brief input Input
|
|
|
|
|
* %brief output Output
|
|
|
|
|
* %return Bytes this multibyte takes
|
|
|
|
|
*/
|
2025-10-09 10:47:36 +00:00
|
|
|
MWDECL int MwUTF8ToUTF32(const char* input, int* output);
|
2025-10-09 10:46:09 +00:00
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
|
}
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
#endif
|