Skip to content


Subversion checkout URL

You can clone with
Download ZIP
UniversalDetector.framework for Mac OS X: auto-detection of character sets/text encodings
C++ C Objective-C Other
Branch: master
Pull request Compare This branch is 9 commits ahead, 1 commit behind JanX2:master.
Fetching latest commit...
Cannot retrieve the latest commit at this time.


This a branch-off of the UniversalDetector.framework source code taken from the Perian SVN using the following procedure:

git svn clone
clone --no-hardlinks trunk UniversalDetector
cd UniversalDetector
git filter-branch --subdirectory-filter UniversalDetector HEAD -- --all
git reset --hard
git gc --aggressive
git prune
git remote rm origin

The procedure above is based on
and keeps the history intact.

I have put this up with the intention of collecting the various efforts of maintaining of and changes to this framework's source code here on github. 

The core of the frameworks is the (LGPL) Mozilla automatic charset detection library. You can read more about it here:
Something went wrong with that request. Please try again.