Reputation: 5
This is not a favicon as others had corrected another post.
This is how Expedia page source code looks:
<title data-sctid="title" data-sct-hidden="true">π¨ Atlantic City Hotels: Find 122 Cheap Hotel Deals in Atlantic City, NJ | Expedia</title>
the result page in google shows this http://goo.gl/YEjujq
I tried to insert π¨ into
$this->set('title_for_layout', "π¨ Atlantic City Hotels: 28 Cheap Hotel Deals AtlanticCity.com");
but can not save since I get this error
Text encoding Western (ISO Latin 1) isnβt applicable.
Upvotes: 0
Views: 128
Reputation: 29032
Just as Tsahi says, that character is not valid in that particular encoding.
What you can do, is try its unicode or html character codes:
$this->set('title_for_layout', "🏨 Atlantic City Hotels...
or
$this->set('title_for_layout', "\uD83C\uDFE8 Atlantic City Hotels...
Upvotes: 1
Reputation: 1810
that's because this character is (probably) not part of the Latin 1 code page. you should encode your page in Unicode (UTF-8 is what's usually being used) for it to work.
Upvotes: 0