gnuidn-0.2.1: Bindings for GNU IDN

Safe HaskellNone

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

data Error Source

Instances

defaultFlags :: FlagsSource

defaultFlags = Flags True True False

Profiles

iscsi :: ProfileSource

iSCSI (RFC 3722)

kerberos5 :: ProfileSource

Kerberos 5

nameprep :: ProfileSource

Nameprep (RFC 3491)

sasl :: ProfileSource

SASLprep (RFC 4013)

saslAnonymous :: ProfileSource

Draft SASL ANONYMOUS

xmppNode :: ProfileSource

XMPP node (RFC 3920)

xmppResource :: ProfileSource

XMPP resource (RFC 3920)