We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Detect attached file. The result will be windows-1252
windows-1252
shift-jis.txt
The text was updated successfully, but these errors were encountered:
Another sample file. This is Shift-JIS encoded but is being detected as ISO-8859-2, at about 74 % confidence level.
particle_sakura.txt
Here's code I used to get the raw data into a string jschardet accepts (array is an UInt8Array):
array
UInt8Array
const decoder = new TextDecoder("latin1"); const text = decoder.decode(array); const encoding = jschardet.detect(text);
Sorry, something went wrong.
No branches or pull requests
Detect attached file. The result will be
windows-1252
shift-jis.txt
The text was updated successfully, but these errors were encountered: