uri encode selected text