Groups | Blog | Home
all groups > vb.net > february 2007 >

vb.net : Encoding


Herfried K. Wagner [MVP]
2/9/2007 5:29:02 PM
"AppleDopod" <hk_007@hotmail.com> schrieb:
Is it possible to output a .txt file in utf16 encoding using vb.net?

Yes, pass 'System.Text.Encoding.Unicode' in the appropriate parameter of the
'StreamWriter''s constructor.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
AppleDopod
2/9/2007 7:19:39 PM
Hi,

Is it possible to output a .txt file in utf16 encoding using vb.net?

Thanks in advance!!

Stephany Young
2/10/2007 12:40:47 AM
Yes


[quoted text, click to view]
AddThis Social Bookmark Button