fix possible encoding-to-ascii error (e.g. for issue with non-ascii in ticket summary)