My name in the modern world

My last name is a technical hurdle. At least, for many people. In this high-tech, modern, globalized society, one would expect that a simple accented character shouldn’t be an issue. After all, even a small child can write Stüvel correctly with a stick in the mud. So why is it such an issue in the world of computers?

To demonstrate the issue, here is a list of ways that I have seen my name appear:

  1. Stüvel
  2. St??vel
  3. St�vel
  4. St++vel
  5. Stüvel
  6. St\xc3\xbcvel
  7. St vel
  8. St☐☐vel
  9. St³vel
  10. StĂźvel
  11. StÃ╝vel
  12. St? <Input Name=
  13. St~vel
  14. StÃ☐üvel
  15. StÃOvel
  16. St?üvel
  17. St��vel
  18. St?vel
  19. “your last name contains illegal characters”
  20. “your last name should contain at least one alphabet”, “only enter alphabetical characters”, etc.
  21. STÃœVE
  22. Stãœvel
  23. “you did not fill in a last name” and variants thereof
  24. St
  25. “your last name should contain only letters”
  26. St_f_»vel
  27. Stüvel

The root cause? Often software is only tested with what the developers & testers can easily type on their keyboard. As a result, they use the characters from the ASCII set, which happens to be the common dinominator between many character encodings. If you want to ensure your system correctly handles character data, test with non-ASCII characters. Go to Wikipedia, pick a random article in a language you don’t know, and just copy-paste some text into your application. Your system should be set up to handle this. Preferably by using UTF-8, but as a worst-case it should at least let the user know that non-ASCII characters aren’t supported.

And please, don’t call those “illegal” or “special” characters. It’s not a property of the characters, but a limitation of your system. Those limitations are usually simple to lift, as long as testing with non-ASCII characters is part of the development process.

Let’s move into the modern world, and accept the view that there are more names than English ones. The best thing to read after this, one of my favourite pages on the web, Falsehoods Programmers Believe About Names.

dr. Sybren A. Stüvel
dr. Sybren A. Stüvel
Open Source software developer, photographer, drummer, and electronics tinkerer

Related