0

How can I convert a unicode string like:

മാതൃഭൂമി

to:

മാതൃഭൂമി

in PHP?

It is not similar to other questions I found here. I used html_entity_decode() and it works fine in most places. But when looking up at the website from a mobile browser it shows wiered symbols.

Mathew Paret
  • 167
  • 2
  • 11
  • I also found this duplicate: [PHP: Convert unicode codepoint to UTF-8](http://stackoverflow.com/q/1805802/4577762) – FirstOne Mar 02 '16 at 14:59

1 Answers1

1
html_entity_decode("മാതൃഭൂമി");
Phil
  • 36
  • 2