mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
Core: Developing Unicode support
git-svn-id: svn://ultimatepp.org/upp/trunk@11158 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
cfc5b5a0e9
commit
95d4e049c9
1 changed files with 3 additions and 1 deletions
|
|
@ -47,10 +47,12 @@ UnicodeInfo::UnicodeInfo()
|
|||
composed.Add(data[i + 1]);
|
||||
decomposed.Add(MakeTuple(data[i + count + 1], data[i + 2 * count + 1], data[i + 3 * count + 1]));
|
||||
}
|
||||
composed.Shrink();
|
||||
decomposed.Shrink();
|
||||
}
|
||||
|
||||
int UnicodeDecompose(dword codepoint, dword t[MAX_DECOMPOSED])
|
||||
{
|
||||
{ // TODO: Add hangul support
|
||||
UnicodeInfo& f = Single<UnicodeInfo>();
|
||||
|
||||
int q = f.composed.Find(codepoint);
|
||||
|
|
|
|||
Loading…
Reference in a new issue