I am trying to add Thai letters in HTMLInput value with javascript, but when I send each letter they are not combined together. For example, I am sending 'ท' and ' ี' and want to see 'ที', instead, I'm seeing 'ท ี'. They are not merging like 'ทืืืืืืื' they stand together like 'ท ื ื ื ื ื ื ื ื ื'.
I am taking Google Input Tools for example in this subject (https://www.google.com/inputtools/try/).
Any ideas would be very helpful. Thanks
The character is not a combination of
ทandี. The second character you have posted is a string of length 2. If you are copy-pasting from somewhere you've probably copied the space before it.The second character in
ทีa non-spacing markี. These non-spacing mark characters always combine with the character that precedes it. So, it's hard to copy them or write them as a literal.If you want to paste it in an input, click on the Copy button on this page:
https://unicode-table.com/en/0E35/