Léo Lam 89b0ab2d22 StringUtil: Add IsPrintableCharacter and use it
Add a function that safely returns whether a character is printable
i.e. whether 0x20 <= c <= 0x7e is true.

This is done in several places in our codebase and it's easy to run
into undefined behaviour if the C version defined in <cctype>
is used instead of this one, since its behaviour is undefined
if the character is not representable as an unsigned char.

This fixes MemoryViewWidget.
2020-01-16 00:22:26 +01:00
..
2018-05-30 11:40:05 +02:00
2019-06-20 11:50:02 -04:00
2019-07-21 09:37:06 +02:00
2020-01-13 20:07:59 -08:00
2018-05-30 11:40:05 +02:00
2018-05-09 21:08:24 +02:00