| 1 |
--- |
| 2 |
name: Wrong charset / Detection issue |
| 3 |
about: Create a report to help us improve the detection mechanism |
| 4 |
title: "[DETECTION]" |
| 5 |
labels: help wanted, detection |
| 6 |
assignees: '' |
| 7 |
|
| 8 |
--- |
| 9 |
|
| 10 |
**Notice** |
| 11 |
I hereby announce that my raw input is not : |
| 12 |
- Too small content (<=32 characters) as I do know that ANY charset detector heavily depends on content |
| 13 |
- Encoded in a deprecated/abandoned encoding that is not even supported by my interpreter |
| 14 |
|
| 15 |
**Provide the file** |
| 16 |
A accessible way of retrieving the file concerned. Host it somewhere with untouched encoding. |
| 17 |
|
| 18 |
**Verbose output** |
| 19 |
Using the CLI, run `normalizer -v ./my-file.txt` and past the result in here. |
| 20 |
|
| 21 |
``` |
| 22 |
(venv) >normalizer -v ./data/sample.1.ar.srt |
| 23 |
2021-05-21 08:38:44,050 | DEBUG | ascii does not fit given bytes sequence at ALL. 'ascii' codec can't decode byte 0xca in position 54: ordinal not in range(128) |
| 24 |
2021-05-21 08:38:44,051 | DEBUG | big5 does not fit given bytes sequence at ALL. 'big5' codec can't decode byte 0xc9 in position 60: illegal multibyte sequence |
| 25 |
2021-05-21 08:38:44,051 | DEBUG | big5hkscs does not fit given bytes sequence at ALL. 'big5hkscs' codec can't decode byte 0xc9 in position 60: illegal multibyte sequence |
| 26 |
.... |
| 27 |
``` |
| 28 |
|
| 29 |
**Expected encoding** |
| 30 |
A clear and concise description of what you expected as encoding. Any more details about how the current guess is wrong |
| 31 |
is very much appreciated. |
| 32 |
|
| 33 |
**Desktop (please complete the following information):** |
| 34 |
- OS: [e.g. Linux, Windows or Mac] |
| 35 |
- Python version [e.g. 3.5] |
| 36 |
- Package version [eg. 2.0.0] |
| 37 |
|
| 38 |
**Additional context** |
| 39 |
Add any other context about the problem here. |