OldManUmby / DND.SRD.Wiki

Dungeons & Dragons 5th Edition SRD converted to Markdown.
https://srd.wiki
328 stars 97 forks source link

Fix "control characters" (=non-ascii) in Obsidian #29

Closed ogregoire closed 2 years ago

ogregoire commented 2 years ago

The spells contain a lot of weird characters in the range 0x80-0xFF. I removed all of those, except for × and ½ which are the only semantic unicode characters outside the ASCII range.

The command used to find those characters is the following:

find Documents -type f -exec grep --binary -P "[\x80-\xff]" {} + | grep -v "[×½]"
OldManUmby commented 2 years ago

Good catch. I'll merge the pull request. THX!