MarkHedleyJones / dmenu-extended

An extension to dmenu for quickly opening files and folders.
MIT License
387 stars 33 forks source link

Fix UnicodeEncodeError exception handling (#160) #163

Closed marczuo closed 1 month ago

marczuo commented 2 months ago

When build_cache() encounters a UnicodeEncodeError, the original code did not escape unprintable chars and caused the cache build to fail. This patch fixes the code so that the culprit is correctly printed in debug mode.

Fixes issue #160.

MarkHedleyJones commented 1 month ago

You're awesome, thanks for updating your branch. 🙇🏽