mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Core: UnicodeCompose, UnicodeDecompose
git-svn-id: svn://ultimatepp.org/upp/trunk@11157 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
bbd6c02ccc
commit
78ff212080
3 changed files with 89 additions and 0 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
|
|
@ -65,6 +65,7 @@ file
|
|||
CharSet.h,
|
||||
Utf.hpp,
|
||||
Utf.cpp,
|
||||
UnicodeInfo.cpp,
|
||||
CharSet.cpp,
|
||||
Bom.cpp,
|
||||
Path.h,
|
||||
|
|
|
|||
83
uppsrc/Core/UnicodeInfo.cpp
Normal file
83
uppsrc/Core/UnicodeInfo.cpp
Normal file
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue