purebred-icu-0.1.0.0: ICU charset support for purebred

Safe HaskellNone
LanguageHaskell2010

Purebred.Plugin.ICU

Description

Add support for many more charsets to the purebred MUA. It uses the text-icu library (and libicu under the hood) to convert text.

To enable text-icu:

import Purebred
import qualified Purebred.Plugin.ICU

main = purebred $ tweak defaultConfig
  where
    tweak :: UserConfiguration -> UserConfiguration
    tweak = enable
Synopsis

Documentation

icuCharsets :: CharsetLookup Source #

Just the ICU charset lookup function, in case you want to use it by itself, or combine it with other lookups differently from how enable combines them.

enable :: UserConfiguration -> UserConfiguration Source #

Install the ICU charsets, preserving and preferring the existing lookup function.