Python stringprep library functions in_table_c11 in_table_c12 and in_table_c11_c12














































Python stringprep library functions in_table_c11 in_table_c12 and in_table_c11_c12



Python Stringprep Library

Stringprep describes a framework for preparing Unicode text strings in order to increase the possibility that string input and string comparison work in ways that make sense for typical users throughout the world.

Some functions of stringprep discussed here are as follows:

1. stringprep.in_table_c11(code)
2. stringprep.in_table_c12(code)
3. stringprep.in_table_c11_c12(code)

1. stringprep.in_table_c11(code):

This function in python stringprep library returns "True" or "False" depending on whether the given Unicode code point passed as argument is listed in the Table C.1.1.
This Table C.1.1 contains the ASCII space characters.
This table has only one entry and that is for the space character " ".

To view the table visit: https://datatracker.ietf.org/doc/html/rfc3454#appendix-C.1.1



2. stringprep.in_table_c12(code):

This function in python stringprep library returns "True" or "False" depending on whether the given Unicode code point passed as argument is listed in the Table C.1.2.
This Table C.1.2 contains the Non-ASCII space characters.
This table has characters such as NO-BREAK SPACE, OGHAM SOACE MARK, FIGURE SPACE, etc.

To view the table visit: https://datatracker.ietf.org/doc/html/rfc3454#appendix-C.1.2



3. stringprep.in_table_c12(code):

This function in python stringprep library returns "True" or "False" depending on whether the given Unicode code point passed as argument is listed in the Table C.1.
This Table C.1 contains two tables for all the space characters whether it is ASCII or NON-ASCII.
It has two tables Table C.1.1 (that contains ASCII space characters) and Table C.1.2 (that contains Non-ASCII space characters).

To view the table visit: https://datatracker.ietf.org/doc/html/rfc3454#appendix-C.1





More Articles of Arkaja Sharan:

Name Views Likes
Python codecs Library Error Handling schemes module functions 96 0
Python codecs Library Error Handler register_error and lookup_error functions 91 0
Python codecs Library Error Handlers 96 0
Python codecs Library open and EncodedFile functions 81 0
Python codecs Library iterencode and iterdecode functions 106 0
Python codecs Library register and unregister functions 79 0
Python codecs Library getreader and getwriter functions 91 0
Python codecs Library getincrementalencoder and getincrementaldecoder 75 0
Python codecs Library getencoder and getdecoder functions 84 0
Python Introduction to codecs Library 110 0
Python fcntl Library flock and lockf functions 95 0
Python fcntl Library fcntl and ioctl functions 112 0
Python Resource Library resource usage functions 103 0
Python Resource Library resource usage symbolic constants 83 0
Python Resource Library Resource Limit Functions 97 0
Python resource library resource limit symbolic constants 97 0
Python Introduction to Resource Library 81 0
Python stringprep Library in_table_d1 and in_table_d2 functions 88 0
Python stringprep Library in_table_c8 and in_table_c9 functions 92 0
Python stringprep Library in_table_c5 in_table_c6 and in_table_c7 functions 81 0
Python stringprep Library in_table_c3 and in_table_c4 functions 88 0
Python stringprep library in_table_c21 in_table_c22 and in_table_c21_c22 89 0
Python stringprep library functions in_table_c11 in_table_c12 and in_table_c11_c12 89 0
Python Introduction to stringprep Library 93 0
Python unicodedata library is_normalized unidata_version and ucd_3_2_0 85 0
Python Unicodedata Library functions normalize and decomposition 148 0
Python Unicodedata Library functions east_asian_width and mirrored 94 1
Python Unicodedata Library category bidirectional and combining functions 131 0
Introduction to Unicodedata library lookup and name functions 87 0
Unicode Library decimal digit and numeric functions 91 0
Introduction to Unicode Data library 0 0

Comments