/
UTF-8 encoded line ending symbols breaks grid display
UTF-8 encoded line ending symbols breaks grid display
When you press ENTER on a keyboard cursor goes to new line. But in fact what really happens (internally) is, that CR (carriage return) and LF (line feed) symbols are added to the edited document.
Following ASCII codes correspond to these 2 symbols:
- CR - 13
- LF - 10
On one of our projects a "Contact Us" was submitted recently, but in Admin Console we weren't able to view it, because all "Form Submissions" grid break down due following JS error:
Text, that raised an error looks absolutely normal, but there still is something wrong with it, that can't be seen with an eye, but makes JavaScript go crazy.
After a bit of debugging it turned out to be UTF-8 encoded CR and LF symbols, that followed after usual CR and LF symbols.