add support for ucs2

utf8 loading is 3 times slower