this post was submitted on 15 Nov 2025
591 points (98.5% liked)

Funny

12301 readers
1749 users here now

General rules:

Exceptions may be made at the discretion of the mods.

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] pftbest@sh.itjust.works 3 points 1 day ago (1 children)

We don't use them in my project, I only added an exception for ©®™ and such. You can easily whitelist any character range you need. My command looks like this:

- (! grep -r -I -P '[^\x{00}-\x{7f}©®™°]' src)
[–] JackbyDev@programming.dev 3 points 22 hours ago

This is goofy, I'm not gonna fail a build because somebody used some random Unicode character. That's draconian.