Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Need to ensure that end-of-line-style is LF on Windows when using flexi-streams #30

Open
Yehouda opened this issue Mar 19, 2020 · 0 comments

Comments

@Yehouda
Copy link

Yehouda commented Mar 19, 2020

When running on Windows, the default end-of-line style in flexi-streams, which is specified by flexi-streams::*default-eol-style*, is :CRLF (in<flexi-streams>/specials.lisp). That means all calls to flexi-streams functions which do not specified the end-of-lien style are using :CRLF , which is wrong for cl-html5-parser.
Best solution is to use external formats with the end-of-line specified explicitly. For example, replace :utf-16le by '(:utf-16le :eol-style :lf). In cases when currently it doesn't pass external-format, it should pass '(Latin-1 :eol-style :lf).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant