Supports escaping of non ascii characters