[Lazarus] TStringList.LoadFromFile encoding parameter
Michael Schnell
mschnell at lumino.de
Mon Jul 11 15:18:46 CEST 2016
On 07/11/2016 02:00 PM, Ondrej Pokorny wrote:
>
> 100% of end-user Windows LCL applications need Unicode.
Can you explain why ?
For some 20 Years (before Delphi introduced Unicode) Pascal users were
forced to use their locale ANSI instead of Unicode, and hence it was
difficult to create programs that were useable in multiple regions. But
AFAIR, the complaint about that fact have been rather limited.
> You can't simply force your customers to set the German codepage in
> their OS settings.
1) not set "German codepage" but Lazarus using the "locale ANSI Code
Page", as set in the OS (exactly as it had been before Lazarus moved to
UTF-8 some years ago).
2 ) not force, but provide a setting if the user wants to use Unicode or
not.
-Michael
More information about the Lazarus
mailing list