When two seemingly equal strings don't match because they are using different unicode variants of the same symbol.
"One of the ways I waste time is by writing my name in my profile with different unicode character "fonts," 𝖑𝖎𝖐𝖊 𝖙𝖍𝖎𝖘 𝖔𝖓𝖊. I decided (in true programmer fashion) to write a tool that would help me save some time while wasting it" dev.to/hivickylai/a-u…
@ThePracticalDev I don't trust string comparison. I render both strings onto a texture and compare pixel by pixel
@ThePracticalDev Degree sign !== Masculine ordinal indicator
@ThePracticalDev Programming, where I learned that a space and a blank aren't the same... Alternative universe much.
@ThePracticalDev That's me and my colleague *exactly* today.
@ThePracticalDev When two strings don't test equal, because you forgot to surround the equal sign with spaces #shell #wastedafewhours
@ThePracticalDev Have you ever wondered why "ƒ" (Latin Small Letter F with Hook) & "ײַ" (Latin Small Letter F with Diagonal Stroke) are treated as different strings despite looking identical? #UnicodeConundrum