To reproduce:
- Load a UTF-16 CSV
- Create a
\DataKit\DataViews\Field\StatusIndicatorField
- Use
->mapping() to try and map a status
What you see:
There aren't any matches other than inactive because the match fails due to different bytes being compared.
Then use a UTF-8 CSV and it works.
See https://gravitykit.slack.com/archives/C076T3EQNS1/p1725134616822689 for a video (with sensitive data).