[Mailmunge] When reading body lines, getting confusing multiple space results
Dianne Skoll
dianne at skollsoft.com
Fri Sep 24 16:55:36 EDT 2021
On Fri, 24 Sep 2021 16:46:53 -0400
postfix--- via Mailmunge <mailmunge at lists.mailmunge.org> wrote:
> When reading the body lines using $body->open('r') and ($line =
> $io->getline) on some emails with multiple spaces such as "hello
> world" those spaces are getting converted to extended ascii
> characters chr(194)+chr(160) instead of being chr(32) spaces.
MIME::Tools gives you just exactly what is in the email; it doesn't do
any sort of conversion. So the original email must have those extended
characters in it.
Regards,
Dianne.
More information about the Mailmunge
mailing list