Stringreplace does strange things with german ß Umlaut
Original Reporter info from Mantis: ibexpert
-
Reporter name: Holger Klemt
Original Reporter info from Mantis: ibexpert
- Reporter name: Holger Klemt
Description:
SS is interpreted as ß by error
Steps to reproduce:
procedure TForm1.Button1Click(Sender: TObject);
var s:String;
begin
s:='ADRESSE';
s:=Stringreplace(s,'ß','SZ',[rfReplaceAll,rfIgnoreCase]);
ShowMessage(s);
//result is ADRESZE instead of ADRESSE, double S seems to be internally interpreted
end;
Mantis conversion info:
- Mantis ID: 29732
- OS: Windows
- OS Build: 8/8.1/10
- Platform: Lazarus 1.6
- Fixed in version: 3.1.1
- Target version: 3.2.0