If WITH_ICU CMake option is set the unicode conversion routines use ICU instead of custom conversion code.