MeVisLab Toolbox Reference
mlUnicode.h
Go to the documentation of this file.
1/*************************************************************************************
2**
3** Copyright 2007, MeVis Medical Solutions AG
4**
5** The user may use this file in accordance with the license agreement provided with
6** the Software or, alternatively, in accordance with the terms contained in a
7** written agreement between the user and MeVis Medical Solutions AG.
8**
9** For further information use the contact form at https://www.mevislab.de/contact
10**
11**************************************************************************************/
12
13#ifndef ML_UNICODE_H
14#define ML_UNICODE_H
15
17
18#include "mlUtilsSystem.h"
19
20//-------------------------------------------------------------------------
25//-------------------------------------------------------------------------
26
30[[nodiscard]]
32
36[[nodiscard]]
38
42[[nodiscard]]
44
49[[nodiscard]]
51
56[[nodiscard]]
58
62[[nodiscard]]
64
68[[nodiscard]]
70
72
73#endif // __mlUnicode_H
Target mlrange_cast(Source arg)
Generic version of checked ML casts.
unsigned int MLuint32
Definition mlTypeDefs.h:185
unsigned short MLuint16
Definition mlTypeDefs.h:142
ML_UTILS_EXPORT char * MLConvertUTF16ToLatin1(const MLuint16 *inputUTF16WideString)
Converts the given UTF-16 encoded wide and NULL-terminated string inputUTF16WideString to a Latin1 st...
ML_UTILS_EXPORT char * MLConvertLatin1ToUTF8(const char *inputLatin1String)
Converts the given Latin1 encoded and NULL-terminated string inputLatin1String into a UTF-8 string,...
ML_UTILS_EXPORT MLuint16 * MLConvertLatin1ToUTF16(const char *inputLatin1String)
Convert the given Latin1 encoded and NULL-terminated string inputLatin1String to a UTF-16 string,...
ML_UTILS_EXPORT MLuint16 * MLConvertUTF8ToUTF16(const char *inputString)
Converts the given char string inputString (UTF-8, terminated by 0) to UTF-16, returns a newly alloca...
ML_UTILS_EXPORT char * MLConvertUTF8ToLatin1(const char *inputUTFString)
Converts the given UTF-8 encoded and NULL-terminated string inputUTFString to a Latin1 string,...
ML_UTILS_EXPORT char * MLConvertUTF16ToUTF8(const MLuint16 *inputWideString)
Converts the given wide string inputWideString (UTF-16, terminated by 0) to UTF-8,...
ML_UTILS_EXPORT MLuint32 * MLConvertUTF8ToUTF32(const char *inputString)
Converts the given char string inputString (UTF-8, terminated by 0) to UTF-32, returns a newly alloca...
#define ML_UTILS_EXPORT
Definition mlUtilities.h:18