I have configured an email listener port and reading emails over it. My listener service has ‘contentStream’ object as input. Inside theservice, am invoking pub.io:streamToString with contentStream as input to read the stream to string. I haven’t specified any encoding. Issue is, for all the ‘+’ symbol in the actual email, its reading them as ‘& #43;’, which seems to be its ASCII value. How do i read it as a regular (UTF-8) string ?
Am using Microsoft outlook to send the email.