diff --git a/Marlin/src/lcd/anycubic_touchscreen.cpp b/Marlin/src/lcd/anycubic_touchscreen.cpp index 6f9fc9c0..c5e68e70 100755 --- a/Marlin/src/lcd/anycubic_touchscreen.cpp +++ b/Marlin/src/lcd/anycubic_touchscreen.cpp @@ -598,7 +598,7 @@ void AnycubicTouchscreenClass::Ls() bool hasInvalidCharacter = false; for (unsigned char currentChar = 0; currentChar < strlen(card.longFilename); currentChar++) - if (!isAscii(card.longFilename[currentChar])) + if (!isPrintable(card.longFilename[currentChar])) { hasInvalidCharacter = true; break;