On Thu, 10 Aug 2006, anil maran wrote: > how do u find out original encoding Read: http://www.joelonsoftware.com/articles/Unicode.html In short: there's no good, reliable way to guess the encoding. But there should be no need to guess: a proper document will have the encoding explicitely written in there.