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

c# - how to write client side events functions for the combobox items -

exception - Python, pyPdf OCR error: pyPdf.utils.PdfReadError: EOF marker not found -