[fpc-pascal] FPC 2.6.0 <> 2.6.2 incompatibility take 2
Reinier Olislagers
reinierolislagers at gmail.com
Mon Apr 1 14:40:36 CEST 2013
While looking at mantis 14473 I noticed that
FPC 2.6.0 writes out ANSI characters when using StrPLCopy:
StrPLCopy(
@PAfterHdrVII(PChar(Header)+SizeOf(rDbfHdr))^.LanguageDriverName[32],
ConstructLangName(FFileCodePage, lLocaleID, false),63-32);
However, FPC 2.6.2 apparently uses the widestring version of that
function when called like that; fixing it required explicitly casting to
PChar.
Is this because there are new widestring routines in 2.6.2? Should/can
these changes be documented?
Thanks,
Reinier
More information about the fpc-pascal
mailing list