On 23-Apr-07, at 10:47 AM, [EMAIL PROTECTED] wrote: > On Apr 23, 2007, at 15:54 UTC, Norman Palardy wrote: > >> Now how can you GUESS what encoding an arbitrary text file is so you >> can read it properly ? > > You can apply more heuristics; the latest version of StringUtils has a > GuessEncoding method that does this for the major forms of Unicode, > but > doesn't go so far as to guess which legacy encoding it might be. > That's a hard problem.
Agreed. Best guess is all I could expect and if there's something in StringUtils then that will have to be "close enough" for most use _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
