I'm wondering how can I accept input in Hindi from my website's users?
All I know about is:

1. UTF-8 is the solution
2. add the following to the HTML Page:
<meta http-equiv="Content-Language" content="hi">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
3. MySQL database connection collation must be utf8_unicode_ci

If I paste anything from a hindi website like webduniya.com in my page's textbox it displays it correctly.
But I do not know how to get it by typing?

Do I need to use some javascript library?

Kindly suggest to achieve the same.