<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=windows-1252">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello!<br>
<br>
StringReplace (sysstr.inc) loses non-ASCII characters in FPC 3.1.1:<br>
<br>
Whereas in RemS there is correct string:<br>
<br>
<img src="cid:part1.09010606.01080809@kluug.net" alt=""><br>
<br>
<br>
<br>
After Result:=Result+RemS, the "ä" gets lost:<br>
<br>
<img src="cid:part2.02010107.09030308@kluug.net" alt=""><br>
<br>
BTW I use German Windows 10, so "ä" is a character from my ANSI
encoding.<br>
<br>
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.<br>
I also use EnableUTF8RTL for LCL - but this should not affect FPC
sources, if I am right (and Juha made it by default, now).<br>
<br>
I make FPC with this batch script:<br>
<br>
@echo on<br>
set mypath=p:\software\FPC\trunk_exp<br>
set mybinutils=p:\software\Lazarus_1_4_2\fpc\2.6.4\bin\i386-win32<br>
cd FPC\trunk_src<br>
p:\software\Lazarus_1_4_2\fpc\2.6.4\bin\i386-win32\make clean all
OPT="-gl -O-" FPMAKEOPT="-T 1" NOWPOCYCLE=1<br>
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<br>
cd ..<br>
<br>
Do you have any idea what could be wrong?<br>
<br>
Ondrej<br>
</body>
</html>