[FIX] remove old magic's charset detection