fix wrong text encoding bug when using non-iso character.

When using httpclient connector, if I set entity's label to Chinese, will get '?' when getting the value back. this pull fix this issue.