3 ms·
In one of my work projects it was the Turkish İ that gave us trouble. In some case-insensitive text searching code, we matched the lowercase query against the l
by throwaway173920 2y ago
In one of my work projects it was the Turkish İ that gave us trouble. In some case-insensitive text searching code, we matched the lowercase query against the lowercase text, and had to handle cases like that specially to avoid reporting the wrong matching span in the original text, since the lowercase string would have a different length than the uppercase string. This was one of my first real-world projects and opened my eyes a bit to the importance of specifications and standards.
- johannes1234321 2y agoIn PHP the Turkish locale caused quite some trouble. In some situations a different locale was used for compiling and for runtime while handling "case-insensiteve" identifiers, fo that sometimes names with an "I" could not be found anymore.
- pavel_lishin 2y agoCan't mention the Turkish case situation without mentioning the actual murder that took place because of it: https://languagelog.ldc.upenn.edu/nll/?p=73 https://languagelog.ldc.upenn.edu/nll/?p=73
- Filligree 2y agoThe murder is a tragedy, of course, but I would hesitate to blame the cellphone. There’s overreactions, and then there’s… this.
- oguz-ismail 2y ago[flagged]
- hinkley 2y agoExcept in this case the phone was the dress.
- Rendello 2y agoI had this exact bug with the same character: https://github.com/rendello/layout/issues/8#issuecomment-2353933344 https://github.com/rendello/layout/issues/8#issuecomment-235...