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
48[[nodiscard]]
50
54[[nodiscard]]
56
60[[nodiscard]]
62
66[[nodiscard]]
68
70
71#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 UTF16 encoded wide and null terminated string inputUTF16WideString to a Latin1 str...
ML_UTILS_EXPORT char * MLConvertLatin1ToUTF8(const char *inputLatin1String)
Converts the given Latin1 encoded and null terminated string inputLatin1String into a UTF8 string,...
ML_UTILS_EXPORT MLuint16 * MLConvertLatin1ToUTF16(const char *inputLatin1String)
Convert the given Latin1 encoded and null terminated string inputLatin1String to a UTF16 string,...
ML_UTILS_EXPORT MLuint16 * MLConvertUTF8ToUTF16(const char *inputString)
Converts the given char string inputString (UTF8, terminated by 0) to UTF16, returns a newly allocate...
ML_UTILS_EXPORT char * MLConvertUTF8ToLatin1(const char *inputUTFString)
Converts the given UTF8 encoded and null terminated string inputUTFString to a Latin1 string,...
ML_UTILS_EXPORT char * MLConvertUTF16ToUTF8(const MLuint16 *inputWideString)
Converts the given wide string inputWideString (UTF16, terminated by 0) to UTF8, returns a newly allo...
ML_UTILS_EXPORT MLuint32 * MLConvertUTF8ToUTF32(const char *inputString)
Converts the given char string inputString (UTF8, terminated by 0) to UTF32, returns a newly allocate...
#define ML_UTILS_EXPORT
Defines platform dependent DLL export macro for mlUtils.
Definition mlUtilities.h:20