You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tesseract does not output carriage returns. After looking at an output file in a hex editor the reason is clear. Tesseract seems to determine line feeds prefectly fine but it only inserts the Line Feed character (0x0A) and not the carriage return character that a windows text file expects. (0x0D 0x0A)
So a better behavior would be to take 0x0D in an output string and replace the hex found with 0x0D 0x0A. Definitely increate usability.
The text was updated successfully, but these errors were encountered:
scambier
changed the title
[Feature request]
[Feature request] Fix carriage returns
Sep 27, 2023
Tesseract does not output carriage returns. After looking at an output file in a hex editor the reason is clear. Tesseract seems to determine line feeds prefectly fine but it only inserts the Line Feed character (0x0A) and not the carriage return character that a windows text file expects. (0x0D 0x0A)
So a better behavior would be to take 0x0D in an output string and replace the hex found with 0x0D 0x0A. Definitely increate usability.
The text was updated successfully, but these errors were encountered: