Because APT-Sangam is a legacy encoding, you might need a tool like Azhagi's Font Converter
provides official guides and tools for Tamil keyboard layouts and font usage. Google Fonts into the modern Sangam/Unicode format? All Tamil Fonts - Free download and install on Windows apt sangam tamil fonts link