Given a character code as integer number in one encoding, how can you get the character code in, say, utf-8 and again as integer?