Commit Graph

13 Commits

Author SHA1 Message Date
Renaud 78a7a3ba4e Improve support of utf8 in filename completion and key in of command arguments. 2019-08-12 21:41:51 +08:00
Renaud 4873021e37 &left and &mid handling of UTF-8 encoded characters. 2017-05-16 12:13:12 +08:00
Renaud 774475a4f6 Correct column position when displaying double width unicode character (assumed in range \u3000-\u3FFF). 2017-05-07 14:05:47 +08:00
Renaud 99487b126f Consistent unicode handling in buffer-position (CTL-X =) and $curchar. 2017-05-05 10:49:02 +08:00
Renaud 4b2c50f6d2 Clean up splint warnings:
- Inconsistencies between defines.h and estruct.h.
- Review scope of termio local variables.
- Type mismatch in utf8.
2015-02-16 13:41:59 +08:00
Renaud e13bc9ca7e Version 4.2
Consistent display of µEMACS as program name among
- ue --version
- on status bar
- insert-string $progname
- write-message $progname (FIX).
2015-02-12 13:15:45 +08:00
Renaud cbb6a26e33 Revise sanity check on UTF-8 keyboard input sequence. 2015-02-10 18:09:59 +08:00
Renaud 5401aec485 Accept UTF-8 sequence as keyboard input. 2015-02-10 17:07:43 +08:00
Renaud bdbd2d5437 Assert that unicode are limited to 0-10FFFF. 2015-02-08 14:26:07 +08:00
Renaud 2cef071492 Insure correct UTF-8 encoding: asc( chr( 0x800)) == 0x800.
buffer-position displays unicode value of character under cursor instead of first byte of unicode sequence.
2015-02-06 13:20:51 +08:00
Renaud 4cbf1e9ae1 Review cursor movement in presence of mixed latin1/unicode encoding. 2015-02-04 12:37:57 +08:00
Linus Torvalds 3abd3dba42 utf8: make sure to honor the array length properly
Right now the input side can give partial utf8 input, and that showed
that we didn't properly handle that case.

Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-07-10 17:56:53 -07:00
Linus Torvalds e62cdf04cf Split up the utf8 helper functions into a file of their own
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-07-10 16:21:35 -07:00