[Feature, patch] Add Encoding-aware constructor for TCustomIniFile
Original Reporter info from Mantis: kluug.net @onpok
-
Reporter name: Ondrej Pokorny
Original Reporter info from Mantis: kluug.net @onpok
- Reporter name: Ondrej Pokorny
Description:
There's no chance to use encoding in INI files. As a result, Lazarus (that uses UTF-8 string type) cannot read ANSI INI files on Windows.
A solution is to add a constructor overload that accepts a TEncoding.
Additional information:
Patch attached.
Mantis conversion info:
- Mantis ID: 32452
- Version: 3.1.1
- Fixed in version: 3.1.1
- Fixed in revision: 37852 (#6e5093a6)
- Target version: 3.2.0