Codepage recognition not working (UTF-8 vs. 1252)
Posted: Thu Mar 02, 2017 5:58 am
I've set Codepage recognition to Western European, but the auto-detection isn't working. It seems to always use the Default codepage (be it UTF-8 or 1252).
Steps to reproduce:
- Create two text files containing, for example, the word "désolé".
- Save the first file using UTF-8 (without BOM) and the second one using 1252.
- Rename both files to anything else (so that AkelPad doesn't know the encoding beforehand)
- Try to open each file in AkelPad. One of them will have corrupted characters (according to the Default codepage setting).
I believe detection should be possible, since this 1252 file isn't valid UTF-8, and it would be a very nice feature.
Steps to reproduce:
- Create two text files containing, for example, the word "désolé".
- Save the first file using UTF-8 (without BOM) and the second one using 1252.
- Rename both files to anything else (so that AkelPad doesn't know the encoding beforehand)
- Try to open each file in AkelPad. One of them will have corrupted characters (according to the Default codepage setting).
I believe detection should be possible, since this 1252 file isn't valid UTF-8, and it would be a very nice feature.