Hello,
0D (binary) in the input box is silently replaced with 0A (binary) in the output box.
And 0D 0A (binary) sequence is also replaced with 0A (binary).
These replacements break data integrity.
If input data is a dragged and dropped file, the replacements does not occur.
CyberChef at https://gchq.github.io/CyberChef/
Mozilla Firefox, Google Chrome and Microsoft Edge on Windows 10 (the same behavior with all three browsers)
This is a "feature" of HTML textarea elements and there is nothing we can do about it without writing a custom DOM element.
This is one of the reasons why files are loaded in the way that they are - to preserve carriage return bytes.
If someone has a solution, I'd be glad to hear it.
Oh, it is because of a feature of HTML textarea elements. I understand that it is very hard to resolve.
Thank you very much for your explanation.
No problem, thanks for the detailed bug report. I'll close this issue now as we have no immediate plans to fix this. However, if someone has a suggested solution, please feel free to reopen it.