Commit Graph

7 Commits

Author SHA1 Message Date
Leah Neukirchen
e8981b723d safe_u8putstr: add oneline mode that prints CR/LF as C0 sequences 2021-03-15 21:35:16 +01:00
Leah Neukirchen
cf15239377 safe_u8putstr: whitespace fix 2018-11-14 17:15:53 +01:00
Leah Neukirchen
188aeac3e1 safe_u8putstr: handle NUL bytes
These have length 0, but we still want to progress one byte.
Found by duncaen with afl-fuzz.
2018-11-14 16:03:13 +01:00
Leah Neukirchen
73641367db revamp utf-8 handling code 2017-11-22 23:48:32 +01:00
Leah Neukirchen
66d0eff12f style 2017-08-31 17:30:17 +02:00
Leah Neukirchen
d21ab392e9 safe_u8putstr: actually transcode assumed latin1 into valid utf8 2017-03-13 17:32:13 +01:00
Leah Neukirchen
564bb223ef mshow: print plain text safely 2017-03-13 15:54:52 +01:00