vb.net Console.OutputEncoding = Unicode : IOException

  • Thread starter Thread starter lambertb
  • Start date Start date
L

lambertb

Hi folks,

I have an extremely complicated program consisting of 2 lines of codes
:

Imports System.Text.Encoding
Module Module1
Sub Main()
Console.OutputEncoding = Unicode
Console.Write(ChrW(System.Convert.ToInt32("4040", 16)))
End Sub
End Module

and it crashes at the first line :\ (Console.OutputEncoding = Unicode)

throwing an IOException :
IOException : The parameter is incorrect

wut's da prublem? ;_;
thanks!
ibiza
 
Back
Top