commit | b8a102d26f41e57b94359627a4df8f22af10c6fa | [log] [download] |
---|---|---|
author | nicm <nicm> | Wed Mar 02 15:36:02 2016 +0000 |
committer | nicm <nicm> | Wed Mar 02 15:36:02 2016 +0000 |
tree | 43730f925370a2d77bf64e817cb77bfaf4849dc5 | |
parent | d980d965ddb6165bd801351892fed2497204a279 [diff] |
Handle wcwidth() and mbtowc() failures in better style and drop characters where we can't find the width (wcwidth() fails) on input, the same as we drop invalid UTF-8. Suggested by schwarze@.