Add an url-encode method to support asian language.