sandywp / plugins / wp-sanitize-accented-uploads
WP Sanitize Accented Uploads
Simple plugin which removes accented characters from uploaded files.
Ready in seconds.
v1.2 800+ installs WP 4.0+

About this plugin
WordPress plugin which removes all accented characters like åöä from future uploads and has easy wp-cli command for removing accents from current uploads and attachment links from database.
This helps tremendously with current and future migrations of your site and helps you to avoid strange filename encoding bugs.
Sanitize accents from Cyrillic, German, French, Polish, Spanish, Hungarian, Czech, Greek, Swedish.
This even removes rare but possible unicode NFD characters from files by using PHP Normalizer class. These usually happen if you have mounted uploads into your vagrant box in OS-X.
This plugin is wordpress multisite compatible.
More information in github page: https://github.com/devgeniem/wp-sanitize-accented-uploads
Questions
- Does this fix my uploads if my filenames have already been corrupted
No, sorry :(. You need to start using this before the problems arise in preventive way.
- How to use wp-cli command
After the plugin installation and activation you can run
$ wp sanitize allin terminal to sanitize all current files.See
$ wp sanitize --helpfor more.
sandywp / also on the shelf
Try another plugin
5.0 · 8K+ installs
Automatically removes accented characters from text content uppercase transformed through CSS.
5.0 · 400+ installs
Sanitize media filenames to remove non-latin special characters and accents
jQuery Remove Uppercase Accents
5.0 · 100+ installs
Automatically replaces accented characters (currently greek) from elements having their text content uppercase transformed…
Spin up a real WordPress site in seconds.
Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.