Press Korean letter on the keyboard and automatically substitude it to English letter respectively on js
I have an input section on my reactjs app. If a user types a korean letter on keyboard, the letter should be changed to English letter automatically. For example, if I type letter ‘ㄱ’, it should change to letter ‘r’ and letter ‘ㅎ’ should change to ‘g’. Any help would be appreciated.
Source: React – Stack OverflowNovember 29, 2021