Skip to content

purebred-mua/purebred-icu

Repository files navigation

purebred-icu

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.

Enabling during development

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

About

Additional charsets for purebred via ICU.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published