Hi. Thank you for your reply.
What terminal emulator are you using ? I have tried tamil characters on
both xterm (248) and gnome-terminal (2.28.1).
echo -e "#\0340\0256\0205#"
If you notice that the tamil character is not between the '#' characters
but instead overlaps with one, thats the problem ur facing then.
I don't
know of a solution to this, other than considering tamil characters to
take twice the width and leave a space between some tamil characters you
print.