Support reading various encoding here too