UniversalDetector.framework for Mac OS X: auto-detection of character sets/text encodings