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 _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal