mirror of
https://github.com/Frooodle/Stirling-PDF.git
synced 2025-09-08 17:51:20 +02:00
Update app/core/src/main/java/stirling/software/SPDF/utils/text/TextDecodingHelper.java
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
87b2103236
commit
91ca29e095
@ -123,7 +123,7 @@ public class TextDecodingHelper {
|
|||||||
}
|
}
|
||||||
} catch (Exception ignored) {
|
} catch (Exception ignored) {
|
||||||
}
|
}
|
||||||
if (!isPrintable(ch)) {
|
if (ch == null || !isPrintable(ch)) {
|
||||||
// Handle problematic character codes specifically
|
// Handle problematic character codes specifically
|
||||||
ch = "<EFBFBD>";
|
ch = "<EFBFBD>";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user