Thursday 9 February 2017

Text encode format for multi language support in text field

Text encode format for multi language support in text field:
------------------------------------------------------------

Frong End -> encodeURIComponent(encodeURIComponent(searchKey))

Backend -> text=java.net.URLDecoder.decode(text, "UTF-8");

No comments:

Post a Comment