c# - Convert UTF8 string to UTF-16 in .net -


i have string utf8 , want convert unicode (utf16). please help.

if have file , know encoding of file utf8 can use streamreader read file if encoded in utf8.
regarding conversion utf8 unicode, comparing 2 different things. check link in comment question.
system.text.utf8encoding utf8 system.text.unicodeencoding utf16. check this link conversion. using encoding.convert()


Comments

Popular posts from this blog

Cursor error with postgresql, pgpool and php -

delphi - ESC/P programming! -

c++ - error: use of deleted function -