Make sure to use UTF8 when scanning types.