Agent Write/StrReplace tools encode non-ASCII content as GBK on disk despite files.encoding=utf8

A post was merged into an existing topic: Spending tokens to repair UTF-16 that should have been UTF-8