When I first learned how UTF-8 encoding works (to fix a text rendering bug in Wine) I was blown away. It's such a beautiful and simple encoding and it manages to be backwards-compatible with the most important encoding that existed before it. What an accomplishment.