This tutorial will cover basic detection routines and give you some sample code that you can use in your applications to (usually) detect what the file encoding is.
This article is a continuation of the article, Creating Text Files in ASP .NET. In this article, you will see read the text file which we created earlier.