cm0002@no.lastname.nz to Funny@sh.itjust.worksEnglish · 1 day agoAny day nowlemmy.mlimagemessage-square49fedilinkarrow-up1534arrow-down19
arrow-up1525arrow-down1imageAny day nowlemmy.mlcm0002@no.lastname.nz to Funny@sh.itjust.worksEnglish · 1 day agomessage-square49fedilink
minus-squareJackbyDev@programming.devlinkfedilinkEnglisharrow-up2·3 hours agoThere are plenty of non ASCII characters that are okay in code. ñ comes to mind. There are also box drawing characters.
minus-squarepftbest@sh.itjust.workslinkfedilinkarrow-up1·55 minutes agoWe 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)
There are plenty of non ASCII characters that are okay in code. ñ comes to mind. There are also box drawing characters.
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: