A library adding support for many more charsets to the purebred MUA. It uses the /text-icu/ library (and /libicu/ under the hood) to convert text.
After you've cloned purebred and purebred-icu, you can use a cabal project file :
# clone purebred-icu as well into an adjacent directory to purebred
# and make cabal aware of purebred *and* purebred-icu necessary to build
echo "packages: ., ../purebred-icu" > cabal.project.local
# install purebred and the purebred-icu plugin
$ cabal install exe:purebred
$ cabal install --lib purebred-icu
Enable the plugin in ~/.config/purebred/purebred.hs
:
import Purebred
import qualified Purebred.Plugin.ICU
main :: IO ()
main = purebred
[ Purebred.Plugin.ICU.plugin
-- , other plugins
]
Then run Purebred (assuming your cabal bindir is on PATH
):
$ purebred