5f3b42f448
Use gcc predefined in conditional compilation (__CYGWIN__, __SIZEOF_WCHAR_T__).
2021-08-18 09:37:47 +08:00
2758464a2e
$viewtab = TRUE to visualize hardcoded tabs.
...
Refactor &lef and & mid with stronger assertion on utf8_to_unicode().
2021-08-16 11:05:24 +08:00
109e330861
Consistent interface to deal with workaround on Cygwin when checking width of unicode character > 0xFFFF.
2021-08-15 09:41:35 +08:00
cf823e2fad
Clean up handling of unicode character width (non printable are displayed as \u) and insure modeline displays filename including double and zero width characters.
2020-06-24 16:38:03 +08:00
2f5d28a864
Improve UTF-8 display under NetBSD.
2020-06-20 14:25:53 +08:00
4847d8c589
Merge NetBSD adaptation.
2020-06-16 14:09:44 +08:00
e71338b261
Cater to wcwidth implementation difference (Cygwin: UTF-16, Linux: UTF-32).
2019-11-06 13:31:05 +08:00
b0362969a3
Handle wide character display based on wcwidth implementation (UTF-16 ready).
2019-11-06 11:24:18 +08:00
e62af18798
Display UTF-8 on the modeline [buffer name, file name].
2019-08-13 09:14:08 +08:00
78a7a3ba4e
Improve support of utf8 in filename completion and key in of command arguments.
2019-08-12 21:41:51 +08:00
4873021e37
&left and &mid handling of UTF-8 encoded characters.
2017-05-16 12:13:12 +08:00
774475a4f6
Correct column position when displaying double width unicode character (assumed in range \u3000-\u3FFF).
2017-05-07 14:05:47 +08:00
99487b126f
Consistent unicode handling in buffer-position (CTL-X =) and $curchar.
2017-05-05 10:49:02 +08:00
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
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
cbb6a26e33
Revise sanity check on UTF-8 keyboard input sequence.
2015-02-10 18:09:59 +08:00
5401aec485
Accept UTF-8 sequence as keyboard input.
2015-02-10 17:07:43 +08:00
bdbd2d5437
Assert that unicode are limited to 0-10FFFF.
2015-02-08 14:26:07 +08:00
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
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