make RFC5952-compliant strings