Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Probably need to do a pass to find all \r chars, check if the next char is \n and if so, discard it. Otherwise convert it to \n.

edit: Yeah, does exactly that: https://chromium-review.googlesource.com/c/chromium/src/+/55...



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: