sqlparse icon indicating copy to clipboard operation
sqlparse copied to clipboard

LFs are replaced by CRLF

Open sacrefies opened this issue 9 years ago • 1 comments

I am using Atom on my Windows Laptop. I found every time I do a formatting, sqlformatter replaces my pre-set LF line ending to CRLF which is the platform default.

sacrefies avatar Oct 15 '16 16:10 sacrefies

This is an issue related to the behavior of sys.stdout which is set here. I believe setting it to sys.stdout.buffer might resolve the issue

CervEdin avatar Dec 09 '21 09:12 CervEdin