Got rid of double conversion (jchar* -> char* [utf8] -> wchar_t*), using direct cast (jchar to wchar_t) instead, should be way faster