String encoding related code.

Add function to encode/decode UTF8.
Merge branch 'json-branch'
Assign Json String Value

Assign String value to json object as UTF8.