Library used by ruxmms for autodetection of russian charset