Add a character code conversion function using icu