System.Text.Encoding.Default ?

What does it mean when we use "System.Text.Encoding.Default" in

  Dim ffile As FileStream = File.Open(strFile, FileMode.OpenOrCreate, FileAccess.Read)
  Dim sr As New StreamReader(ffile) , System.Text.Encoding.Default)   < this line
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

cmrobertsonConnect With a Mentor Commented:
System.Text.Encoding.Default property corresponds to the system's current ANSI code page, this is important to ensure that your data is proprly decoded.
here is a link that explains the potential issues if you do not use correct decoding
All Courses

From novice to tech pro — start learning today.