This will not work with non-latin names. See the `unicode` module if you want this example to be unicode proof. @macintux  is also a great resource on this topic.