Hello!

StringReplace (sysstr.inc) loses non-ASCII characters in FPC 3.1.1:

Whereas in RemS there is correct string:





After Result:=Result+RemS, the "ä" gets lost:



BTW I use German Windows 10, so "ä" is a character from my ANSI encoding.

I am quite sure it worked before and I couldn't find any change in the SVN so I assume a problem is at my side. I also use EnableUTF8RTL for LCL - but this should not affect FPC sources, if I am right (and Juha made it by default, now).

I make FPC with this batch script:

@echo on
set mypath=p:\software\FPC\trunk_exp
set mybinutils=p:\software\Lazarus_1_4_2\fpc\2.6.4\bin\i386-win32
cd FPC\trunk_src
p:\software\Lazarus_1_4_2\fpc\2.6.4\bin\i386-win32\make clean all OPT="-gl -O-" FPMAKEOPT="-T 1" NOWPOCYCLE=1 p:\software\Lazarus_1_4_2\fpc\2.6.4\bin\i386-win32\make install INSTALL_PREFIX=%mypath% PP=%mybinutils%\ppc386.exe FPMAKEOPT="-T 1" NOWPOCYCLE=1
cd ..

Do you have any idea what could be wrong?

Ondrej
--
_______________________________________________
Lazarus mailing list
[email protected]
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to