handle unicode when generating COinS