Tommi Prami 130 Posted July 24, 2020 Not super complicated app, but if someone has that ready would help. I think someone talked about it, but have no clue on which thread. -Tee- Share this post Link to post
Kryvich 165 Posted July 24, 2020 https://github.com/Kryuski/AnsiToUtf8 2 Share this post Link to post
Dinar 22 Posted July 24, 2020 I wrote a small script ConvertToUTF8.sh to convert all * .pas and * .dpr files from ANSI to UTF-8, which writes the results of its work to a file (conversion is performed for all files inside the current folder and its subdirectories). You can first run FindNotUTF8.sh to find all files in a non-UTF-8 encoding (the results of the script are also output to a file). Share this post Link to post
Tommi Prami 130 Posted July 24, 2020 11 minutes ago, Kryvich said: https://github.com/Kryuski/AnsiToUtf8 Good starting point at least. Thanks.. -Tee- Share this post Link to post
David Heffernan 2345 Posted July 24, 2020 https://superuser.com/questions/1163753/converting-text-file-to-utf-8-on-windows-command-prompt 1 Share this post Link to post
aehimself 396 Posted July 26, 2020 ConvertToUTF8.7z Using the ZIP2 component (but unit can be renamed to Zip to use the Delphi default) for creating backup copies. Finished 3000+ files in 90 seconds in our project at work. It checks for BOM existence; so if you have actual UTF8 files without BOM it can cause issues. 1 Share this post Link to post