Flolagale / mailin

Artisanal inbound emails for every web app
mailin.io
MIT License
1.95k stars 151 forks source link

ISO-8859-8-I support #68

Open DeepSpace2 opened 8 years ago

DeepSpace2 commented 8 years ago

@Flolagale In the past this used to work, but currently I can't get it to work. Whenever I receive mail with UTF-8 all I get is question marks, which is also passed in the JSON to the webhook (A Python/Django server). I tried it on 2 machines, one with Ubuntu 14.04 and the second with Ubuntu Server.

The problem can be seen in the screenshot in the 'subject' and 'from' fields. untitled

DeepSpace2 commented 8 years ago

As it turns out, the problem is actually with the ISO-8859-8-I encoding, as I managed to get this error:

" Encoding not recognized: 'ISO-8859-8-I' "

sumioka commented 8 years ago

Thanks developers!

ISO-2022-JP, too.
Error message is as below

[Error: Encoding not recognized: 'ISO-2022-JP' (searched as: 'iso2022jp')]

using ms exchange server 2010 and outlook2013,

"accept-language":"ja-JP, en-US","content-language":"ja-JP","x-ms-has-attach":"","x-ms-tnef-correlator":"","content-type":"text/plain; charset=\"iso-2022-jp\"","mime-version":"1.0"