1. A method for composing a message in an online textbox using a non-Latin script, the method comprising: receiving a selection of a target language for composing the message in the online textbox; loading a hash table and an integer n that are associated with the target language; adding to a queue a character inputted from a QWERTY keyboard; and applying appropriate parsing and mapping techniques to the queue using the hash table and the integer n to display an appropriate script of the target language.