In my last post I explained that it is a good strategy to encode .pas files in UTF8. From RAD Studio 10.4 you can set under “Tools/Options/User Interface/Editor” the “Default file encoding” to UTF8. In older versions of RAD Studio like e.g. Tokyo (version 19.0) you can set the hidden registry key
HKEY_CURRENT_USER\Software\Embarcadero\BDS\19.0\Editor]
“DefaultFileFilter”=”Borland.FileFilter.UTF8ToUTF8”.