How to write to a file in Unicode in Vb.Net
- by Craig Johnston
How should I modify the following Vb.Net code to write str to the file in unicode?
Do I need to convert str to Unicode before writing to the file?
Using sw As StreamWriter = New StreamWriter(fname)
sw.Write(str)
sw.Close()
End Using