jlkatz / OCTGN.OCTGNDeckConverter

A comprehensive OCTGN deck converter for OCTGN 3 which can convert several formats, websites, and plain text into the OCTGN 3 format.
http://octgngames.com/deckconverter/
7 stars 9 forks source link

Plaintext matching should ignore special characters #11

Closed janbj closed 9 years ago

janbj commented 10 years ago

The Call of Cthulhu OCTGN plugin is using certain special characters in the card names to represent properties such as Unique (*) and Steadfast (_, {, }, ], [, < and >). These should be ignored when matching card names in plaintext.

kyler133 commented 10 years ago

I believe my issue is related. I have noticed problems with non-standard characters with my MTG imports. One example is this card: "Azorius Æthermage" http://gatherer.wizards.com/pages/Card/Details.aspx?multiverseid=111256

The Æ doesn't really translate.

While I'm here I just wanted to say how much I appreciate this software. It works great and really makes it easy for me to use OCTGN. Thank you!

jlkatz commented 10 years ago

Thanks for the feedback janbj, and kylser133. I'll look at your pull request and promote it shortly. I'm traveling at the moment, so it might be a few days. -Justin

jlkatz commented 9 years ago

I fixed this specifically for the Call of Cthulhu game, using your code as a basis for that. Thanks for your contribution!