Skip to content

Instantly share code, notes, and snippets.

View SHawnHardy's full-sized avatar
🎯
focus

Shang Hengyu SHawnHardy

🎯
focus
View GitHub Profile
@JamesChevalier
JamesChevalier / mac_utf8_insanity.md
Last active March 23, 2024 16:13
Unicode on Mac is insane. Mac OS X uses NFD while everything else uses NFC. This fixes that.

convmv manpage

Install convmv if you don't have it

sudo apt-get install convmv

Convert all files in a directory from NFD to NFC:

convmv -r -f utf8 -t utf8 --nfc --notest .