forked from pyrite-dev/milsko
add utf32 function
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@239 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
051e6a8344
commit
59910e65d2
4 changed files with 90 additions and 1 deletions
28
include/Mw/Unicode.h
Normal file
28
include/Mw/Unicode.h
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
/* $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
|
||||
*/
|
||||
MWDECL int MwUTF8ToUTF32(const char* input, int32_t* output);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue