fix: charset detect