get utf8 equivelant

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
User avatar
jazz090
Forum Contributor
Posts: 176
Joined: Sun Apr 12, 2009 3:29 pm
Location: England

get utf8 equivelant

Post by jazz090 »

is there any function that takes any charachter and outputs the UTF-8 equivelant such as that
‘ (single left quote) will translate to \xE2\x80\x98 or other hexadecimal equivelent?
Post Reply