roundcube - Decode string into Readable format PHP -
decode following string proper human readable string using php
=?utf-8?q?=f0=9f=8e=81congratulation_dear,you_are=5fselected_for=5fonline?= =?utf-8?q?=f0=9f=8e=81cash=5floan_upto=f0=9f=8e=8110,000/-?=
use php function imap_mime_header_decode() decode it.
for string posted in question returns this:
array ( [0] => stdclass object ( [charset] => utf-8 [text] => 🎁congratulation dear,you are_selected for_online ) [1] => stdclass object ( [charset] => utf-8 [text] => 🎁cash_loan upto🎁10,000/- ) ) the unprintable character (u+1f381) represents, according unicode.org, "wrapped present". this if displayed using font contains it.
Comments
Post a Comment