It adds WP filters to normalize UTF-8 data coming into the system to Normalization Form C.
For best performance install PHP Internationalization Intl, which includes the PHP class Normalizer..
However the plugin works without the PHP Intl extension being installed, as it uses Symfony Normalizer polyfill..
For further info, see WP Trac ticket #30130 Normalize characters with combining marks to precomposed characters and this Make WP Core comment..
The plugin also works around Safari-specific issues raised by WP Trac ticket #22363 Accents attachment filenames should be sanitized..
For existing data, the plugin includes tool to scan and normalize the database.
This is important if your database contains non-normalized serialized data, as this plugin uses the technique as interconnect it's Database Search and Replace Script PHP to deal with serialized data, and is fallible..
The canonical way is to use the filter which returns array of filter names for instance, in your theme's functions php file, add function mytheme unfc extra filters { $extra filters = 'myfilter return $extra filters } add filter.
You can also add filter directly, to be called in the frontend or backend, by referencing the PHP variable unfc normalize, but you should ensure that the Normalizer polyfill is loaded if you don't have the PHP Intl extension installed global $unfc normalize if { if ) { If the.
Browse the code, check out SVN repository, or subscribe to the development log by RSS...
Read more