Pybites Logo

Filter out accented characters

Level: Intermediate (score: 3)

Another unicode Bite. Given some non-English text with accents (á, é, í, used in Spanish for example), extract the accented characters. That's it.

Check out the unicodedata module which should make this fairly straightforward.

Another unicode Bite you can take is: Bite 126. The Emoji (Unicode) Bite.

Have fun and if you have ideas for more unicode Bites, please let us know on Slack.