lib/util/charset: We do not use fucntions from wchar.h any more