Page 1 of 1

get utf8 equivelant

Posted: Fri Apr 17, 2009 5:00 pm
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?