PHP Unicode Conversion Problems

Unicode conversion in PHP

“For URL Links ” with [ dr-th%c3%a9r%c3%a8se-coffey ]

html_entity_decode ( dr-th%c3%a9r%c3%a8se-coffey" , ENT_QUOTES );

“For Unicode ” with [ érèse ]

utf8_encode ( html_entity_decode ( "érèse"   , ENT_QUOTES ) )

“For Unicode Json ” with [ érèse ]

utf8_encode ( html_entity_decode ( "érèse"   , ENT_QUOTES ) )

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s