commit | cf7b384c43b4a2c5a1bde8b4f6bfeee20ecad027 | [log] [download] |
---|---|---|
author | Nicholas Marriott <nicholas.marriott@gmail.com> | Sat Mar 28 20:17:29 2009 +0000 |
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | Sat Mar 28 20:17:29 2009 +0000 |
tree | f6fbcd72b5cfcd5b3579113c37cfd99efc5a0863 | |
parent | 34dd72f0089537032429c88226ae66d4a5980575 [diff] |
Better UTF-8 support, including combined characters. Unicode data is now stored as UTF-8 in a separate array, the code does a lookup into this every time it gets to a UTF-8 cell. Zero width characters are just appended onto the UTF-8 data for the previous cell. This also means that almost no bytes extra are wasted non-Unicode data (yay). Still some oddities, such as copy mode skips over wide characters in a strange way, and the code could do with some tidying.