PHP getting a bunch of weird code \u0644\u064a\u0646\u0643 \u0627\u0644
Posted
by Webby
on Stack Overflow
See other posts from Stack Overflow
or by Webby
Published on 2010-06-02T12:08:42Z
Indexed on
2010/06/02
12:14 UTC
Read the original article
Hit count: 210
Hello I'm getting a bunch of weird html output in users messages
e.g.
\u0644\u064a\u0646\u0643 \u0627\u0644 \u0639\u0627\u0645\u0644
I assume their aribic characters decoded?
How can I perhaps preg replace all these codes with something a little more useful? because search results are filled with pages and pages of this stuff
Perhaps even display them as they're supposed to be?
Any advice what to do with such strings and how to implement them appreciated..
Please keep in mind this stuff is mixed in been common language letters / numbers
many thanks
© Stack Overflow or respective owner