Re: [MlMt] text/plain?

2019-05-01 Thread Benny Kjær Nielsen
On 7 Apr 2019, at 3:27, Bill Cole wrote: On 6 Apr 2019, at 7:27, Randy Bush wrote: i presume the sender is thunderbird and they have created the text with some sort of windows encoding on a mac? Apparently. I've seen this in mail recently as well and suspect it may be a new default in

Re: [MlMt] text/plain?

2019-04-06 Thread Galen Menzel
Ok, here’s what’s going on: 1. The message is encoded in windows-1252, and contains non-breaking spaces (encoded as the byte 0xA0). 2. Your terminal is using a different character encoding (probably UTF-8), in which 0xA0 (as used) does not map to a character. (In UTF-8, 0xA0 is a

Re: [MlMt] text/plain?

2019-04-06 Thread Bill Cole
On 6 Apr 2019, at 7:27, Randy Bush wrote: i receive an email User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 PostboxApp/6.1.13 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit

Re: [MlMt] text/plain?

2019-04-06 Thread Sam Hathaway
I don’t think this is an encoding issue. I think it’s an issue with the original source of the text in the email. (It looks like it was possibly copied from a terminal interface of some sort… is that right?) In the terminal, you can use `tr` to fix this: ``` tr '\xA0' ' ' < mymail.txt >

Re: [MlMt] text/plain?

2019-04-06 Thread Galen Menzel
Would you be willing to send me a copy of the .eml file so I can take a look at it? On 6 Apr 2019, at 15:21, Randy Bush wrote: Looks like I confused windows-1252 with windows-1251 in some places in the message below my mind stops at the word 'windows' if it does not have an X in front. :)

Re: [MlMt] text/plain?

2019-04-06 Thread Steven M. Bellovin
On 6 Apr 2019, at 18:21, Randy Bush wrote: >> Do they occur in the email you received, or are they introduced by the >> way you are saving the text from the email? Examining the contents of >> the raw `.eml` file is the first step to figuring that out. > > if i drag the message from mailmate to

Re: [MlMt] text/plain?

2019-04-06 Thread Randy Bush
> Looks like I confused windows-1252 with windows-1251 in some places in > the message below my mind stops at the word 'windows' if it does not have an X in front. :) > the question remains, at what point are those non-breaking spaces > being translated into ``. if i save the messge body and

Re: [MlMt] text/plain?

2019-04-06 Thread Galen Menzel
Looks like I confused windows-1252 with windows-1251 in some places in the message below, but nbsp is 0xa0 in both encodings, and the question remains, at what point are those non-breaking spaces being translated into ``. Do they occur in the email you received, or are they introduced by the

Re: [MlMt] text/plain?

2019-04-06 Thread Galen Menzel
They’re using [Postbox](https://www.postbox-inc.com/). [windows-1252](https://en.wikipedia.org/wiki/Windows-1251) is an 8-bit extended ascii encoding, which Postbox supports. The character with the `A0` character code in the windows-1251 encoding is the [non-breaking

[MlMt] text/plain?

2019-04-06 Thread Randy Bush
i receive an email User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 PostboxApp/6.1.13 MIME-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US the text has