Could anyone guide me on how to convert char to hex in javascript? For example:
\"入力されたデータは範囲外です。\" to \"\\u5165\\u529B\\u3055\\
You can just use ordinary replace() for this.
replace()
'! \u0100 力