sebbASF commented on issue #488: wrong encoding in attachment breaks import
URL: 
https://github.com/apache/incubator-ponymail/issues/488#issuecomment-479144331
 
 
   Could also try replacing the print statement with the following:
   
   print("Found attachment: %s" % 
filename.encode('ascii','xmlcharrefreplace').decode('ascii'))
   
   This should allow the name to be printed on an ASCII terminal.
   Non-ASCII characters such as u-umlaut will be converted to the form: 
'ü' 
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to