encode quote to utf-8 before urlencoding