6.6. stringprep

: Lib/stringprep.py


() "" ""

RFC 3454 Unicode " (prepare)" RFC stringprep stringprep nameprep

The module stringprep only exposes the tables from RFC 3454. As these tables would be very large to represent them as dictionaries or lists, the module uses the Unicode character database internally. The module source code itself was generated using the mkstringprep.py utility.

RFC 2 : stringprep " (characteristic function)" :

stringprep.in_table_a1(code)

code A.1 (Unicode 3.2 : unassigned code point)

stringprep.in_table_b1(code)

code B.1 (: commonly mapped to nothing)

stringprep.map_table_b2(code)

B.2 (NFKC ) code

stringprep.map_table_b3(code)

B.3 () code

stringprep.in_table_c11(code)

code C.1.1 (ASCII )

stringprep.in_table_c12(code)

code C.1.2 ( ASCII )

stringprep.in_table_c11_c12(code)

code C.1 (C.1.1 C.1.2 )

stringprep.in_table_c21(code)

code C.2.1 (ASCII )

stringprep.in_table_c22(code)

code C.2.2 ( ASCII )

stringprep.in_table_c21_c22(code)

code C.2 (C.2.1 C.2.2 )

stringprep.in_table_c3(code)

code C.3 ()

stringprep.in_table_c4(code)

code C.4 (: non-character code points)

stringprep.in_table_c5(code)

code C.5 ()

stringprep.in_table_c6(code)

code C.6 (:plain text )

stringprep.in_table_c7(code)

code C.7 (:canonical representation )

stringprep.in_table_c8(code)

code C.8 ()

stringprep.in_table_c9(code)

code C.9 ()

stringprep.in_table_d1(code)

code D.1 ( "R" "AL" )

stringprep.in_table_d2(code)

code D.2 ( "L" )