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

KISS, DRY, SOLID, YAGNI — A Simple Guide to Some Principles of Software Engineering and Clean Code

1 — KISS (Keep It Simple, Stupid)  Simplicity triumphs over complexity. Direct and clear codes are better for developing, maintaining, and s...