This is a port to Elm of (c) Chris Veness library to encode / decode between multi-byte Unicode characters and UTF-8 multiple single-byte character encoding.
To use, simply import the main namespace:
import Recovered.UTF8
or specific function(s):
import Recovered.UTF8 exposing (toMultiByte,toSingleByte)
This package was formerly spisemisu/elm-utf8, but was deleted from GitHub and recovered as billstclair/elm-recovered-utf8.
The original code is now at https://gitlab.com/spisemisu/elm-utf8, but that can't (yet) be referenced from elm-package.json
.
Indexed at billstclair/elm-recovered.