I am trying to get the Devnagari Unicode
of a given string.
I have string = "त"
How do I get its Unicode value (\u0924)?
I would like to get it in php
or javascript
.
Update
Also, string = "tkfO{". This should return \u0924\u092A\u093E\u0908
.