Fixes #4 (Accented/special characters)

"Fixes" is possibly an exaggeration here - there may be other cases this
doesn't work for... but I'll be damned if I can work out how to identify
them.