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 `<A0>`. 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.

Best,

Galen

On 6 Apr 2019, at 10:51, Galen Menzel wrote:

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 space](https://en.wikipedia.org/wiki/Non-breaking_space). So somewhere along the way the non-breaking spaces are being replaced by `<A0>`.

Does this `<A0>` stuff show up when you view the raw message in MailMate (with ⌥⌘U)?

What happens if you use `less` to view the message’s `.eml` file?

Best,

Galen


On 6 Apr 2019, at 4: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
    Content-Language: en-US

the text has funny space characters that i see if i save the text to
disk and look at it with less

    <A0>0.<A0><A0> flo....: 2.31 2018.11.03

<A0><A0><A0><A0><A0><A0><A0><A0><A0><A0> 1.<A0><A0> CLIMATE ACTION <A0><A0><A0><A0><A0><A0><A0><A0><A0><A0><A0><A0><A0> * (N)ew (M)odify (D)elete..: N

<A0><A0><A0><A0><A0><A0><A0><A0><A0><A0> 2. * NAME OF CLOUD: cumulus

i presume the sender is thunderbird and they have created the text with
some sort of windows encoding on a mac?

how can i save the content as vanilla ascii text?

randy
_______________________________________________
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate


_______________________________________________
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate

Reply via email to