jschardet
jschardet copied to clipboard
Character encoding auto-detection in JavaScript (port of python's chardet)
Bumps [shell-quote](https://github.com/substack/node-shell-quote) from 1.7.2 to 1.7.3. Changelog Sourced from shell-quote's changelog. 1.7.3 Fix a security issue where the regex for windows drive letters allowed some shell meta-characters to escape the...
I am using `jschardet` in a browser context, where I have a file as an `ArrayBuffer` instead of the Node.js `Buffer`. It could be nice to add the `ArrayBuffer` equivalent...
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
Bumps [cached-path-relative](https://github.com/ashaffer/cached-path-relative) from 1.0.2 to 1.1.0. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
The main field was missing from the package.json that was stopping me from requiring jschardet when bundled in a .asar
I was wondering if jschardet would ever consider to understand specific markers within a file to get the encoding from. For example, XML can have an encoding in the header:...
the windows-1250 is mentioned as Hungarian, but it really is Central European, so it may also be Slovak or Czech text, or maybe even other languages. Proper naming is "Central...
I have a file saved as "ISO 8859-1" encode. When try to open, it detects as "Windows 1251" encode and the accentuations broken. Example attached to perform this test. [example-ISO-8859-1.txt](https://github.com/aadsm/jschardet/files/7021843/example-ISO-8859-1.txt)
Hello! We use this package in our Angular 11 project. During the build we get a warning: > FILE_NAME_HERE depends on 'jschardet'. CommonJS or AMD dependencies can cause optimization bailouts....
``` > const jschardet = require("jschardet") > jschardet.detect(Buffer.from([164,112,164,67])) { encoding: 'windows-1252', confidence: 0.95 } ```