aboutsummaryrefslogtreecommitdiff
path: root/utf8.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make cursor movement (largely) understand UTF-8 character boundariesLinus Torvalds2012-07-101-0/+5
| | | | | | | | | | Ok, so it may do odd things if it's not truly utf-8, and when moving up and down lines that have utf-8 the cursor moves oddly (because the byte offset within the line stays constant, rather than the character offset), but with this you can actually open the UTF8 example file and move around it, and at least some of the movement makes sense. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
* Split up the utf8 helper functions into a file of their ownLinus Torvalds2012-07-101-0/+9
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>