Allow UTF8 names in types (fix #118)

Ok, should be good, I added tests (☺) and they pass on my laptop.