On 13/10/2022 9:27 PM, bauss wrote:
This doesn't actually work properly in all languages. It will probably
work in most, but it's not entirely correct.
Ex. Turkish will not work with it properly.
Very interesting article:
http://www.moserware.com/2008/02/does-your-code-pass-turkey-test.html
Yes turkic languages, they require a state machine and quite a bit of
LUTs to work correctly.
You also need to provide a language and it has to operate on the whole
string, not individual characters.
I didn't think it was relevant since Ascii was in the original post ;)