Add main encoding detection functions