My Windows Lazarus program reads a UTF8 file (TMX) and tries to output the contents as ANSI for another Windows (Delphi 3) program. In the latter I'm still seeing text including characters such as ….
StringReplace(s, '…' , '…'); etc. doesn't have any effect on the output strings.
I've tried the following on the stringlist loaded from the UTF8 file, but to no avail:
ws:=tmplist
s:=UTF8toAnsi(ws); //s:ansistring
I'd be grateful for any suggestions