[fpc-devel] Delphi incompatible encoding
nc-gaertnma at netcologne.de
Tue Dec 2 09:56:38 CET 2014
On Tue, 2 Dec 2014 09:18:29 +0100
"Tomas Hajny" <XHajT03 at hajny.biz> wrote:
> Probably best to ask about the wrong behaviour with Lazarus on a Lazarus
> list? Otherwise: In what format (encoding) is your source file? Unless
> it's a UTF-8 with BOM, FPC decodes it according to the -Fc parameter and
> Lazarus may pass a different setting of this option. In addition, it might
> be related to Lazarus playing with Default*SystemCodePage which may not
> work well with console using a different encoding, but that is just a wild
> guess which would need to be checked by someone really knowing what
> Lazarus does there...
The DefaultSystemCodePage is by default not changed by Lazarus.
Lazarus by default saves files as UTF-8 without BOM. You can use other
encodings as well.
More information about the fpc-devel