Translate this page

Decode E-mail Chinese Characters English Outlook iPhone Mojibake 🔗

If you get an e-mail with Chinese characters instead of Latin characters see how to decode below.

Simplified Example 🔗

# file.py
import sys
print(sys.argv[1].encode('utf-16be'))
$ python file.py
    "㱨瑭氠摩爽≬瑲∾㱨敡搾਼浥瑡⁨瑴瀭敱畩瘽≃潮瑥湴ⵔ祰..."
    > content.html
$ google-chrome content.html

HTML Output 🔗

$ python file.py
    "㱨瑭氠摩爽≬瑲∾㱨敡搾਼浥瑡⁨瑴瀭敱畩瘽≃潮瑥湴ⵔ祰..."
<html dir="ltr"><head>
<meta
    http-equiv="Content-Type"
    content="text/html; chars...

Subscribe to my mailing list and get a free email course

* indicates required

Interests


Translate this page

Updated on 2019 Apr 23.

DISCLAIMER: This is not professional advice. The ideas and opinions presented here are my own, not necessarily those of my employer.