try urlencode (failed)
add htmlencode refactor urlencode