multi language support api_alloc_wstring_len neko

part 2 for multi language support. With this updates NME TextField.text can accept different cultural languages on neko target.