encode full string?