removed truncate
encode URI strings