At 8:01 AM -0800 2/23/07, David Glass wrote:
>There's no reliable way to determine the encoding of a file when it 
>is read in (right?).

You either have to know apriori what encoding was used by the app 
that created the text, or you can make various levels of educated 
guesses depending on how much analysis you want to do on the text.

If the text could come from a variety of places and in a variety of 
encodings then you might provide your user with a popup menu of 
common encodings, display a sample of the text in the selected 
encoding and let the user choose the one that looks right.

Regards,
Joe Huber
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to