string to unicode notation

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
agriz
Forum Contributor
Posts: 106
Joined: Sun Nov 23, 2008 9:29 pm

string to unicode notation

Post by agriz »

Hi,

I want unicode string to be converted to unicode notation to use it in flash

utf-8 to \uxxxx
Please let me know the php function for this.

Thanks
User avatar
flying_circus
Forum Regular
Posts: 732
Joined: Wed Mar 05, 2008 10:23 pm
Location: Sunriver, OR

Re: string to unicode notation

Post by flying_circus »

A quick search through the comments on the ord() function on PHP provided this comment:

http://us3.php.net/manual/en/function.ord.php#82193

I hope this helps :)
Post Reply