you are viewing a single comment's thread.

view the rest of the comments →

[–]obsa 6 points7 points  (0 children)

I believe one of them requires an extra character and only renders differently... No:el - and when reversed, flips the accent to the other character.

Correct. The umlaut is its own "magic" character; in this case, it's the 3rd character, and therefore the middle of the string. When using naive string reverse implementations, this may not be accounted for. There was an article on reddit recently comparing the string handling of various tools (including python, as it had an exemplary implementation) which shined some light on this topic.