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

Fix some nonutf8 encodings #23

Merged
merged 7 commits into from
Jul 30, 2015
Merged

Fix some nonutf8 encodings #23

merged 7 commits into from
Jul 30, 2015

Conversation

gjtorikian
Copy link
Owner

Partial fix for #22.

The Big5/GB/KR encodings are really fucking hard to detect. Possible impossible with this method.

/cc @benogle

gjtorikian added a commit that referenced this pull request Jul 30, 2015
@gjtorikian gjtorikian merged commit 9882003 into master Jul 30, 2015
@gjtorikian gjtorikian deleted the fix-nonutf8-encodings branch July 30, 2015 01:04
@benogle
Copy link

benogle commented Jul 30, 2015

Thanks for doing this.

Maybe in the future in atom we could use something like https://github.com/mooz/node-icu-charset-detector to detect encoding, then run the unknown ones through this, or just assume they're binary. I dunno how fast it is though.

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

Successfully merging this pull request may close these issues.

2 participants