diff --git a/src/apps/diskprobe/DataView.cpp b/src/apps/diskprobe/DataView.cpp index a134a61c7f..845f170ff6 100644 --- a/src/apps/diskprobe/DataView.cpp +++ b/src/apps/diskprobe/DataView.cpp @@ -45,7 +45,9 @@ is_valid_utf8(uint8 *data, size_t size) if ((data[i] & 0x80) == 0) { // a single byte character - if (data[i] < ' ' && data[i] != 0x0a || data[i] == 0x7f) + if (data[i] < ' ' + && data[i] != 0x0d && data[i] != 0x09 && data[i] != 0x0a + || data[i] == 0x7f) return false; continue;