Universal detector. An attempt to extend charset detection