[fpc-pascal] Console Encoding in Windows (Local VS. UTF8)
Michael Schnell
mschnell at lumino.de
Tue Jul 9 12:40:32 CEST 2013
On 07/09/2013 11:02 AM, Noah Silva wrote:
>
> I convert it to UTF8 before displaying it....
>
Not a good idea.
The FPC developers are right now busy implementing the new Delphi
Strings. This _could_ mean that the application programmer can use any
encoding (such as multiple different ANSI byte-codes, UTF-8, UTF-16,
...), but in fact to be 100% Delphi compatible ("nothing less, nothing
more"), it seems that only UTF-16 will gain full decent support (e.g.
class inheritance, in TStringList, the Lazarus user API etc.)
-Michael
More information about the fpc-pascal
mailing list