You open an old Word file and the Tamil looks like jkpo; or Njdp khtl;lk;. Or you paste Tamil from Word into Google Docs and get English letters. This is not a corrupted file: the text was typed in a legacy Tamil font such as SunTommy, which stores Tamil as Latin key codes and only looks Tamil when that font is applied.
Why it happens
Legacy fonts (SunTommy, Bamini-style fonts) map keys to glyphs. The characters in the file are plain English letters. Anything that does not use the font (Google Docs, WhatsApp, a website, search) shows the raw letters. Unicode Tamil fixes this because every Tamil letter has its own code, so it works in every app.
Quick check: is your text SunTommy-encoded?
- Click the odd text in Word and look at the font name box.
- If it says SunTommy (or another legacy Tamil font) and switching to Arial shows letters like
jkpo;, it is legacy-encoded.
Option 1: Free online converter (no install)
Paste the legacy text and get Unicode:
https://luxury-malabi-8a7447.netlify.app/to-unicode.html
It runs in your browser (nothing is uploaded) and shows any characters it could not convert. The free version converts 300 characters at a time; a longer unlimited offline version is available from the same page.
Tips:
- Copy only the Tamil part. English words typed in Arial already look right and would be changed wrongly.
- Check names and rare letters after converting.
Option 2: Convert the other way (Unicode to SunTommy)
If you receive Unicode text but your office template needs SunTommy, use:
https://luxury-malabi-8a7447.netlify.app/sun-tommy.html
Paste Unicode Tamil, copy the result into Word and set the font to SunTommy.
Option 3: Python for batches
For many files, use a short script. The full code and a tutorial are here:
- Source: https://gitlab.com/yogeshwaran-tech-tools/suntommy-unicode-converter
- Explanation: https://dev.to/yogeshwarantechtools/convert-suntommy-bamini-style-tamil-text-to-unicode-with-python-4pcp
from suntommy_to_unicode import sun_to_unicode print(sun_to_unicode("Njdp khtl;lk;>")) # -> தேனி மாவட்டம், Important limits
- The converters were tested on SunTommy key codes. Bamini and other legacy fonts are similar but not identical, so check a few words before trusting a whole document.
- The letters
ஃandஔare not mapped yet. - Always proofread the result.
After converting
Paste the Unicode text into Word or Google Docs and use a Unicode Tamil font such as Noto Sans Tamil. Save the file as .docx or PDF as usual.
Written by Yogeshwaran Tech Tools. Corrections welcome.