String to UTF8

I need to change string character set - something like iconv function in php. Is this possible? Thanks