Administrator

Administrator

  • Tech Writer
  • 2.2k
  • 1.5m

UTF conversions

Apr 15 2003 1:59 AM
i want to know how to convert a utf8 format string back to a byte array. for eg if i have a byte array dim bytarr() as Byte ' something in bytarr dim str as string str=System.Text.Encoding.UTF8.GetString(bytarr) now how can i convert str back to byte array that it was before i converted ??

Answers (1)