Use codecvt for conversion between UTF-8 and UTF-16, FS:USER functions