Core: UnicodeCompose, UnicodeDecompose

git-svn-id: svn://ultimatepp.org/upp/trunk@11157 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2017-06-12 08:07:04 +00:00
parent bbd6c02ccc
commit 78ff212080
3 changed files with 89 additions and 0 deletions

View file

@ -96,6 +96,11 @@ Vector<dword> ToUtf32(const char *s, int len);
inline Vector<dword> ToUtf32(const char *s) { return ToUtf32(s, (int)strlen(s)); }
inline Vector<dword> ToUtf32(const String& s) { return ToUtf32(~s, s.GetCount()); }
enum { MAX_DECOMPOSED = 3 };
int UnicodeDecompose(dword codepoint, dword t[MAX_DECOMPOSED]);
dword UnicodeCompose(dword *t, int count);
void SetDefaultCharset(byte charset);
byte GetDefaultCharset();

View file

@ -65,6 +65,7 @@ file
CharSet.h,
Utf.hpp,
Utf.cpp,
UnicodeInfo.cpp,
CharSet.cpp,
Bom.cpp,
Path.h,

File diff suppressed because one or more lines are too long