gnuidn-0.2.2: Bindings for GNU IDN

Safe HaskellNone
LanguageHaskell98

Data.Text.IDN.StringPrep

Contents

Synopsis

Stringprep

data Flags #

Constructors

Flags 

Fields

  • enableNFKC :: Bool

    Enable the NFKC normalization, as well as selecting the NFKC case folding tables. Usually the profile specifies BIDI and NFKC settings, and applications should not override it unless in special situations.

  • enableBidi :: Bool

    Enable the BIDI step. Usually the profile specifies BIDI and NFKC settings, and applications should not override it unless in special situations.

  • allowUnassigned :: Bool

    If false, stringprep will return an error if the input contains characters not assigned to the profile.

Instances

Eq Flags # 

Methods

(==) :: Flags -> Flags -> Bool #

(/=) :: Flags -> Flags -> Bool #

Show Flags # 

Methods

showsPrec :: Int -> Flags -> ShowS #

show :: Flags -> String #

showList :: [Flags] -> ShowS #

data Error #

Instances

Eq Error # 

Methods

(==) :: Error -> Error -> Bool #

(/=) :: Error -> Error -> Bool #

Show Error # 

Methods

showsPrec :: Int -> Error -> ShowS #

show :: Error -> String #

showList :: [Error] -> ShowS #

defaultFlags :: Flags #

defaultFlags = Flags True True False

Profiles

data Profile #

iscsi :: Profile #

iSCSI (RFC 3722)

kerberos5 :: Profile #

Kerberos 5

nameprep :: Profile #

Nameprep (RFC 3491)

sasl :: Profile #

SASLprep (RFC 4013)

saslAnonymous :: Profile #

Draft SASL ANONYMOUS

xmppNode :: Profile #

XMPP node (RFC 3920)

xmppResource :: Profile #

XMPP resource (RFC 3920)