gnuidn-0.2.2: Bindings for GNU IDN

Safe HaskellNone
LanguageHaskell98

Data.Text.IDN.StringPrep

Contents

Synopsis

Stringprep

data Flags Source #

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 Source # 
Instance details

Defined in Data.Text.IDN.StringPrep

Methods

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

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

Show Flags Source # 
Instance details

Defined in Data.Text.IDN.StringPrep

data Error Source #

Instances
Eq Error Source # 
Instance details

Defined in Data.Text.IDN.Internal

Methods

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

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

Show Error Source # 
Instance details

Defined in Data.Text.IDN.Internal

defaultFlags :: Flags Source #

defaultFlags = Flags True True False

Profiles

iscsi :: Profile Source #

iSCSI (RFC 3722)

kerberos5 :: Profile Source #

Kerberos 5

nameprep :: Profile Source #

Nameprep (RFC 3491)

sasl :: Profile Source #

SASLprep (RFC 4013)

saslAnonymous :: Profile Source #

Draft SASL ANONYMOUS

xmppNode :: Profile Source #

XMPP node (RFC 3920)

xmppResource :: Profile Source #

XMPP resource (RFC 3920)