Character encodings are always read from inputhistory.xml. Changes in file like BOM UTF-8 are ignored.
Original Reporter info from Mantis: fr2201work
-
Reporter name: Ralph Friedrich
Original Reporter info from Mantis: fr2201work
- Reporter name: Ralph Friedrich
Description:
When you change a encoding in Lazarus editor it is stored in inputhistory.xml.
Changing encoding outside of Lazarus is ignored.
Steps to reproduce:
Change a encoding in Lazarus editor of a pas file to CP1252.
Close Lazarus.
Change the encoding with notepad BOM UTF-8.
Reopen the file with Lazarus shows the bom mark cryptic and the old encoding from inputhistory.xml.
Clear &LtPos;FileEncodings Count="0"> and the file is correct loaded.
Additional information:
Another problem is.
The difference between displayed "ANSI(CP1252)" and "CP1252" comes only from inputhistory.xml.
This is for the user not transparent.
Mantis conversion info:
- Mantis ID: 35320
- OS: Windows
- OS Build: Windows 7
- Build: SVN 60307
- Platform: X86_64
- Version: 2.0