There is no special function or configuration. Make sure your font supports Thai characters.
When I met the same problem, the component font was set to calibri. After changing it to sansserif, it worked.
But I do not know any other font that supports thai, I just found it with brute force.