diff options
author | George Hazan <george.hazan@gmail.com> | 2016-04-10 09:01:07 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2016-04-10 09:01:07 +0000 |
commit | c7c6cf53887f9c4c7f7bf436a86b973ef91dd6ba (patch) | |
tree | a1914cbf5189732880eeb78749b48fe892cad179 /include | |
parent | df4a8432b2872e78f6ffdcddab6a4b2a95c9770c (diff) |
Utf8toUcs2 exported
git-svn-id: http://svn.miranda-ng.org/main/trunk@16619 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'include')
-rw-r--r-- | include/m_core.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/m_core.h b/include/m_core.h index c1d031f564..07ffec3156 100644 --- a/include/m_core.h +++ b/include/m_core.h @@ -593,6 +593,7 @@ MIR_CORE_DLL(void) KillObjectThreads(void* pObject); MIR_CORE_DLL(char*) Utf8Decode(char* str, wchar_t** ucs2);
MIR_CORE_DLL(char*) Utf8DecodeCP(char* str, int codepage, wchar_t** ucs2);
+MIR_CORE_DLL(int) Utf8toUcs2(const char *src, size_t srclen, wchar_t *dst, size_t dstlen); // returns 0 on error
MIR_CORE_DLL(wchar_t*) Utf8DecodeW(const char* str);
|