[PATCH 2/2] kernelbase: Use translated Unicode default char to check invalid chars.