Benjamin Pasero

Results 58 issues of Benjamin Pasero

Referring to: https://github.com/ashtuchkin/iconv-lite/blob/148b6bc82ce69a1c89643db55110e83513a262ce/lib/index.d.ts#L33-L41 I am not sure why we cannot work without strings in these methods and thus avoid having to create strings while talking to the library. Imho everything...

**Describe the bug** Renaming a file to the same name with different casing reports as ADD and CHANGE, but not DELETE. This makes it impossible to detect this change as...

mac

**Describe the bug** I am seeing test failures on macOS running `npm run mocha` **Versions (please complete the following information):** - Chokidar version `3.4.0` - Node version `12.13.1` - OS...

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:...

Detect attached file. The result will be `windows-1252` [shift-jis.txt](https://github.com/aadsm/jschardet/files/879328/shift-jis.txt) ![image](https://cloud.githubusercontent.com/assets/900690/24459316/1443769e-1450-11e7-9c23-76dd62aae059.png)

Guess the encoding on the attached file. It contains emojis but is a fine UTF-8 file. [strip.sh.zip](https://github.com/aadsm/jschardet/files/5558481/strip.sh.zip)

* file: [Untitled-1.txt](https://github.com/aadsm/jschardet/files/906100/Untitled-1.txt) * output with debug: ``` EUC-TW prober hit error at byte 0 windows-1251 confidence = 0, below negative shortcut threshhold 0.05 UTF-8 not active SHIFT_JIS confidence =...

Detect attached file. The result will be `windows-1252` [iso-8859-1.txt](https://github.com/aadsm/jschardet/files/879334/iso-8859-1.txt) ![image](https://cloud.githubusercontent.com/assets/900690/24459379/432c3536-1450-11e7-9df4-e0dfe8d23d52.png)

The following file detects as EUC-JP even though it is not. Seems to be caused by a single `ü` inside that file. File: [QuietLight.tmTheme.txt](https://github.com/aadsm/jschardet/files/879178/QuietLight.tmTheme.txt)

Not sure if this is in the cards, but I would love to see the monaco diff editor be used when looking at changes on GitHub 👍 https://microsoft.github.io/monaco-editor/playground.html#creating-the-diffeditor-hello-diff-world