Adding support for UTF8 characters in subject names for printing debug output