You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This library is leverage Erlang native NIF mechanism to provide
extremely fast and efficient processing.
The library includes support for several Stringprep profiles used in
XMPP protocole like:
Nodeprep
Nameprep
Resourceprep
For those profiles, the rules are applied according to
RFC6122. The
various functions perform check on the allowed / forbidden chars for a
given profile or prevent combining left-to-right and right-to-left
chars.
It the binary string passed to a function of the API is valid, it will
return its normalized version according to Stringprep
profile. Otherwise, if the binary string is invalid, for example
because it contains invalid chars, the function will return error.
The library is heavily used in XMPP string processing. However, the
library is more generally useful in code that need to manipulate and
compare Unicode strings.
Building
Fast Stringprep processing tool can be build as follow:
./configure && make
Configure script recognizes one flag - pass --enable-gcov to enable gcov
coverage reporting.
It is a rebar-compatible OTP application. Alternatively, you can build
it with rebar: