:right-sidebar: True NormalizeMode =================================================================== .. currentmodule:: gi.repository.GLib .. class:: NormalizeMode :no-contents-entry: Defines how a Unicode string is transformed in a canonical form, standardizing such issues as whether a character with an accent is represented as a base character and combining accent or as a single precomposed character. Unicode strings should generally be normalized before comparing them. Fields ------ .. rst-class:: interim-class .. class:: NormalizeMode :no-index: .. attribute:: ALL Beyond :const:`~gi.repository.GLib.NormalizeMode.DEFAULT` also standardize the "compatibility" characters in Unicode, such as SUPERSCRIPT THREE to the standard forms (in this case DIGIT THREE). Formatting information may be lost but for most text operations such characters should be considered the same .. attribute:: ALL_COMPOSE Like :const:`~gi.repository.GLib.NormalizeMode.ALL`, but with composed forms rather than a maximally decomposed form .. attribute:: DEFAULT Standardize differences that do not affect the text content, such as the above-mentioned accent representation .. attribute:: DEFAULT_COMPOSE Like :const:`~gi.repository.GLib.NormalizeMode.DEFAULT`, but with composed forms rather than a maximally decomposed form .. attribute:: NFC Another name for :const:`~gi.repository.GLib.NormalizeMode.DEFAULT_COMPOSE` .. attribute:: NFD Another name for :const:`~gi.repository.GLib.NormalizeMode.DEFAULT` .. attribute:: NFKC Another name for :const:`~gi.repository.GLib.NormalizeMode.ALL_COMPOSE` .. attribute:: NFKD Another name for :const:`~gi.repository.GLib.NormalizeMode.ALL`