don't load utf8 stuff unless necessary

loading utf8 stuff is slow, so this should help a bit with startup time