Unicode::Confusable
Unicode::Confusable.confusable? "ℜ𝘂ᖯʏ", "Ruby" # => true
There are many Unicode characters that look very similar or even the same, but are represented by different codepoints. For example, there is no visual difference between some latin and cyrillic letters: “C” vs “С”. The unicode-confusable gem can be used to compare if two strings look very similar.
Comments
This is really cool, thank you for sharing (and making)!
Thank you!
Post a comment