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
UTF-8 with BOM #156
Comments
won't argue this. basically BOM is not recommended by utf-8 specification: http://www.unicode.org/versions/Unicode6.2.0/ch02.pdf "Use of a BOM is neither required nor recommended for UTF-8..." (section 2.6). but will add support for it (removing that first byte on read) like:
will add this to next version. hope that will help you. |
Great! Thanks. |
keeping this open - until done |
will be solved in next version: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! I was just testing out your project, I was using Visual Studio. Annoyingly it saves its UTF-8 files with a signature, called Byte Order Mark. When I run it I get this weird bug http://puu.sh/dbGIy/5b176ca61d.png. Encoding was not right, I had to save it without BOM.
What I am proposing: Could we make the documentation more clear on that only UTF-8 without BOM is supported? Or would BOM support be possible? I suppose this is a Node.JS only thing.
The text was updated successfully, but these errors were encountered: