I need to write data coming from the database with accented characters in utf8 to a text file in ansi format using the commands assign, rewrite and writeln. But the text file is always written in utf8 format.
Any guidance?
Lazarus 1.8.4 FPC 3.0.4 windows 10.