• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Reading Middle Eastern Characters
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Reading Middle Eastern Characters


  • Subject: Re: Reading Middle Eastern Characters
  • From: Christopher Nebel <email@hidden>
  • Date: Tue, 7 Dec 2004 10:50:01 -0800

On Dec 7, 2004, at 1:46 AM, Elliotte Harold wrote:

Christopher Nebel wrote:

Correctly determining which of the dozens of conceivable text encodings a given hunk of data uses is essentially an AI-complete problem -- that is, you need human-level intelligence, and even most humans would have a hard time with some of the fringe cases.

Oh, I don't think it's nearly that hard. Simply spell check the source text against a variety of dictionaries in a variety of encodings and languages until you find one that matches. Cryptographers have been doing this for decades without solving the AI problem. They have all sorts of algorithms for determining whether a brute force description of a message with a particular key actually represents the clear text or random gibberish.

True, I overstated the problem -- the practical point is that for most projects, it's more trouble than it's worth. However, I'd point out that (as any good cryptanalyst can tell you) getting decent results presumes having a sufficiently large sample of ciphertext to chew on. Very small samples, such as filenames or volume names, can be problematic.



--Chris Nebel AppleScript Engineering _______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: Reading Middle Eastern Characters (From: Ferenc Farkas MÁTYÁS <email@hidden>)
 >Re: Reading Middle Eastern Characters (From: Christopher Nebel <email@hidden>)
 >Re: Reading Middle Eastern Characters (From: Elliotte Harold <email@hidden>)

  • Prev by Date: Re: [OT] Re: Smile and FruitMenu
  • Next by Date: error code 2 when renaming file
  • Previous by thread: Re: Reading Middle Eastern Characters
  • Next by thread: iTunes: changing song name
  • Index(es):
    • Date
    • Thread