Update to check for invalid code points manually (change in Elixir API).
Silence a Dialyzer warning.